mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
qemu/target_info: Add target_aarch64() helper
Add a helper to distinct whether the binary is targetting Aarch64 or not. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Acked-by: Peter Maydell <peter.maydell@linaro.org> Message-Id: <20251021210144.58108-2-philmd@linaro.org>
This commit is contained in:
@@ -57,4 +57,11 @@ bool target_big_endian(void);
|
||||
*/
|
||||
bool target_arm(void);
|
||||
|
||||
/**
|
||||
* target_aarch64:
|
||||
*
|
||||
* Returns whether the target architecture is Aarch64.
|
||||
*/
|
||||
bool target_aarch64(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user