NV services: Difference between revisions
Line 200: | Line 200: | ||
=== NVMAP_IOC_ALLOC === | === NVMAP_IOC_ALLOC === | ||
Allocate memory for the nvmap object. Nintendo extended this one with | Allocate memory for the nvmap object. Nintendo extended this one with 16 bytes, and changed it from in to inout. | ||
struct { | struct { | ||
u32 __handle; // in | u32 __handle; // in | ||
u32 __heapmask; // in | u32 __heapmask; // in | ||
u32 __flags; // in | u32 __flags; // in (0=read-only, 1=read-write) | ||
u32 __align; // in | u32 __align; // in | ||
u8 __unk0; // in | |||
u8 __pad[7]; | |||
u64 __addr; // in | |||
}; | }; | ||