diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2025-04-29 20:18:03 +0200 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2025-04-30 12:51:51 -0700 |
| commit | b113dfa081a6a7e061551a70e6ede7af0941a845 (patch) | |
| tree | 1398a750b534b329320256532be352b9877a79d3 /target-info-stub.c | |
| parent | 28502121be7b1422af55bbed6f65a273b889ef01 (diff) | |
| download | focaccia-qemu-b113dfa081a6a7e061551a70e6ede7af0941a845.tar.gz focaccia-qemu-b113dfa081a6a7e061551a70e6ede7af0941a845.zip | |
qemu/target_info: Add %target_cpu_type field to TargetInfo
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'target-info-stub.c')
| -rw-r--r-- | target-info-stub.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/target-info-stub.c b/target-info-stub.c index bcf834f71d..86da297277 100644 --- a/target-info-stub.c +++ b/target-info-stub.c @@ -14,6 +14,7 @@ static const TargetInfo target_info_stub = { .target_name = TARGET_NAME, + .cpu_type = CPU_RESOLVING_TYPE, .machine_typename = TYPE_MACHINE, }; @@ -21,8 +22,3 @@ const TargetInfo *target_info(void) { return &target_info_stub; } - -const char *target_cpu_type(void) -{ - return CPU_RESOLVING_TYPE; -} |