diff options
author | Thomas Huth <thuth@redhat.com> | 2023-04-24 18:04:33 +0200 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-05-16 09:14:18 +0200 |
commit | 1077f50b23065a1d07cbbc6bad1141d50a5d25b9 (patch) | |
tree | cf1aaacec7e201ba7002fa77805a6c51c6859f79 /include/hw | |
parent | 5503da4a0c9e7f6853a175f5e273897680cd12df (diff) | |
download | qemu-1077f50b23065a1d07cbbc6bad1141d50a5d25b9.zip qemu-1077f50b23065a1d07cbbc6bad1141d50a5d25b9.tar.gz qemu-1077f50b23065a1d07cbbc6bad1141d50a5d25b9.tar.bz2 |
cpu: Introduce a wrapper for being able to use TARGET_NAME in common code
In some spots, it would be helpful to be able to use TARGET_NAME
in common (target independent) code, too. Thus introduce a wrapper
that can be called from common code, too, just like we already
have one for target_words_bigendian().
Message-Id: <20230424160434.331175-3-thuth@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/core/cpu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 5a019a2..39150cf 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -1013,6 +1013,8 @@ void cpu_exec_unrealizefn(CPUState *cpu); */ bool target_words_bigendian(void); +const char *target_name(void); + void page_size_init(void); #ifdef NEED_CPU_H |