OSDN Git Service

target/arm: Make cpu_register() available for other files
authorThomas Huth <thuth@redhat.com>
Thu, 23 Apr 2020 07:33:55 +0000 (09:33 +0200)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 30 Apr 2020 14:35:41 +0000 (15:35 +0100)
commit37bcf244454f4efb82e2c0c64bbd7eabcc165a0c
tree0f74edef7fc3915da68f83c365c47f7db40983f2
parent9fb005b02dbda7f47b789b7f19bf5f73622a4756
target/arm: Make cpu_register() available for other files

Make cpu_register() (renamed to arm_cpu_register()) available
from internals.h so we can register CPUs also from other files
in the future.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200423073358.27155-3-philmd@redhat.com
Message-ID: <20190921150420.30743-2-thuth@redhat.com>
[PMD: Only take cpu_register() from Thomas's patch]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu-qom.h
target/arm/cpu.c
target/arm/cpu64.c