diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-03-23 13:20:24 +0100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-30 12:51:51 -0700 |
| commit | c1be135ad5b124b08715ca836b95b738c6b9d7d4 (patch) | |
| tree | 07026164948adda25e6ba7467c523015159aa7a0 /include/qemu/target-info.h | |
| parent | b113dfa081a6a7e061551a70e6ede7af0941a845 (diff) | |
| download | focaccia-qemu-c1be135ad5b124b08715ca836b95b738c6b9d7d4.tar.gz focaccia-qemu-c1be135ad5b124b08715ca836b95b738c6b9d7d4.zip | |
qemu: Introduce target_long_bits()
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include/qemu/target-info.h')
| -rw-r--r-- | include/qemu/target-info.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/qemu/target-info.h b/include/qemu/target-info.h index 2b6ccabb11..850a2958b9 100644 --- a/include/qemu/target-info.h +++ b/include/qemu/target-info.h @@ -17,6 +17,13 @@ const char *target_name(void); /** + * target_long_bits: + * + * Returns: number of bits in a long type for this target (i.e. 64). + */ +unsigned target_long_bits(void); + +/** * target_machine_typename: * * Returns: Name of the QOM interface implemented by machines |