Difference between revisions of "KMemoryBlock"

From 3dbrew
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
| 0x0
 
| 0x0
 
| void*
 
| void*
| Base address of memory block
+
| Base address of memory block.
 
|-
 
|-
 
| 0x4
 
| 0x4
| void*
+
| u32
| Size in pages
+
| Block size in pages.
 
|-
 
|-
 
| 0x8
 
| 0x8
| void*
+
| u32
| Memory block permissions
+
| Memory block permissions - rwx.
 
|-
 
|-
 
| 0xC
 
| 0xC
| void*
+
| u32
| Memory state bitflags
+
| Memory state bitflags - the lowest byte is the type of memory and the second byte is for specific properties of the block.
 
|-
 
|-
 
| 0x10
 
| 0x10

Latest revision as of 06:18, 23 March 2015


Size : 0x14 bytes

Offset Type Description
0x0 void* Base address of memory block.
0x4 u32 Block size in pages.
0x8 u32 Memory block permissions - rwx.
0xC u32 Memory state bitflags - the lowest byte is the type of memory and the second byte is for specific properties of the block.
0x10 u32 Zero