This patch adds support for booting base-hw kernel on qemu-arm virt machines. The arm_virt machine has 2GB of RAM, 2 Cortex A15 cores and uses GICv2 interrupt controller. The arm_64_virt machine also has 2GB of RAM, but has 4 Cortex A53 cores and uses GICv3. Both machines use PSCI to boot additional CPU cores. Fixes #3673
15 lines
445 B
Makefile
15 lines
445 B
Makefile
INC_DIR += $(REP_DIR)/src/bootstrap/spec/virt_qemu_64
|
|
|
|
SRC_CC += bootstrap/spec/arm/gicv3.cc
|
|
SRC_CC += bootstrap/spec/arm_64/cortex_a53_mmu.cc
|
|
SRC_CC += bootstrap/spec/virt_qemu_64/platform.cc
|
|
SRC_CC += lib/base/arm_64/kernel/interface.cc
|
|
SRC_CC += spec/64bit/memory_map.cc
|
|
SRC_S += bootstrap/spec/arm_64/crt0.s
|
|
|
|
vpath spec/64bit/memory_map.cc $(BASE_DIR)/../base-hw/src/lib/hw
|
|
|
|
NR_OF_CPUS = 4
|
|
|
|
include $(REP_DIR)/lib/mk/bootstrap-hw.inc
|