sdk/emulator/qemu.git
15 years agoRemove NICInfo from e1000 and mipsnet state (Mark McLoughlin)
aliguori [Fri, 17 Apr 2009 17:10:56 +0000 (17:10 +0000)]
Remove NICInfo from e1000 and mipsnet state (Mark McLoughlin)

NICInfo isn't used after initialization, so remove it from the driver
state structures.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7147 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRemove some useless malloc() checking (Mark McLoughlin)
aliguori [Fri, 17 Apr 2009 17:10:51 +0000 (17:10 +0000)]
Remove some useless malloc() checking (Mark McLoughlin)

Now that we abort() on malloc, neither qemu_find_vlan() nor
net_tap_fd_init() can fail.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7146 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoDon't fail PCI hotplug if no NIC model is supplied (Mark McLoughlin)
aliguori [Fri, 17 Apr 2009 17:10:47 +0000 (17:10 +0000)]
Don't fail PCI hotplug if no NIC model is supplied (Mark McLoughlin)

It's perfectly fine to not supply a NIC model when adding
a new NIC - we supply the default model to pci_nic_init()
and it uses that if one wasn't explicitly supplied.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7145 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix error handling in net_client_init() (Mark McLoughlin)
aliguori [Fri, 17 Apr 2009 17:10:43 +0000 (17:10 +0000)]
Fix error handling in net_client_init() (Mark McLoughlin)

We weren't freeing the name string everywhere.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7144 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agostruct iovec is now universally available (Mark McLoughlin)
aliguori [Fri, 17 Apr 2009 17:10:39 +0000 (17:10 +0000)]
struct iovec is now universally available (Mark McLoughlin)

struct iovec is now defined in qemu-common.h if needed, so we don't need
the tap code to handle !defined(HAVE_IOVEC).

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7143 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRemove stray GSO code from virtio_net (Mark McLoughlin)
aliguori [Fri, 17 Apr 2009 17:10:34 +0000 (17:10 +0000)]
Remove stray GSO code from virtio_net (Mark McLoughlin)

Obviously merged from kvm-userspace accidentally.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7142 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agovga: Cleanup dirty logging (Jan Kiszka)
aliguori [Fri, 17 Apr 2009 14:26:41 +0000 (14:26 +0000)]
vga: Cleanup dirty logging (Jan Kiszka)

In theory, there are no more quirks in the KVM slot management that
requires dirty log start/stop all over the place. We just have to start
the logging each time the mapping may have changed. This patch drops
vga_dirty_log_stop for both standard and cirrus VGA. It also reverts
#6851 as it was obviously a tribute to the old slot system.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7141 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agovga: Fix inconsistent tracking of map_addr (Jan Kiszka)
aliguori [Fri, 17 Apr 2009 14:26:37 +0000 (14:26 +0000)]
vga: Fix inconsistent tracking of map_addr (Jan Kiszka)

Only track video RAM mapping in map_addr and use the correct RAM size.
Furthermore, make sure the reset the address in case unmapping took
place via PCI reconfiguration.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7140 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agokvm: improve handling of overlapping slots (Jan Kiszka)
aliguori [Fri, 17 Apr 2009 14:26:33 +0000 (14:26 +0000)]
kvm: improve handling of overlapping slots (Jan Kiszka)

This reworks the slot management to handle more patterns of
cpu_register_physical_memory*, finally allowing to reset KVM guests (so
far address remapping on reset broke the slot management).

We could actually handle all possible ones without failing, but a KVM
kernel bug in older versions would force us to track all previous
fragmentations and maintain them (as that bug prevents registering
larger slots that overlap also deleted ones). To remain backward
compatible but avoid overly complicated workarounds, we apply a simpler
workaround that covers all currently used patterns.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7139 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agokvm: Add sanity checks to slot management (Jan Kiszka)
aliguori [Fri, 17 Apr 2009 14:26:29 +0000 (14:26 +0000)]
kvm: Add sanity checks to slot management (Jan Kiszka)

