Changes

Jump to navigation Jump to search
34 bytes added ,  22:19, 21 May 2021
m
Detail remap_op flags
Line 1,083: Line 1,083:     
=== NVGPU_AS_IOCTL_REMAP ===
 
=== NVGPU_AS_IOCTL_REMAP ===
Nintendo's custom implementation of address space remapping.
+
Nintendo's custom implementation of address space remapping for sparse pages.
    
   struct remap_op {
 
   struct remap_op {
     __in u16 flags;                  // 0 or 4
+
     __in u16 flags;                  // bit2: cacheable
 
     __in u16 kind;           
 
     __in u16 kind;           
 
     __in u32 mem_handle;
 
     __in u32 mem_handle;
     __in u32 mem_offset_in_pages;
+
     __in u32 mem_offset_in_big_pages;
     __in u32 virt_offset_in_pages;    // (alloc_space_offset >> 0x10)
+
     __in u32 virt_offset_in_big_pages;    // (alloc_space_offset >> 0x10)
 
     __in u32 num_pages;              // alloc_space_pages
 
     __in u32 num_pages;              // alloc_space_pages
 
   };
 
   };
13

edits

Navigation menu