Module arceos_api::config
source · Expand description
Platform-specific constants and parameters.
Constants§
- Architecture identifier.
- Platform family.
- Kernel address space base.
- Kernel address space size.
- Base physical address of the kernel image.
- Base virtual address of the kernel image.
- MMIO regions with format (
base_paddr
,size
). - End PCI bus number.
- Base physical address of the PCIe ECAM space (should read from ACPI ‘MCFG’ table).
- PCI device memory ranges (not used on x86).
- Offset of bus address and phys address. some boards, the bus address is different from the physical address.
- Base address of the whole physical memory.
- End address of the whole physical memory.
- Size of the whole physical memory.
- Linear mapping offset, for quick conversions between physical and virtual addresses.
- Platform identifier.
- Number of CPUs
- Stack size of each task.
- Number of timer ticks per second (Hz). A timer tick may contain several timer interrupts.
- Timer interrupt frequencyin Hz.
- VirtIO MMIO regions with format (
base_paddr
,size
).