summaryrefslogtreecommitdiff
path: root/roms/edk2-funcs.sh
diff options
context:
space:
mode:
authorGan Qixin <ganqixin@huawei.com>2021-01-15 15:56:56 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-21 13:00:41 +0100
commitacd15fc2e83ca224cbff3f3548630e67122bfdcd (patch)
tree4e4e26a138344ca9460133d6ab6fd3c2094ff6cb /roms/edk2-funcs.sh
parent23a77b2d18b84e410478e88f11c54911f7a649fc (diff)
downloadqemu-acd15fc2e83ca224cbff3f3548630e67122bfdcd.zip
util/cacheflush: Fix error generated by clang
When compiling qemu-fuzz-i386 on aarch64 host, clang reported the following error: ../util/cacheflush.c:38:44: error: value size does not match register size specified by the constraint and modifier [-Werror,-Wasm-operand-widths] asm volatile("mrs\t%0, ctr_el0" : "=r"(save_ctr_el0)); ^ ../util/cacheflush.c:38:24: note: use constraint modifier "w" asm volatile("mrs\t%0, ctr_el0" : "=r"(save_ctr_el0)); ^~ %w0 Modify the type of save_ctr_el0 to uint64_t to fix it. Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Gan Qixin <ganqixin@huawei.com> Message-Id: <20210115075656.717957-1-ganqixin@huawei.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'roms/edk2-funcs.sh')
0 files changed, 0 insertions, 0 deletions