Fail loudly if we run out of memory slot.

Make sure that dirty log start/stop works with consistent memory regions
by reporting invalid parameters. This reveals several inconsistencies in
the vga code, patch to fix them follows later in this series.

And, for simplicity reasons, also catch and report unaligned memory
regions passed to kvm_set_phys_mem (KVM works on page basis).

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7138 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agokvm: Cleanup unmap condition in kvm_set_phys_mem (Jan Kiszka)
aliguori [Fri, 17 Apr 2009 14:26:25 +0000 (14:26 +0000)]
kvm: Cleanup unmap condition in kvm_set_phys_mem (Jan Kiszka)

Testing for TLB_MMIO on unmap makes no sense as A) that flag belongs to
CPUTLBEntry and not to io_memory slots or physical addresses and B) we
already use a different condition before mapping. So make this test
consistent.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7137 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agokvm: Apply SMM-already-initialized workaround on reset (Jan Kiszka)
aliguori [Fri, 17 Apr 2009 14:26:21 +0000 (14:26 +0000)]
kvm: Apply SMM-already-initialized workaround on reset (Jan Kiszka)

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7136 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agokvm: Sync CPU state on reset (Jan Kiszka)
aliguori [Fri, 17 Apr 2009 14:26:17 +0000 (14:26 +0000)]
kvm: Sync CPU state on reset (Jan Kiszka)

Make sure KVM gets informed about the reset CPU state.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7135 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: fix inotify syscalls
aurel32 [Fri, 17 Apr 2009 13:50:32 +0000 (13:50 +0000)]
linux-user: fix inotify syscalls

Configure test was broken, so the breakage of the #ifdef'd
code was not noticed.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7134 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRevert "target-mips: fix call to check_*() functions"
aurel32 [Fri, 17 Apr 2009 13:17:26 +0000 (13:17 +0000)]
Revert "target-mips: fix call to check_*() functions"

This reverts commit r7127, r7132 is a better fix for that.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7133 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: simplify exception generation
aurel32 [Fri, 17 Apr 2009 13:11:42 +0000 (13:11 +0000)]
target-mips: simplify exception generation

There is no need to exit the tb after a call to helper_raise_exception
as it already calls cpu_loop_exit().

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7132 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoTranslate signal values in exit status.
pbrook [Thu, 16 Apr 2009 15:17:02 +0000 (15:17 +0000)]
Translate signal values in exit status.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7131 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: fix getcwd syscall
aurel32 [Thu, 16 Apr 2009 14:17:14 +0000 (14:17 +0000)]
linux-user: fix getcwd syscall

The patch called "prefer glibc over direct syscalls" (commit 7118) has
replaced the getcwd syscall with a call to the glibc. With this change,
the syscall is returning -1 in error case and 0 otherwise.
This is problematic as the sys_getcwd syscall should return the number
of bytes written to the buffer including the '\0'.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-By: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7130 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-ppc: mark a few helpers TCG_CALL_CONST and/or TCG_CALL_PURE
aurel32 [Thu, 16 Apr 2009 12:57:58 +0000 (12:57 +0000)]
target-ppc: mark a few helpers TCG_CALL_CONST and/or TCG_CALL_PURE

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7129 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: fix revision r7126
aurel32 [Thu, 16 Apr 2009 12:57:50 +0000 (12:57 +0000)]
target-mips: fix revision r7126

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7128 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: fix call to check_*() functions
aurel32 [Thu, 16 Apr 2009 11:51:19 +0000 (11:51 +0000)]
target-mips: fix call to check_*() functions

