|
ginnOS
The reference: libc, the libraries and the kernel
|
Functions | |
| uint32_t | boot_video_modes (const boot_video_mode_t **modes) |
| the x86_64 boot: read the limine boot protocol responses into a boot_info_t, then call kernel_main. | |
| uint32_t boot_video_modes | ( | const boot_video_mode_t ** | modes | ) |
the x86_64 boot: read the limine boot protocol responses into a boot_info_t, then call kernel_main.
the list of modes.
the kernel puts requests in its image (section .limine_requests, between a start and an end marker). limine finds them before it starts the kernel and writes a pointer to a response into each one it can answer. all pointers in the responses are HHDM addresses (physical + KERNEL_VIRT_BASE). the responses are in bootloader-reclaimable memory, which the PMM does not use, but the kernel copies what it needs anyway.
the request layout is from the limine protocol specification (PROTOCOL.md, base revision 6).
the x86_64 boot: read the limine boot protocol responses into a boot_info_t, then call kernel_main.
| modes | receives a pointer to the first mode. |