Module arceos_posix_api::config
source · Expand description
Platform-specific constants and parameters.
Constants
- Architecture identifier.
- Platform family.
- Base physical address of the kernel image.
- Base virtual address of the kernel image.
- MMIO regions with format (
base_paddr
,size
). - The size of a 4K page (4096 bytes).
- 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).
- 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.
- Maximum number of keys per thread.
- Number of CPUs
- Stack size of each task.
- task-stack-size = “0x80000” /// 512 K 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
).