|
IgrOS-Kernel 0.1.34.545
Simple C++20 Kernel for i386/x86_64
|
Physical memory allocator. More...
#include <arch/types.hpp>

Go to the source code of this file.
Classes | |
| class | igros::mem::phys |
| Physical page frame allocator. More... | |
Namespaces | |
| namespace | igros |
| IgrOS kernel: common types and literals. | |
| namespace | igros::multiboot |
| Multiboot 1 information passed by the bootloader. | |
| namespace | igros::mem |
| Memory management: physical page allocator, direct map, virtual addresses. | |
Typedefs | |
| using | igros::mem::phys_t = igros_quad_t |
| Physical address (64-bit: physical memory may lie above 4 GB). | |
Variables | |
| constexpr auto | igros::mem::PAGE_SHIFT {12_usize} |
| Page size bits. | |
| constexpr auto | igros::mem::PAGE_SIZE {1_usize << PAGE_SHIFT} |
| Page size in bytes. | |
| constexpr auto | igros::mem::LOW_MEMORY_LIMIT {0x400000_u64} |
| Physical memory mapped by boot code at kernel virtual offset (see boot.s). | |
| constexpr auto | igros::mem::LOW_MEMORY_RESERVED {0x100000_u64} |
| Physical memory never given out (BIOS, video memory, ROMs). | |
Physical memory allocator.
Definition in file phys.hpp.