QEMU With E2K User Support
Go to file
Stefan Weil 1b7621ad99 w64: Fix TCG helper functions with 5 arguments
TCG uses 6 registers for function arguments on 64 bit Linux hosts,
but only 4 registers on W64 hosts.

Commit 2999a0b200 increased the number
of arguments for some important helper functions from 4 to 5
which triggered a bug for W64 hosts: QEMU aborts when executing
helper_lcall_real in the guest's BIOS because function
tcg_target_get_call_iarg_regs_count always returned 6.

As W64 has only 4 registers for arguments, the 5th argument must be
passed on the stack using a correct stack offset.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2012-09-22 15:10:22 +02:00
audio
block vdi: Fix warning from clang 2012-09-12 15:50:09 +02:00
bsd-user
default-configs
docs Spelling fixes in comments and documentation 2012-09-14 08:21:28 +01:00
fpu
fsdev
gdb-xml
hw Merge branch 'usb.65' of git://git.kraxel.org/qemu 2012-09-21 19:53:26 +02:00
include/qemu
libcacard
linux-headers
linux-user linux-user: Remove #if 0'd cpu_get_real_ticks() definition 2012-09-14 08:21:28 +01:00
net net: EAGAIN handling for net/socket.c TCP 2012-09-14 08:40:33 +01:00
pc-bios
qapi
qga
QMP
qom
roms
scripts update-linux-headers.sh: Don't hard code list of architectures 2012-09-11 18:14:49 -03:00
slirp slirp: Implement TFTP Blocksize option 2012-09-14 00:26:55 +02:00
sysconfigs/target
target-alpha target-alpha: Use movcond 2012-09-21 19:53:17 +02:00
target-arm target-arm: final conversion to AREG0 free mode 2012-09-15 17:44:32 +00:00
target-cris target-cris: Switch to AREG0 free mode 2012-09-15 17:44:33 +00:00
target-i386
target-lm32 target-lm32: switch to AREG0 free mode 2012-09-15 17:44:32 +00:00
target-m68k Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
target-microblaze target-microblaze: switch to AREG0 free mode 2012-09-15 17:44:33 +00:00
target-mips target-mips: Implement Loongson Multimedia Instructions 2012-09-19 21:40:48 +02:00
target-openrisc
target-ppc
target-s390x target-s390x: avoid cpu_single_env 2012-09-15 17:44:32 +00:00
target-sh4 target-sh4: remove useless code 2012-09-21 19:53:16 +02:00
target-sparc Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
target-unicore32 target-unicore32: switch to AREG0 free mode 2012-09-15 17:44:32 +00:00
target-xtensa target-xtensa: don't emit extra tcg_gen_goto_tb 2012-09-21 03:07:27 +04:00
tcg w64: Fix TCG helper functions with 5 arguments 2012-09-22 15:10:22 +02:00
tests
trace
ui Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-17 10:21:42 -05:00
.exrc
.gitignore
.gitmodules
.mailmap
a.out.h
acl.c
acl.h
aes.c
aes.h
aio.c
alpha-dis.c
alpha.ld
arch_init.c arch_init.c: Improve '-soundhw help' for non-HAS_AUDIO_CHOICE archs 2012-09-19 17:55:08 +04:00
arch_init.h
arm-dis.c
arm.ld
async.c
balloon.c
balloon.h
bitmap.c
bitmap.h
bitops.c
bitops.h
block_int.h
block-migration.c
block-migration.h
block.c block: Don't forget to delete temporary file 2012-09-12 15:50:09 +02:00
block.h
blockdev.c
blockdev.h
bswap.h
bt-host.c
bt-host.h
bt-vhci.c
buffered_file.c
buffered_file.h
cache-utils.c
cache-utils.h
Changelog
cmd.c
cmd.h
CODING_STYLE
compatfd.c
compatfd.h
compiler.h
config.h
configure Merge branch 'usb.65' of git://git.kraxel.org/qemu 2012-09-21 19:53:26 +02:00
console.c console: Clean up bytes per pixel calculation 2012-09-14 08:21:29 +01:00
console.h
COPYING
COPYING.LIB
coroutine-gthread.c
coroutine-sigaltstack.c
coroutine-ucontext.c
coroutine-win32.c
cpu-all.h Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
cpu-common.h
cpu-defs.h
cpu-exec.c
cpus.c
cpus.h
cputlb.c Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
cputlb.h
cris-dis.c
cursor_hidden.xpm
cursor_left_ptr.xpm
cursor.c
cutils.c
def-helper.h tcg: Fix MAX_OPC_PARAM_IARGS 2012-09-15 15:34:27 +00:00
device_tree.c
device_tree.h
dis-asm.h
disas.c
disas.h
dma-helpers.c
dma.h
dump-stub.c
dump.c
dump.h
elf.h
envlist.c
envlist.h
error.c
error.h
event_notifier.c
event_notifier.h
exec-all.h Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
exec-memory.h
exec-obsolete.h
exec.c cpu_physical_memory_write_rom() needs to do TB invalidates 2012-09-17 10:18:48 -05:00
gdbstub.c gdbstub/sh4: fix build with USE_SOFTFLOAT_STRUCT_TYPES 2012-09-21 19:53:17 +02:00
gdbstub.h
gen-icount.h
HACKING
hmp-commands.hx
hmp.c
hmp.h
host-utils.c
host-utils.h
hppa-dis.c
hppa.ld
i386-dis.c
i386.ld
ia64-dis.c
ia64.ld
input.c
int128.h
iohandler.c qemu-char: BUGFIX, don't call FD_ISSET with negative fd 2012-09-17 10:18:48 -05:00
ioport.c
ioport.h
iorange.h
iov.c
iov.h
json-lexer.c
json-lexer.h
json-parser.c
json-parser.h
json-streamer.c
json-streamer.h
kvm-all.c Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-17 10:21:42 -05:00
kvm-stub.c
kvm.h
libfdt_env.h
LICENSE
linux-aio.c
lm32-dis.c
m68k-dis.c
m68k.ld
main-loop.c
main-loop.h
MAINTAINERS
Makefile qemu-img: Add json output option to the info command. 2012-09-12 15:50:09 +02:00
Makefile.dis
Makefile.hw
Makefile.objs
Makefile.target Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
Makefile.user
memory_mapping-stub.c Fix some more license versions (GPL2+ instead of GPL2) 2012-06-11 22:20:21 +02:00
memory_mapping.c
memory_mapping.h
memory.c memory: Flush coalesced MMIO on mapping and state changes 2012-09-11 18:15:34 -03:00
memory.h Merge remote-tracking branch 'stefanha/trivial-patches' into staging 2012-09-17 10:21:42 -05:00
microblaze-dis.c
migration-exec.c
migration-fd.c
migration-tcp.c
migration-unix.c
migration.c
migration.h
mips-dis.c
mips.ld
module.c
module.h
monitor.c
monitor.h
nbd.c
nbd.h
net.c net: add receive_disabled logic to iov delivery path 2012-09-14 08:40:32 +01:00
net.h
notify.c
notify.h
os-posix.c
os-win32.c
osdep.c
osdep.h
oslib-posix.c
oslib-win32.c
page_cache.c
path.c
pci-ids.txt
pflib.c
pflib.h
poison.h
posix-aio-compat.c
ppc64.ld
ppc-dis.c
ppc.ld
qapi-schema-guest.json qapi: Fix enumeration typo error 2012-09-14 08:21:29 +01:00
qapi-schema-test.json
qapi-schema.json Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-09-17 10:23:15 -05:00
qbool.c
qbool.h
qdict-test-data.txt
qdict.c
qdict.h
qemu_socket.h
qemu-aio.h
qemu-barrier.h
qemu-bridge-helper.c
qemu-char.c qemu-char: BUGFIX, don't call FD_ISSET with negative fd 2012-09-17 10:18:48 -05:00
qemu-char.h
qemu-common.h
qemu-config.c add -machine mem-merge=on|off option 2012-09-17 10:18:47 -05:00
qemu-config.h
qemu-coroutine-int.h
qemu-coroutine-io.c
qemu-coroutine-lock.c
qemu-coroutine-sleep.c
qemu-coroutine.c
qemu-coroutine.h
qemu-doc.texi
qemu-error.c
qemu-error.h
qemu-file.h
qemu-ga.c
qemu-img-cmds.hx qemu-img: Add json output option to the info command. 2012-09-12 15:50:09 +02:00
qemu-img.c Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-09-17 10:23:15 -05:00
qemu-img.texi Merge remote-tracking branch 'kwolf/for-anthony' into staging 2012-09-17 10:23:15 -05:00
qemu-io.c
qemu-lock.h
qemu-log.c
qemu-log.h
qemu-nbd.c
qemu-nbd.texi
qemu-objects.h
qemu-option-internal.h
qemu-option.c
qemu-option.h
qemu-options-wrapper.h
qemu-options.h
qemu-options.hx Merge remote-tracking branch 'stefanha/net' into staging 2012-09-17 10:20:48 -05:00
qemu-os-posix.h
qemu-os-win32.h
qemu-progress.c
qemu-queue.h
qemu-seccomp.c
qemu-seccomp.h
qemu-sockets.c
qemu-tech.texi
qemu-thread-posix.c
qemu-thread-posix.h
qemu-thread-win32.c
qemu-thread-win32.h
qemu-thread.h
qemu-timer-common.c
qemu-timer.c
qemu-timer.h
qemu-tls.h
qemu-tool.c
qemu-user.c
qemu-x509.h
qemu-xattr.h
qemu.sasl
qerror.c
qerror.h
qfloat.c
qfloat.h
qint.c
qint.h
qjson.c
qjson.h
qlist.c
qlist.h
qmp-commands.hx
qmp.c
qobject.h
qstring.c
qstring.h
qtest.c
qtest.h
range.h
readline.c
readline.h
README
rules.mak
s390-dis.c
s390.ld
savevm.c
sh4-dis.c
softmmu_defs.h Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
softmmu_exec.h
softmmu_header.h Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
softmmu_template.h Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
softmmu-semi.h
sparc64.ld
sparc-dis.c
sparc.ld
spice-qemu-char.c
sysemu.h
targphys.h
tcg-runtime.c
tci-dis.c
tci.c Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
thunk.c
thunk.h
TODO
trace-events Merge branch 'usb.65' of git://git.kraxel.org/qemu 2012-09-21 19:53:26 +02:00
translate-all.c
uboot_image.h
user-exec.c Remove unused CONFIG_TCG_PASS_AREG0 and dead code 2012-09-15 17:51:14 +00:00
VERSION
version.rc
vgafont.h
vl.c
vmstate.h
x86_64.ld
xen-all.c
xen-mapcache.c
xen-mapcache.h
xen-stub.c

Read the documentation in qemu-doc.html or on http://wiki.qemu.org

- QEMU team