Changes

Jump to navigation Jump to search
144 bytes added ,  23:00, 7 April 2015
Line 1,021: Line 1,021:  
== struct CodeSetInfo ==
 
== struct CodeSetInfo ==
 
All addresses are given virtual for the process to be created.
 
All addresses are given virtual for the process to be created.
All sizes/offsets are in given in 0x1000-pages.
+
All sizes are given in 0x1000-pages.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 1,029: Line 1,029:  
| u8[8]
 
| u8[8]
 
| Codeset Name
 
| Codeset Name
 +
|-
 +
| u16
 +
| Unknown, this is written to field 0x5A of KCodeSet
 +
|-
 +
| u16
 +
| Unknown/padding
 +
|-
 +
| u32
 +
| Unknown/padding
 
|-
 
|-
 
| u32
 
| u32
Line 1,037: Line 1,046:  
|-
 
|-
 
| u32
 
| u32
| .rodata addr
+
| .rodata start
 
|-
 
|-
 
| u32
 
| u32
Line 1,043: Line 1,052:  
|-
 
|-
 
| u32
 
| u32
| .data addr
+
| RW addr (.data + .bss)
 
|-
 
|-
 
| u32
 
| u32
| .data size
+
| RW size (.data + .bss)
 
|-
 
|-
 
| u32
 
| u32
| .rodata offset
+
| Total .text pages
 
|-
 
|-
 
| u32
 
| u32
| .data offset
+
| Total .rodata pages
 
|-
 
|-
 
| u32
 
| u32
| .bss size + .data size
+
| Total RW pages (.data + .bss)
 +
|-
 +
| u32
 +
| Unknown/padding
 
|-
 
|-
 
| u8[8]
 
| u8[8]
 
| Program ID
 
| Program ID
|-
  −
| u32[2]
  −
| Unknown/padding
   
|}
 
|}
  

Navigation menu