mirror of
https://github.com/JakeHillion/drgn.git
synced 2024-12-24 18:03:07 +00:00
vmtest.config: add Arm definition
Signed-off-by: Omar Sandoval <osandov@osandov.com>
This commit is contained in:
parent
1a898961d7
commit
07b01acb7f
@ -221,6 +221,34 @@ ARCHITECTURES = {
|
||||
qemu_options=("-M", "virt", "-cpu", "cortex-a57"),
|
||||
qemu_console="ttyAMA0",
|
||||
),
|
||||
Architecture(
|
||||
name="arm",
|
||||
kernel_arch="arm",
|
||||
kernel_srcarch="arm",
|
||||
kernel_config="""
|
||||
CONFIG_NR_CPUS=8
|
||||
CONFIG_HIGHMEM=y
|
||||
# Debian armhf userspace assumes EABI and VFP.
|
||||
CONFIG_AEABI=y
|
||||
CONFIG_VFP=y
|
||||
CONFIG_ARCH_VIRT=y
|
||||
CONFIG_PCI_HOST_GENERIC=y
|
||||
CONFIG_RTC_CLASS=y
|
||||
CONFIG_RTC_DRV_PL031=y
|
||||
CONFIG_SERIAL_AMBA_PL011=y
|
||||
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
|
||||
# Before Linux kernel commit f05eb1d24eb5 ("ARM:
|
||||
# stackprotector: prefer compiler for TLS based per-task
|
||||
# protector") (in v5.18), this enables the
|
||||
# arm_ssp_per_task_plugin GCC plugin, which fails to build with
|
||||
# the kernel.org cross compiler.
|
||||
CONFIG_STACKPROTECTOR_PER_TASK=n
|
||||
""",
|
||||
kernel_flavor_configs={},
|
||||
kernel_org_compiler_name="arm-linux-gnueabi",
|
||||
qemu_options=("-M", "virt"),
|
||||
qemu_console="ttyAMA0",
|
||||
),
|
||||
Architecture(
|
||||
name="ppc64",
|
||||
kernel_arch="powerpc",
|
||||
|
Loading…
Reference in New Issue
Block a user