KCodeSet: Difference between revisions
No edit summary  | 
				No edit summary  | 
				||
| Line 20: | Line 20: | ||
|-  | |-  | ||
| 0x8  | | 0x8  | ||
|   | | KCodeSetMemDescriptor  | ||
| Memory section info for .text  | | Memory section info for .text  | ||
|-  | |-  | ||
| 0x1C  | | 0x1C  | ||
|   | | KCodeSetMemDescriptor  | ||
| Memory section info for .rodata  | | Memory section info for .rodata  | ||
|-  | |-  | ||
| 0x30  | | 0x30  | ||
|   | | KCodeSetMemDescriptor  | ||
| Memory section info for .data  | | Memory section info for .data  | ||
|-  | |-  | ||
| Line 59: | Line 59: | ||
| TitleID  | | TitleID  | ||
|}  | |}  | ||
=KCodeSetMemDescriptor=  | |||
Sections too large to fit into any available memory blocks will be split across multiple memory blocks with a [[KBlockInfo]] instance for each. This is described by the memory section info struct:  | Sections too large to fit into any available memory blocks will be split across multiple memory blocks with a [[KBlockInfo]] instance for each. This is described by the memory section info struct:  | ||
| Line 76: | Line 79: | ||
|-  | |-  | ||
| 0x8  | | 0x8  | ||
| [[  | | u32  | ||
|   | | [[KBlockInfo]] count   | ||
|-  | |||
| 0xC  | |||
| [[KLinkedListNode]]*  | |||
| Pointer to first KLinkedListNode in the list of objects  | |||
|-  | |||
| 0x10  | |||
| [[KLinkedListNode]]*  | |||
| Pointer to last KLinkedListNode in the list of objects  | |||
|}  | |}  | ||