KCodeSet: Difference between revisions

Bond697 (talk | contribs)
No edit summary
Neobrain (talk | contribs)
No edit summary
Line 12: Line 12:
|-
|-
| 0x0
| 0x0
| u32
| [[KAutoObject]]
| Pointer to vtable
| Base object
|-
| 0x4
| u32
| Reference count
|-
|-
| 0x8
| 0x8
Line 60: Line 56:
|}
|}


Memory section info struct :
Sections too large to fit into any available memory blocks will be split across multiple memory blocks with a KBlockInfo class for each. This is described by the memory section info struct:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 76: Line 72:
|-
|-
| 0x8
| 0x8
| u32
| [[KLinkedList]]
| KBlockInfo count for section
| List of KBlockInfo objects for this section  
|-
| 0xC
| u32
| Pointer to KLinkedListNode that holds a pointer to the first KBlockInfo object for that section
|-
| 0x10
| u32
| Pointer to KLinkedListNode that holds a pointer to the last KBlockInfo object for that section
|}
|}
Sections where there isn't a large enough memory block available will be split into  with multiple memory blocks with a KBlockInfo class for each.