Package2: Difference between revisions
No edit summary |
Finish documenting the KIP1 info |
||
Line 157: | Line 157: | ||
| 0xC | | 0xC | ||
| u32 | | u32 | ||
| | | Padding (zero) | ||
|} | |} | ||
Line 183: | Line 183: | ||
| 0x18 | | 0x18 | ||
| u32 | | u32 | ||
| | | KProcess+0x280 | ||
|- | |- | ||
| 0x1C | | 0x1C | ||
| | | u8 | ||
| Flags | | Main thread priority | ||
|- | |||
| 0x1D | |||
| u8 | |||
| Default CPU core | |||
|- | |||
| 0x1E | |||
| u8 | |||
| Reserved (unused) | |||
|- | |||
| 0x1F | |||
| u8 | |||
| Flags: bit0-2: compression-enable for each section, when set. Bit3: Is64Bit. Bit4: IsAddrSpace36Bit. Bit5-7: reserved (unused) | |||
|- | |- | ||
| 0x20 | | 0x20 | ||
| [[#SectionHeader]][ | | [[#SectionHeader]][6] | ||
| Sections | | Sections: .text, .rodata, .data, .bss and three reserved (ignored) sections. | ||
|- | |- | ||
| | | 0x80 | ||
| u64[0x20] | | u64[0x20] | ||
| KernelCaps | | KernelCaps | ||
Line 223: | Line 231: | ||
| 0xC | | 0xC | ||
| u32 | | u32 | ||
| | | Attribute: the size of the main thread's stack for .rodata, reserved otherwise. | ||
|} | |} | ||
Compressed size can be 0 or lower than exepected, this is the case for BSS for example. | |||
===== Compression ===== | ===== Compression ===== |