diff --git a/nx/include/switch/kernel/svc.h b/nx/include/switch/kernel/svc.h index 6838daee..27d0d361 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -96,6 +96,13 @@ typedef struct { u32 padding; ///< Padding. } MemoryInfo; +/// Physical memory information structure. +typedef struct { + u64 physical_address; ///< Physical address. + u64 virtual_address; ///< Virtual address. + u64 size; ///< Size. +} PhysicalMemoryInfo; + /// Secure monitor arguments. typedef struct { u64 X[8]; ///< Values of X0 through X7. @@ -118,6 +125,12 @@ typedef enum { LimitableResource_Sessions=4, ///