Line 108: |
Line 108: |
| | 4 | | | 4 |
| | .init_array end offset | | | .init_array end offset |
| + | |- |
| + | |} |
| + | |
| + | === KInitialPageAllocator === |
| + | KInitialPageAllocator is just a simple linear allocator. |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 8 |
| + | | vtable; |
| + | |- |
| + | | 0x8 |
| + | | 8 |
| + | | Next Address; |
| + | |- |
| + | |} |
| + | |
| + | ==== KInitialPageAllocator::vtable ==== |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset |
| + | ! Size |
| + | ! Description |
| + | |- |
| + | | 0x0 |
| + | | 8 |
| + | | void *(*Allocate)(KInitialPageAllocator *this); |
| + | |- |
| + | | 0x8 |
| + | | 8 |
| + | | void (*Free)(KInitialPageAllocator *this, void *address); |
| |- | | |- |
| |} | | |} |