]> git.proxmox.com Git - mirror_qemu.git/commit - include/hw/core/cpu.h
cpu: Introduce a wrapper for being able to use TARGET_NAME in common code
authorThomas Huth <thuth@redhat.com>
Mon, 24 Apr 2023 16:04:33 +0000 (18:04 +0200)
committerThomas Huth <thuth@redhat.com>
Tue, 16 May 2023 07:14:18 +0000 (09:14 +0200)
commit1077f50b23065a1d07cbbc6bad1141d50a5d25b9
treecf1aaacec7e201ba7002fa77805a6c51c6859f79
parent5503da4a0c9e7f6853a175f5e273897680cd12df
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>
cpu.c
include/hw/core/cpu.h