check_*() functions may in fine call generate_exception(), which ends
by a call to tcg_gen_exit_tb(). As a consequence, we have to make sure
that no TCG temp variables are crossing a check_*() function.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7127 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize gen_flt3_ldst()
aurel32 [Thu, 16 Apr 2009 11:51:11 +0000 (11:51 +0000)]
target-mips: optimize gen_flt3_ldst()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7126 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize gen_flt_ldst()
aurel32 [Thu, 16 Apr 2009 11:51:03 +0000 (11:51 +0000)]
target-mips: optimize gen_flt_ldst()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7125 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoStop translation after a syscall instruciton.
pbrook [Thu, 16 Apr 2009 10:56:43 +0000 (10:56 +0000)]
Stop translation after a syscall instruciton.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7124 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoconfigure: display debug tcg status in summary
aurel32 [Thu, 16 Apr 2009 09:58:41 +0000 (09:58 +0000)]
configure: display debug tcg status in summary

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7123 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotcg: make sure NDEBUG is defined before including <assert.h>
aurel32 [Thu, 16 Apr 2009 09:58:30 +0000 (09:58 +0000)]
tcg: make sure NDEBUG is defined before including <assert.h>

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7122 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agofix a typo introduced in r7118
aurel32 [Wed, 15 Apr 2009 19:48:17 +0000 (19:48 +0000)]
fix a typo introduced in r7118

Reported by Stefan Weil

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7121 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: fix warnings introduced by r7118
aurel32 [Wed, 15 Apr 2009 17:12:01 +0000 (17:12 +0000)]
linux-user: fix warnings introduced by r7118

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7120 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: proper exit code for uncaught signals
aurel32 [Wed, 15 Apr 2009 16:18:38 +0000 (16:18 +0000)]
linux-user: proper exit code for uncaught signals

The proper exit code for dieing from an uncaught signal is -<signal>.
The kernel doesn't allow exit() or _exit() to pass a negative value.
To get the proper exit code we need to actually die from an uncaught signal.

A default signal handler is installed, we send ourself a signal
and we wait for it to arrive.

Patch originates from Scratchbox

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7119 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: prefer glibc over direct syscalls
aurel32 [Wed, 15 Apr 2009 16:12:13 +0000 (16:12 +0000)]
linux-user: prefer glibc over direct syscalls

