mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-07 01:51:17 -04:00
exosphere: Add support for AMS SMC extensions
This commit is contained in:
parent
c42fc16d8e
commit
add52b90c9
4 changed files with 103 additions and 9 deletions
|
@ -19,8 +19,19 @@
|
|||
|
||||
#include <stdint.h>
|
||||
|
||||
#define SMC_HANDLER_USER 0
|
||||
#define SMC_HANDLER_PRIV 1
|
||||
#define SMC_HANDLER_USER 0
|
||||
#define SMC_HANDLER_PRIV 1
|
||||
#define SMC_HANDLER_COUNT 2
|
||||
|
||||
#define SMC_HANDLER_AMS (SMC_HANDLER_COUNT)
|
||||
|
||||
#define SMC_CALL_RANGE_ARM_ARCH 0
|
||||
#define SMC_CALL_RANGE_CPU 1
|
||||
#define SMC_CALL_RANGE_SIP 2
|
||||
#define SMC_CALL_RANGE_OEM 3
|
||||
#define SMC_CALL_RANGE_STANDARD 4
|
||||
|
||||
#define SMC_CALL_RANGE_TRUSTED_APP 0x30
|
||||
|
||||
typedef struct {
|
||||
uint64_t X[8];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue