mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-29 14:05:17 -04:00
kern: mostly kill magic numbers in assembly, fix SVCs >= 0x80
This commit is contained in:
parent
9e563d590b
commit
037b04ac60
15 changed files with 747 additions and 504 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
namespace ams::kern::svc {
|
||||
|
||||
static constexpr size_t NumSupervisorCalls = 0xC0;
|
||||
static constexpr size_t NumSupervisorCalls = AMS_KERN_NUM_SUPERVISOR_CALLS;
|
||||
|
||||
#define AMS_KERN_SVC_DECLARE_ENUM_ID(ID, RETURN_TYPE, NAME, ...) \
|
||||
SvcId_##NAME = ID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue