mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
util: Add cpuinfo-aarch64.c
Move the code from tcg/. The only use of these bits so far is with respect to the atomicity of tcg operations. Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
b5c0d842d6
commit
0dd0c7fa20
5 changed files with 96 additions and 43 deletions
|
@ -109,6 +109,8 @@ if have_block
|
|||
util_ss.add(when: 'CONFIG_LINUX', if_true: files('vfio-helpers.c'))
|
||||
endif
|
||||
|
||||
if cpu in ['x86', 'x86_64']
|
||||
if cpu == 'aarch64'
|
||||
util_ss.add(files('cpuinfo-aarch64.c'))
|
||||
elif cpu in ['x86', 'x86_64']
|
||||
util_ss.add(files('cpuinfo-i386.c'))
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue