aboutsummaryrefslogtreecommitdiff
path: root/hw/riscv/meson.build
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-05-29 13:26:22 +0530
committerAlistair Francis <alistair.francis@wdc.com>2020-08-25 09:11:35 -0700
commit83fcaefd9d52670d71e1705b13d3df02d8ee4566 (patch)
treeba8abf5815450bf4eeb6ae7d77bc7e82a3f62f10 /hw/riscv/meson.build
parentc9270e10a5e3aa18a55bb5c115ae7838c8c43e41 (diff)
downloadqemu-83fcaefd9d52670d71e1705b13d3df02d8ee4566.zip
qemu-83fcaefd9d52670d71e1705b13d3df02d8ee4566.tar.gz
qemu-83fcaefd9d52670d71e1705b13d3df02d8ee4566.tar.bz2
hw/riscv: Add helpers for RISC-V multi-socket NUMA machines
We add common helper routines which can be shared by RISC-V multi-socket NUMA machines. We have two types of helpers: 1. riscv_socket_xyz() - These helper assist managing multiple sockets irrespective whether QEMU NUMA is enabled/disabled 2. riscv_numa_xyz() - These helpers assist in providing necessary QEMU machine callbacks for QEMU NUMA emulation Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Message-Id: <20200616032229.766089-4-anup.patel@wdc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw/riscv/meson.build')
-rw-r--r--hw/riscv/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/riscv/meson.build b/hw/riscv/meson.build
index 2de8e5a..25af9db 100644
--- a/hw/riscv/meson.build
+++ b/hw/riscv/meson.build
@@ -1,5 +1,6 @@
riscv_ss = ss.source_set()
riscv_ss.add(files('boot.c'))
+riscv_ss.add(files('numa.c'))
riscv_ss.add(when: 'CONFIG_HART', if_true: files('riscv_hart.c'))
riscv_ss.add(when: 'CONFIG_OPENTITAN', if_true: files('opentitan.c'))
riscv_ss.add(when: 'CONFIG_RISCV_VIRT', if_true: files('virt.c'))