Module plat

Source
Expand description

Platform configs

Constants§

KERNEL_ASPACE_BASE
Kernel address space base.
KERNEL_ASPACE_SIZE
Kernel address space size.
KERNEL_BASE_PADDR
Base physical address of the kernel image.
KERNEL_BASE_VADDR
Base virtual address of the kernel image.
MAX_CPU_NUM
Platform family. Maximum number of CPUs. For platforms that do not support runtime CPU number detection, it’s also the number of CPUs to boot.
PHYS_BUS_OFFSET
Offset of bus address and phys address. some boards, the bus address is different from the physical address.
PHYS_MEMORY_BASE
Base address of the whole physical memory.
PHYS_MEMORY_END
End address of the whole physical memory.
PHYS_MEMORY_SIZE
Size of the whole physical memory.
PHYS_VIRT_OFFSET
Linear mapping offset, for quick conversions between physical and virtual addresses.