Skip to content

Commit

Permalink
arm64/qemu: Add support for arm64 qemu's maximum feature cpu
Browse files Browse the repository at this point in the history
Signed-off-by: wangmingrong1 <[email protected]>
  • Loading branch information
W-M-R committed Nov 29, 2024
1 parent 0476895 commit f30a29e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions arch/arm64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,18 @@ config ARCH_CORTEX_R82
select ARCH_HAVE_TESTSET
select ARM64_HAVE_NEON

config ARCH_CPU_UNKNOWN
bool
default n
select ARCH_ARMV8A
select ARCH_HAVE_TRUSTZONE
select ARCH_DCACHE
select ARCH_ICACHE
select ARCH_HAVE_MMU
select ARCH_HAVE_FPU
select ARCH_HAVE_TESTSET
select ARM64_HAVE_NEON

config ARCH_FAMILY
string
default "armv8-a" if ARCH_ARMV8A
Expand Down
7 changes: 7 additions & 0 deletions arch/arm64/src/qemu/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ config ARCH_CHIP_QEMU_A72
select ARM64_HAVE_PSCI
select ARCH_CORTEX_A72

config ARCH_CHIP_QEMU_UNKNOWN
bool "Qemu virtual Processor (unknown CPU)"
select ARCH_HAVE_MULTICPU
select ARMV8A_HAVE_GICv3
select ARM64_HAVE_PSCI
select ARCH_CPU_UNKNOWN

endchoice # Qemu Chip Selection

config ARCH_CHIP_QEMU_WITH_HV
Expand Down

0 comments on commit f30a29e

Please sign in to comment.