Skip to content

Commit d0126a0

Browse files
ZideChen0andrewboie
authored andcommitted
boards/x86/acrn: build it in x86_64 mode and switch to X2APIC
- added CONFIG_X86_64 since ACRN hypervisor supports x86_64 capable platforms only. - removed CONFIG_SET_GDT: Zephyr doesn't support it in x86_64, and ACRN doesn't require the guests to setup GDT during boot time. - added CONFIG_X2APIC, which is preferred by ACRN, which makes it possible to pass through local APIC to the guests. Signed-off-by: Zide Chen <[email protected]>
1 parent c698669 commit d0126a0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

boards/x86/acrn/Kconfig.board

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ config BOARD_ACRN
55
bool "ACRN User OS"
66
depends on SOC_IA32
77
select CPU_HAS_FPU
8-
select SET_GDT
8+
select X86_64

boards/x86/acrn/acrn_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CONFIG_BOARD_ACRN=y
55
CONFIG_PIC_DISABLE=y
66
CONFIG_LOAPIC=y
77
CONFIG_LOAPIC_TIMER=y
8+
CONFIG_X2APIC=y
89
CONFIG_CONSOLE=y
910
CONFIG_SERIAL=y
1011
CONFIG_UART_NS16550=y

0 commit comments

Comments
 (0)