The openat/*at syscalls are incredibly common with modern coreutils,
calling them directly via syscalls breaks for example fakeroot. Use
glibc stubs whenever directly available and provide old syscall
calling for people still using older libc.

Patch originally from Mika Westerberg, Adapted to
apply to current trunk and cleaned up by Riku Voipio.

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7118 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: removed unnecessary MAX_SOCK_ADDR checks for socket syscalls
aurel32 [Wed, 15 Apr 2009 16:12:06 +0000 (16:12 +0000)]
linux-user: removed unnecessary MAX_SOCK_ADDR checks for socket syscalls

- This check is not needed because kernel will check whether given
  buffer is too small and there is no upper limit for size of the buffer.

From: Mika Westerberg <mika.westerberg@iki.fi>

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7117 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: unix sockets - fix running dbus
aurel32 [Wed, 15 Apr 2009 16:11:59 +0000 (16:11 +0000)]
linux-user: unix sockets - fix running dbus

dbus sends too short (according to man 7 unix) addrlen for it's
unix socket. I've been told that happens with other applications
as well. Linux kernel doesn't appear to mind, so I guess
we whould be tolerant as well. Expand sockaddr with +1 to fit
the \0 of the pathname passed.

(scratchbox1 qemu had a very different workaround for the same issue).

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7116 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: add support for passing contents of argv0
aurel32 [Wed, 15 Apr 2009 16:11:52 +0000 (16:11 +0000)]
linux-user: add support for passing contents of argv0

Added switch -0 (zero) which can be used to pass argv[0] to
target process. The main use is for a binfmt_misc wrapper when
the "P - preserve-argv[0]" setting is used.

From: Mika Westerberg

Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7115 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: Added posix message queue syscalls except mq_notify
aurel32 [Wed, 15 Apr 2009 16:11:43 +0000 (16:11 +0000)]
linux-user: Added posix message queue syscalls except mq_notify

Signed-off-by: Lionel Landwerlin <lionel.landwerlin@openwide.fr>
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7114 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoSimplify reconfiguration
malc [Wed, 15 Apr 2009 16:04:03 +0000 (16:04 +0000)]
Simplify reconfiguration

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7113 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoImplement sonic netcard (MIPS Jazz)
aurel32 [Wed, 15 Apr 2009 14:57:54 +0000 (14:57 +0000)]
Implement sonic netcard (MIPS Jazz)

Attached patch adds emulation of a SONIC netcard. This card has been used
in MIPS Jazz machines and in some Apple Mac 68K.

Emulation has been done using dp83932 specification, but can be enhanced
(if needed) to also emulate dp83916, dp83934 or dp83936 chipsets.

This has been tested in Linux 2.1, NetBSD 1.6.2 and MS Windows NT/MIPS

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7112 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-alpha: fix emulation of ecb
aurel32 [Wed, 15 Apr 2009 14:43:11 +0000 (14:43 +0000)]
target-alpha: fix emulation of ecb

As ECB is a hint, it can be safely emulated as a nop.

This change is necessary to boot Tru64.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7111 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCall configure automatically when needed
aurel32 [Wed, 15 Apr 2009 14:42:57 +0000 (14:42 +0000)]
Call configure automatically when needed

Automatically rerun configure when it is needed.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7110 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoblock-vpc: Don't silently create smaller image than requested
aurel32 [Wed, 15 Apr 2009 14:42:46 +0000 (14:42 +0000)]
block-vpc: Don't silently create smaller image than requested

The algorithm from the VHD specification for CHS calculation silently limits
images to 127 GB which may confuse a user who requested a larger image. Better
output an error message and abort.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7109 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-alpha: lower parent irq when irq is lowered.
aurel32 [Wed, 15 Apr 2009 14:42:30 +0000 (14:42 +0000)]
target-alpha: lower parent irq when irq is lowered.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7108 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: mark zero register as unused.
aurel32 [Wed, 15 Apr 2009 14:42:00 +0000 (14:42 +0000)]
target-mips: mark zero register as unused.

Suggested by Stuart Brady.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7107 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: variable names consistency
aurel32 [Wed, 15 Apr 2009 14:41:44 +0000 (14:41 +0000)]
target-mips: variable names consistency

Use a consistent naming of arguments and TCG variables across the whole
file, the same as in tcg/tcg-op.h:
- arg1, arg2, ... for arguments
- t0, t1, t2, ... for variables

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7106 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd a --enable-debug-tcg option to configure
aurel32 [Mon, 13 Apr 2009 18:45:38 +0000 (18:45 +0000)]
Add a --enable-debug-tcg option to configure

This patch allows DEBUG_TCGV to be defined (and also prevents NDEBUG
from being defined) when passing an option to the configure script.
This should help to prevent any accidental changes that enable
DEBUG_TCGV in tcg/tcg.h from being committed in future, and may
help to encourage testing with DEBUG_TCGV enabled.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7105 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoProbe via #define check for OpenBSD and *Solaris
blueswir1 [Mon, 13 Apr 2009 17:19:26 +0000 (17:19 +0000)]
Probe via #define check for OpenBSD and *Solaris

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7104 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix OpenSolaris gcc4 warnings: iovec type mismatches, missing 'static'
blueswir1 [Mon, 13 Apr 2009 16:31:01 +0000 (16:31 +0000)]
Fix OpenSolaris gcc4 warnings: iovec type mismatches, missing 'static'

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7103 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix OpenSolaris softfloat warnings
blueswir1 [Mon, 13 Apr 2009 16:27:08 +0000 (16:27 +0000)]
Fix OpenSolaris softfloat warnings

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7102 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoSkip KVM probe for OpenSolaris
blueswir1 [Mon, 13 Apr 2009 16:23:22 +0000 (16:23 +0000)]
Skip KVM probe for OpenSolaris

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7101 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoProbe for OpenSolaris curses missing resize_term
blueswir1 [Mon, 13 Apr 2009 16:18:34 +0000 (16:18 +0000)]
Probe for OpenSolaris curses missing resize_term

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7100 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix ppc-softmmu warnings on OpenBSD host
blueswir1 [Mon, 13 Apr 2009 16:06:19 +0000 (16:06 +0000)]
Fix ppc-softmmu warnings on OpenBSD host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7099 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRecognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names.
balrog [Mon, 13 Apr 2009 11:33:46 +0000 (11:33 +0000)]
Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names.

Newer Xorg use these with non-default kemaps (such as the ThinkPad keymap).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7097 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: fix commits 7040 and 7042
aurel32 [Mon, 13 Apr 2009 08:53:12 +0000 (08:53 +0000)]
target-mips: fix commits 7040 and 7042

CPU state should also be saved for helpers that in fine call
cpu_unlink_tb(). Reported by Stefan Weil.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7096 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: fix commit 7046
aurel32 [Sun, 12 Apr 2009 08:32:45 +0000 (08:32 +0000)]
target-mips: fix commit 7046

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7095 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: don't map zero register as a TCG global
aurel32 [Sat, 11 Apr 2009 18:43:20 +0000 (18:43 +0000)]
target-mips: don't map zero register as a TCG global

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7094 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize gen_ldst()
aurel32 [Sat, 11 Apr 2009 18:42:55 +0000 (18:42 +0000)]
target-mips: optimize gen_ldst()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7093 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize gen_arith_imm()
aurel32 [Sat, 11 Apr 2009 18:42:17 +0000 (18:42 +0000)]
target-mips: optimize gen_arith_imm()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7092 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAdd named initializers.
pbrook [Sat, 11 Apr 2009 17:41:32 +0000 (17:41 +0000)]
Add named initializers.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7091 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRemove redundant ram_require machine properly.
pbrook [Sat, 11 Apr 2009 17:33:00 +0000 (17:33 +0000)]
Remove redundant ram_require machine properly.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7090 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRemove more redundant ram size checks.
pbrook [Sat, 11 Apr 2009 17:24:39 +0000 (17:24 +0000)]
Remove more redundant ram size checks.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7089 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoImplement dynamic guest ram allocation.
pbrook [Sat, 11 Apr 2009 17:15:54 +0000 (17:15 +0000)]
Implement dynamic guest ram allocation.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7088 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix/remove bogus ram size checks.
pbrook [Sat, 11 Apr 2009 17:01:42 +0000 (17:01 +0000)]
Fix/remove bogus ram size checks.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7087 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoAllocate enough vram for 24-bit planes.
pbrook [Sat, 11 Apr 2009 16:55:44 +0000 (16:55 +0000)]
Allocate enough vram for 24-bit planes.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7086 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRemove code phys_ram_base uses.
pbrook [Sat, 11 Apr 2009 14:47:08 +0000 (14:47 +0000)]
Remove code phys_ram_base uses.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7085 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoBSD user: initial support for i386 and x86_64 targets
blueswir1 [Sat, 11 Apr 2009 11:09:31 +0000 (11:09 +0000)]
BSD user: initial support for i386 and x86_64 targets

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7084 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCompile target independent files only once
blueswir1 [Sat, 11 Apr 2009 09:04:44 +0000 (09:04 +0000)]
Compile target independent files only once

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7083 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRemove reserved registers from tcg_target_reg_alloc_order
malc [Sat, 11 Apr 2009 08:19:50 +0000 (08:19 +0000)]
Remove reserved registers from tcg_target_reg_alloc_order

Noticed by Andreas Faerber

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7082 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoWhack [LS]MW
malc [Sat, 11 Apr 2009 07:39:04 +0000 (07:39 +0000)]
Whack [LS]MW

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7081 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRemove reserved registers from tcg_target_reg_alloc_order
malc [Sat, 11 Apr 2009 07:38:56 +0000 (07:38 +0000)]
Remove reserved registers from tcg_target_reg_alloc_order

Noticed by Andreas Faerber

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7080 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agomips malta: fix commit 7064
aurel32 [Sat, 11 Apr 2009 07:02:25 +0000 (07:02 +0000)]
mips malta: fix commit 7064

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7079 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: fix commit r7076
aurel32 [Fri, 10 Apr 2009 21:56:32 +0000 (21:56 +0000)]
target-mips: fix commit r7076

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7078 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize gen_movcf_d()
aurel32 [Fri, 10 Apr 2009 21:42:18 +0000 (21:42 +0000)]
target-mips: optimize gen_movcf_d()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7077 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize a few tcg_temp_free()
aurel32 [Fri, 10 Apr 2009 21:41:53 +0000 (21:41 +0000)]
target-mips: optimize a few tcg_temp_free()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7076 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-alpha: remove amask helper
aurel32 [Fri, 10 Apr 2009 21:27:48 +0000 (21:27 +0000)]
target-alpha: remove amask helper

The direct use of helper_amask in translate.c was bogus (as env is not
assigned).  Directly code amask in tcg and remove the helper.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7075 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-alpha: remove helper_load_implver
aurel32 [Fri, 10 Apr 2009 21:27:31 +0000 (21:27 +0000)]
target-alpha: remove helper_load_implver

There is no need to use an helper.  Directly load the value with tcg code.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7074 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-alpha: overflow condition for sublv and subqv
aurel32 [Fri, 10 Apr 2009 21:27:15 +0000 (21:27 +0000)]
target-alpha: overflow condition for sublv and subqv

The conditions to detect overflow in sub operations was wrong.

This patch is necessary to boot Tru64.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7073 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoClean up rc4030 init function
aurel32 [Fri, 10 Apr 2009 21:26:55 +0000 (21:26 +0000)]
Clean up rc4030 init function

At the moment, rc4030 init function is returning some function pointers.
Mark them non-static and define them in header file instead.
Export also a function to read/write DMA memory, it will be required by
the netcard.

Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7072 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMake PCI config status register read-only
aliguori [Fri, 10 Apr 2009 20:48:17 +0000 (20:48 +0000)]
Make PCI config status register read-only

From the documentation I can find, this register is supposed to be read-only.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7070 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoWean device tree code off phys_ram_base.
pbrook [Fri, 10 Apr 2009 16:23:59 +0000 (16:23 +0000)]
Wean device tree code off phys_ram_base.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7068 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoYet more phys_ram_base elimination.
pbrook [Fri, 10 Apr 2009 14:29:45 +0000 (14:29 +0000)]
Yet more phys_ram_base elimination.

Signed-off-by: Paul Brook <paul@cofdesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7067 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoBSD user: add support for OpenBSD/amd64 host
blueswir1 [Fri, 10 Apr 2009 13:00:29 +0000 (13:00 +0000)]
BSD user: add support for OpenBSD/amd64 host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7066 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoBSD user: add support for OpenBSD/i386 host
blueswir1 [Fri, 10 Apr 2009 07:29:34 +0000 (07:29 +0000)]
BSD user: add support for OpenBSD/i386 host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7065 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMore phys_ram_base elimination.
pbrook [Fri, 10 Apr 2009 03:36:49 +0000 (03:36 +0000)]
More phys_ram_base elimination.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7064 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoClean up VGA ram allocation.
pbrook [Fri, 10 Apr 2009 02:24:36 +0000 (02:24 +0000)]
Clean up VGA ram allocation.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7063 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoFix RTC breakage from r7031.
pbrook [Fri, 10 Apr 2009 02:19:52 +0000 (02:19 +0000)]
Fix RTC breakage from r7031.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7062 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMusicpal ram access cleanup.
pbrook [Fri, 10 Apr 2009 01:24:26 +0000 (01:24 +0000)]
Musicpal ram access cleanup.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7061 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMore phys_ram_base removal.
pbrook [Fri, 10 Apr 2009 00:26:15 +0000 (00:26 +0000)]
More phys_ram_base removal.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7060 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoCleanup SPARC/TCX framebuffer allocation.
pbrook [Thu, 9 Apr 2009 22:21:07 +0000 (22:21 +0000)]
Cleanup SPARC/TCX framebuffer allocation.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7059 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUse cpu_physical_memory_write_rom instead of memcpy.
pbrook [Thu, 9 Apr 2009 21:02:04 +0000 (21:02 +0000)]
Use cpu_physical_memory_write_rom instead of memcpy.

Signed-off-by: Glauber Costa <glommer@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7058 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoRegister a single area for vga bios and option roms
pbrook [Thu, 9 Apr 2009 20:59:05 +0000 (20:59 +0000)]
Register a single area for vga bios and option roms

Those guys are not different in nature. They're all roms,
not blessed with the graces of being written to. So there's
not need to issue multiple requests to memory registration areas:
just treat them as brothers, and put them all in the same
region.

It also has the nice side effect of improving the loading code
a little bit. Besides some of the ugliness going away, we're now
avoiding phys_ram_base dependencies in option rom code.

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7057 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUse load_image_targphys and avoid phys_ram_base.
pbrook [Thu, 9 Apr 2009 20:05:49 +0000 (20:05 +0000)]
Use load_image_targphys and avoid phys_ram_base.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7056 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoMore phys_ram_base removal.
pbrook [Thu, 9 Apr 2009 17:48:30 +0000 (17:48 +0000)]
More phys_ram_base removal.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7055 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUse load_image_targphys.
pbrook [Thu, 9 Apr 2009 17:30:32 +0000 (17:30 +0000)]
Use load_image_targphys.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7054 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUse guest memory access functions when setting up arm boorloader.
pbrook [Thu, 9 Apr 2009 17:19:47 +0000 (17:19 +0000)]
Use guest memory access functions when setting up arm boorloader.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7053 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUse qemu_ram_alloc.
pbrook [Thu, 9 Apr 2009 17:15:18 +0000 (17:15 +0000)]
Use qemu_ram_alloc.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7052 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoEnable generic accepts-anything cpu by default for usermode emulation.
pbrook [Thu, 9 Apr 2009 15:20:50 +0000 (15:20 +0000)]
Enable generic accepts-anything cpu by default for usermode emulation.

Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7051 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agolinux-user: fix fstatat64()/newfstatat() syscall implementation
aurel32 [Wed, 8 Apr 2009 23:07:05 +0000 (23:07 +0000)]
linux-user: fix fstatat64()/newfstatat() syscall implementation

There are two different syscall names for the same goal.

On systems with sizeof(long) == 64 it calls newfstatat.
On systems with sizeof(long) == 32 it calls fstatat64.

Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7050 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agopcnet: Avoid double conversion via PHYSADDR
aurel32 [Wed, 8 Apr 2009 22:56:33 +0000 (22:56 +0000)]
pcnet: Avoid double conversion via PHYSADDR

rdra and tdra are already kept converted in the pcnet state structure.
Avoid converting derivatives a second time. The same case with the local
variable xmit_cxda: it already contains a converted cxda address. This
issue only causes troubles when using the pcnet in 16-bit legacy mode.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7049 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoapic: Fix access to non-existent APIC
aurel32 [Wed, 8 Apr 2009 22:56:26 +0000 (22:56 +0000)]
apic: Fix access to non-existent APIC

When running with -M isapc, there is no env->apic_state. Fix
cpu_get/set_apic_* helpers to handle this corner case gracefully.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7048 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agoUse stdint.h for integral data types and definitions
aurel32 [Wed, 8 Apr 2009 22:56:19 +0000 (22:56 +0000)]
Use stdint.h for integral data types and definitions

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7047 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize gen_farith()
aurel32 [Wed, 8 Apr 2009 21:48:27 +0000 (21:48 +0000)]
target-mips: optimize gen_farith()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7046 c046a42c-6fe2-441c-8c8c-71466251a162

15 years agotarget-mips: optimize gen_flt3_arith()
aurel32 [Wed, 8 Apr 2009 21:48:18 +0000 (21:48 +0000)]
target-mips: optimize gen_flt3_arith()

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7045 c046a42c-6fe2-441c-8c8c-71466251a162