NV services: Difference between revisions

No edit summary
ByLaws (talk | contribs)
m Update NVGPU_AS_IOCTL_REMAP with clearer info
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 {
Line 1,089: Line 1,089:
     __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
   };
   };