mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
target/arm: Expose arm_cpu_mp_affinity() in 'multiprocessing.h' header
Declare arm_cpu_mp_affinity() prototype in the new "target/arm/multiprocessing.h" header so units in hw/arm/ can use it without having to include the huge target-specific "cpu.h". File list to include the new header generated using: $ git grep -lw arm_cpu_mp_affinity Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20240118200643.29037-11-philmd@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
c4380f7bcd
commit
e2d8cf9b53
10 changed files with 29 additions and 5 deletions
16
target/arm/multiprocessing.h
Normal file
16
target/arm/multiprocessing.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* ARM multiprocessor CPU helpers
|
||||
*
|
||||
* Copyright (c) 2003 Fabrice Bellard
|
||||
*
|
||||
* SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
*/
|
||||
|
||||
#ifndef TARGET_ARM_MULTIPROCESSING_H
|
||||
#define TARGET_ARM_MULTIPROCESSING_H
|
||||
|
||||
#include "target/arm/cpu-qom.h"
|
||||
|
||||
uint64_t arm_cpu_mp_affinity(ARMCPU *cpu);
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue