|
Kernelite 0.1.0
Kernelite is a minimalist, educational operating system kernel built from scratch. The project aims to recreate core components of the Linux architecture to explore the fundamentals of operating system design and hardware-software interaction.
|
Symbol definitions from the linker script. More...
#include "mem_layout/mem_layout.h"#include "page_table/page_table.h"#include <stddef.h>#include <stdint.h>

Go to the source code of this file.
Functions | |
| static size_t | get_image_size (void) |
| Return the size of the linked image in bytes. | |
| static phy_addr | get_id_map_region_start (void) |
| Return the start of the identity-map memory region. | |
| static page_table_t * | get_id_map_root (void) |
| Return the root of the id map. | |
| static page_table_t * | get_kernel_map_root (void) |
| Return the root of the kernel map. | |
Symbol definitions from the linker script.
Declares the linker-provided symbols used by the kernel to locate the image bounds, zero page allocator bitmap, and other layout metadata.
|
inlinestatic |
Return the start of the identity-map memory region.
|
inlinestatic |
Return the root of the id map.
|
inlinestatic |
Return the size of the linked image in bytes.
Uses the linker-provided image_start and image_end symbols injected by the linker script to compute the kernel image size.
|
inlinestatic |
Return the root of the kernel map.