mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-24 04:55:38 +00:00
008a235b5e
The C store helper functions take the address argument as a target_ulong type; if this is 32 bit but the host is 64 bit then the SPARC calling convention requires that the caller must zero extend the value. We weren't doing this, which meant we could pass values to the caller with high bits set and QEMU would crash if it was compiled with optimizations. In particular, the i386 BIOS would not start. Backports commit 5c32be5baf41aec4f4675d2bf24f9948756abf3c from qemu |
||
---|---|---|
.. | ||
tcg-target.h | ||
tcg-target.inc.c |