qemu
17 years agoVMware SVGA II emulation, by Andrzej Zaborowski.
ths [Mon, 2 Apr 2007 01:10:46 +0000 (01:10 +0000)]
VMware SVGA II emulation, by Andrzej Zaborowski.

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

17 years agoQcow2 corruption fix, by Juergen Keil.
ths [Sun, 1 Apr 2007 19:01:40 +0000 (19:01 +0000)]
Qcow2 corruption fix, by Juergen Keil.

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

17 years agoSolaris 9/x86 support, by Ben Taylor.
ths [Sun, 1 Apr 2007 18:54:44 +0000 (18:54 +0000)]
Solaris 9/x86 support, by Ben Taylor.

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

17 years agoConditionalize more syscall implementations, by Mike Frysinger.
ths [Sun, 1 Apr 2007 18:31:35 +0000 (18:31 +0000)]
Conditionalize more syscall implementations, by Mike Frysinger.

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

17 years agoSingle mode for PIC i8259, by Bernhard Kauer.
ths [Sun, 1 Apr 2007 18:26:11 +0000 (18:26 +0000)]
Single mode for PIC i8259, by Bernhard Kauer.

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

17 years agoImproved initrd support for mips.
ths [Sun, 1 Apr 2007 17:56:37 +0000 (17:56 +0000)]
Improved initrd support for mips.

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

17 years agoFix off-by-one error
blueswir1 [Sun, 1 Apr 2007 16:23:36 +0000 (16:23 +0000)]
Fix off-by-one error

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

17 years agoChange Sparc uses of pic_set_irq to pic_set_irq_new
blueswir1 [Sun, 1 Apr 2007 16:05:41 +0000 (16:05 +0000)]
Change Sparc uses of pic_set_irq to pic_set_irq_new

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

17 years agoAdd SparcStation-10 machine
blueswir1 [Sun, 1 Apr 2007 15:55:28 +0000 (15:55 +0000)]
Add SparcStation-10 machine

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

17 years agoReorganise Sun4m to allow other machine types
blueswir1 [Sun, 1 Apr 2007 15:44:43 +0000 (15:44 +0000)]
Reorganise Sun4m to allow other machine types

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

17 years agoFix Sparc shift ops (Aurelien Jarno)
blueswir1 [Sun, 1 Apr 2007 15:38:17 +0000 (15:38 +0000)]
Fix Sparc shift ops (Aurelien Jarno)

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

17 years agoFix Sparc lda/ldda/sta/stda asi handling, fault on misaligned register ldd/std and...
blueswir1 [Sun, 1 Apr 2007 15:15:36 +0000 (15:15 +0000)]
Fix Sparc lda/ldda/sta/stda asi handling, fault on misaligned register ldd/std and illegal cwp on wrpsr (Aurelien Jarno)

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

17 years agoFix Sparc co-processor ops (Aurelien Jarno)
blueswir1 [Sun, 1 Apr 2007 15:08:21 +0000 (15:08 +0000)]
Fix Sparc co-processor ops (Aurelien Jarno)

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

17 years agoFix Sparc ASR handling (Aurelien Jarno)
blueswir1 [Sun, 1 Apr 2007 15:05:09 +0000 (15:05 +0000)]
Fix Sparc ASR handling (Aurelien Jarno)

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

17 years agoActually enable 64bit configuration.
ths [Sun, 1 Apr 2007 12:36:18 +0000 (12:36 +0000)]
Actually enable 64bit configuration.

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

17 years agoMIPS64 configurations.
ths [Sun, 1 Apr 2007 11:16:48 +0000 (11:16 +0000)]
MIPS64 configurations.

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

17 years agoGenerate double and triple faults, by Bernhard Kauer.
ths [Sat, 31 Mar 2007 20:28:52 +0000 (20:28 +0000)]
Generate double and triple faults, by Bernhard Kauer.

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

17 years agoLarge kernel initrd fix (initial patch by Daniel Jacobowitz).
pbrook [Sat, 31 Mar 2007 19:41:22 +0000 (19:41 +0000)]
Large kernel initrd fix (initial patch by Daniel Jacobowitz).

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

17 years agoDon't let sigaction handle SIGKILL/SIGSTOP, by Stuart Anderson.
ths [Sat, 31 Mar 2007 19:29:06 +0000 (19:29 +0000)]
Don't let sigaction handle SIGKILL/SIGSTOP, by Stuart Anderson.

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

17 years agoUpdate for binfmt_misc handler, by Stefan Weil.
ths [Sat, 31 Mar 2007 19:10:01 +0000 (19:10 +0000)]
Update for binfmt_misc handler, by Stefan Weil.

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

17 years agofcntl() remaining fix, by Stuart Anderson.
ths [Sat, 31 Mar 2007 18:59:32 +0000 (18:59 +0000)]
fcntl() remaining fix, by Stuart Anderson.

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

17 years agoFix usb hid and mass-storage protocol revision, by Juergen Keil.
ths [Sat, 31 Mar 2007 18:23:26 +0000 (18:23 +0000)]
Fix usb hid and mass-storage protocol revision, by Juergen Keil.

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

17 years agoMalta CBUS UART support.
ths [Sat, 31 Mar 2007 16:54:14 +0000 (16:54 +0000)]
Malta CBUS UART support.

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

17 years agoSupport for PowerPC BookE exception model.
j_mayer [Sat, 31 Mar 2007 12:57:57 +0000 (12:57 +0000)]
Support for PowerPC BookE exception model.
No need to requeue timer exceptions.
Fix nip saving for 64 bits PowerPC.

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

17 years agoEmbedded PowerPC timers support.
j_mayer [Sat, 31 Mar 2007 11:38:38 +0000 (11:38 +0000)]
Embedded PowerPC timers support.

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

17 years agoMerge PowerPC 405 MMU model.
j_mayer [Sat, 31 Mar 2007 11:33:48 +0000 (11:33 +0000)]
Merge PowerPC 405 MMU model.

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

17 years agoAs embedded PowerPC TLB model is very different from PowerPC 6xx ones,
j_mayer [Sat, 31 Mar 2007 11:10:49 +0000 (11:10 +0000)]
As embedded PowerPC TLB model is very different from PowerPC 6xx ones,
define ppc_tlb_t as an union of the two.

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

17 years agoBetter fix for OpenPIC: should not depend on PowerPC.
j_mayer [Sat, 31 Mar 2007 09:59:47 +0000 (09:59 +0000)]
Better fix for OpenPIC: should not depend on PowerPC.

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

17 years agoSwitch include for Solaris to avoid namespace issues. By Juergen Keil.
ths [Fri, 30 Mar 2007 19:20:50 +0000 (19:20 +0000)]
Switch include for Solaris to avoid namespace issues. By Juergen Keil.

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

17 years agoSpelling fixes, by Stefan Weil.
ths [Fri, 30 Mar 2007 18:58:01 +0000 (18:58 +0000)]
Spelling fixes, by Stefan Weil.

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

17 years agoUpdate mips TODO.
ths [Fri, 30 Mar 2007 18:56:19 +0000 (18:56 +0000)]
Update mips TODO.

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

17 years agoFix typo, suggested by Ben Taylor.
ths [Fri, 30 Mar 2007 18:42:21 +0000 (18:42 +0000)]
Fix typo, suggested by Ben Taylor.

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

17 years agoSquash logic bugs while they are fresh...
ths [Fri, 30 Mar 2007 17:48:00 +0000 (17:48 +0000)]
Squash logic bugs while they are fresh...

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

17 years agoSanitize mips exception handling.
ths [Fri, 30 Mar 2007 16:44:54 +0000 (16:44 +0000)]
Sanitize mips exception handling.

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

17 years agoFix build failure.
ths [Fri, 30 Mar 2007 16:41:55 +0000 (16:41 +0000)]
Fix build failure.

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

17 years agoFix rfi instruction: do not depend on current execution mode
j_mayer [Fri, 30 Mar 2007 10:22:46 +0000 (10:22 +0000)]
Fix rfi instruction: do not depend on current execution mode
 but on the execution mode that will be effective after the return.
Add rfci, rfdi and rfmci for BookE PowerPC.
Extend mfdcr / mtdcr and implement mfdrcx / mtdcrx.

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

17 years agoFix / update PowerPC BookE definitions.
j_mayer [Fri, 30 Mar 2007 10:07:33 +0000 (10:07 +0000)]
Fix / update PowerPC BookE definitions.

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

17 years agoNew model for PowerPC CPU hardware interrupt events:
j_mayer [Fri, 30 Mar 2007 09:38:04 +0000 (09:38 +0000)]
New model for PowerPC CPU hardware interrupt events:
move all PowerPC specific code into target-ppc/helper.c to avoid polluting
the common code in cpu-exec.c. This makes implementation of new features
(ie embedded PowerPC timers, critical interrupts, ...) easier.
This also avoid hardcoding the IRQ callback in the OpenPIC controller,
making it more easily reusable and allowing cascading.

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

17 years agoSolaris host compilation fix by Shaddy Baddah.
j_mayer [Wed, 28 Mar 2007 20:43:46 +0000 (20:43 +0000)]
Solaris host compilation fix by Shaddy Baddah.

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

17 years agoqemu_create_pidfile implementation for Win32, based on a patch by
ths [Sun, 25 Mar 2007 21:33:06 +0000 (21:33 +0000)]
qemu_create_pidfile implementation for Win32, based on a patch by
Carlos O'Donell.

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

17 years agoMove determination of AIOLIBS until after all configure options have been
ths [Sun, 25 Mar 2007 20:55:00 +0000 (20:55 +0000)]
Move determination of AIOLIBS until after all configure options have been
handled. By Carlos O'Donell.

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

17 years agoFix segfault with -nographic, by Enache Adrian.
ths [Sun, 25 Mar 2007 20:27:04 +0000 (20:27 +0000)]
Fix segfault with -nographic, by Enache Adrian.

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

17 years agoTypo in configure, by Nicholas Sauzede.
ths [Sun, 25 Mar 2007 16:15:21 +0000 (16:15 +0000)]
Typo in configure, by Nicholas Sauzede.

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

17 years agoImproved kqemu error message, by Robert Millan.
ths [Sun, 25 Mar 2007 16:14:07 +0000 (16:14 +0000)]
Improved kqemu error message, by Robert Millan.

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

17 years agoWindows sockets like to be different. Inspired by a patch from Alex Consul.
ths [Sun, 25 Mar 2007 15:58:03 +0000 (15:58 +0000)]
Windows sockets like to be different. Inspired by a patch from Alex Consul.

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

17 years agoSparc32/64 CPU selection
blueswir1 [Sun, 25 Mar 2007 07:55:52 +0000 (07:55 +0000)]
Sparc32/64 CPU selection

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

17 years agoOne more bit of mips CPU configuration, and support for early 4KEc
ths [Sat, 24 Mar 2007 23:36:18 +0000 (23:36 +0000)]
One more bit of mips CPU configuration, and support for early 4KEc
which implemented only MIPS32R1. Thanks to Stefan Weil to insist he's
right on that. :-)

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

17 years agoUpgrade Sparc FPU version (based on patch by Aurelien Jarno)
blueswir1 [Sat, 24 Mar 2007 13:24:09 +0000 (13:24 +0000)]
Upgrade Sparc FPU version (based on patch by Aurelien Jarno)

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

17 years agoSparc tagged operations (Aurelien Jarno)
blueswir1 [Fri, 23 Mar 2007 20:01:20 +0000 (20:01 +0000)]
Sparc tagged operations (Aurelien Jarno)

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

17 years agoAdd missing PowerPC 64 instructions
j_mayer [Fri, 23 Mar 2007 09:45:27 +0000 (09:45 +0000)]
Add missing PowerPC 64 instructions
PowerPC 64 fixes.

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

17 years agoFix debug printf: we need different macros for target_ulong prints
j_mayer [Fri, 23 Mar 2007 09:40:22 +0000 (09:40 +0000)]
Fix debug printf: we need different macros for target_ulong prints
                  and GPR ones, as the lengths can be different.

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

17 years agoFix enough FPU/R2 support to get 24Kf going.
ths [Fri, 23 Mar 2007 00:43:28 +0000 (00:43 +0000)]
Fix enough FPU/R2 support to get 24Kf going.

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

17 years agoPowerPC improvments:
j_mayer [Thu, 22 Mar 2007 22:41:50 +0000 (22:41 +0000)]
PowerPC improvments:
- add missing 64 bits rotate instructions
- safely define TARGET_PPCSPE when 64 bits registers are used
  a separate target will be needed to use it in 32 bits mode on 32 bits hosts.

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

17 years agoPowerPC bugfixes:
j_mayer [Thu, 22 Mar 2007 22:17:08 +0000 (22:17 +0000)]
PowerPC bugfixes:
- must clear carry bit when doing addic with a zero immediate value
- fix missing RETURN in micro-operation that would lead to random failures
  and crashes
- add USE_PRECISE_EMULATION compilation-time option to choose between
  getting exact floating point results and fast but less accurate computation.

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

17 years agoFix fcntl64 logic bug, by Kirill A. Shutemov.
ths [Thu, 22 Mar 2007 15:08:55 +0000 (15:08 +0000)]
Fix fcntl64 logic bug, by Kirill A. Shutemov.

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

17 years agoWin32 build fix. FIXME: This disables locking of the pidfile, a
ths [Thu, 22 Mar 2007 12:36:53 +0000 (12:36 +0000)]
Win32 build fix. FIXME: This disables locking of the pidfile, a
Win32 replacement of lockf should be used here.

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

17 years agoFix Sparc branches, original patch by Aurelien Jarno
blueswir1 [Wed, 21 Mar 2007 19:45:50 +0000 (19:45 +0000)]
Fix Sparc branches, original patch by Aurelien Jarno

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

17 years agoMove mips CPU specific initialization to translate_init.c.
ths [Wed, 21 Mar 2007 11:04:42 +0000 (11:04 +0000)]
Move mips CPU specific initialization to translate_init.c.

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

17 years agoFix compilation on 32 bits hosts (pb reported by Thiemo Seufer)
j_mayer [Wed, 21 Mar 2007 08:21:02 +0000 (08:21 +0000)]
Fix compilation on 32 bits hosts (pb reported by Thiemo Seufer)

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

17 years agoOoops... Typo.
j_mayer [Tue, 20 Mar 2007 22:25:37 +0000 (22:25 +0000)]
Ooops... Typo.

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

17 years agoPowerPC 2.03 SPE extension - first pass.
j_mayer [Tue, 20 Mar 2007 22:11:31 +0000 (22:11 +0000)]
PowerPC 2.03 SPE extension - first pass.

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

17 years agoAdd missing softfloat helpers.
j_mayer [Tue, 20 Mar 2007 22:10:42 +0000 (22:10 +0000)]
Add missing softfloat helpers.

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

17 years agofcntl64 fix, by Kirill A. Shutemov.
ths [Tue, 20 Mar 2007 21:50:52 +0000 (21:50 +0000)]
fcntl64 fix, by Kirill A. Shutemov.

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

17 years agoSlavIO Counter-Timers fix, by Aurelien Jarno.
ths [Tue, 20 Mar 2007 16:54:50 +0000 (16:54 +0000)]
SlavIO Counter-Timers fix, by Aurelien Jarno.

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

17 years agoSlavIO interrupt controller fix, by Aurelien Jarno.
ths [Tue, 20 Mar 2007 16:52:54 +0000 (16:52 +0000)]
SlavIO interrupt controller fix, by Aurelien Jarno.

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

17 years agoVMMouse Emulation, by Anthony Liguori.
ths [Tue, 20 Mar 2007 16:45:27 +0000 (16:45 +0000)]
VMMouse Emulation, by Anthony Liguori.

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

17 years agoBarf on branches/jumps in branch delay slots. Spotted by Stefan Weil.
ths [Mon, 19 Mar 2007 22:15:30 +0000 (22:15 +0000)]
Barf on branches/jumps in branch delay slots. Spotted by Stefan Weil.

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

17 years agoDefine gen_intermediate_code_internal as "static inline".
ths [Mon, 19 Mar 2007 21:46:06 +0000 (21:46 +0000)]
Define gen_intermediate_code_internal as "static inline".

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

17 years agoFix call to generated code on SPARC, by Juergen Keil.
ths [Mon, 19 Mar 2007 20:39:49 +0000 (20:39 +0000)]
Fix call to generated code on SPARC, by Juergen Keil.

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

17 years agoFix qemu crash due to sparc division-by-zero, by Aurelien Jarno.
ths [Mon, 19 Mar 2007 19:16:00 +0000 (19:16 +0000)]
Fix qemu crash due to sparc division-by-zero, by Aurelien Jarno.

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

17 years agoFix big endian host operation, by Ben Taylor and Igor Kovalenko.
ths [Mon, 19 Mar 2007 18:20:28 +0000 (18:20 +0000)]
Fix big endian host operation, by Ben Taylor and Igor Kovalenko.

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

17 years agotrunc() for Solaris 9 / SPARC, by Juergen Keil.
ths [Mon, 19 Mar 2007 16:46:07 +0000 (16:46 +0000)]
trunc() for Solaris 9 / SPARC, by Juergen Keil.

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

17 years agoClose file descriptors when execing network tap setup script, by
ths [Mon, 19 Mar 2007 16:36:43 +0000 (16:36 +0000)]
Close file descriptors when execing network tap setup script, by
Daniel P. Berrange.

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

17 years agoImprove -pidfile option, by Anthony Liguori.
ths [Mon, 19 Mar 2007 15:58:31 +0000 (15:58 +0000)]
Improve -pidfile option, by Anthony Liguori.

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

17 years agoAdd -name option, by Anthony Liguori.
ths [Mon, 19 Mar 2007 15:17:08 +0000 (15:17 +0000)]
Add -name option, by Anthony Liguori.

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

17 years agoSCSI fixes, by Wang Cheng Yeh.
ths [Mon, 19 Mar 2007 14:49:29 +0000 (14:49 +0000)]
SCSI fixes, by Wang Cheng Yeh.

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

17 years agoSPARC host fixes, by Ben Taylor.
ths [Mon, 19 Mar 2007 14:47:40 +0000 (14:47 +0000)]
SPARC host fixes, by Ben Taylor.

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

17 years agoHandling more darwin-user syscalls, by Ilya Shar.
ths [Mon, 19 Mar 2007 13:43:04 +0000 (13:43 +0000)]
Handling more darwin-user syscalls, by Ilya Shar.

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

17 years agoLinux usermode clock_gettime/clock_getres emulation, by Kirill A. Shutemov.
ths [Mon, 19 Mar 2007 13:32:45 +0000 (13:32 +0000)]
Linux usermode clock_gettime/clock_getres emulation, by Kirill A. Shutemov.

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

17 years agoAdd missing header includes.
ths [Mon, 19 Mar 2007 13:09:22 +0000 (13:09 +0000)]
Add missing header includes.

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

17 years agoFix allocation sizes in getpeername/getsockname, spotted by Kirill A. Shutemov.
ths [Mon, 19 Mar 2007 13:05:13 +0000 (13:05 +0000)]
Fix allocation sizes in getpeername/getsockname, spotted by Kirill A. Shutemov.

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

17 years agoSolaris needs -lrt, spotted by Ben Taylor.
ths [Mon, 19 Mar 2007 12:22:40 +0000 (12:22 +0000)]
Solaris needs -lrt, spotted by Ben Taylor.

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

17 years agoSupport -cpu selection for mips usermode emulation. Fix segfault when
ths [Mon, 19 Mar 2007 12:16:29 +0000 (12:16 +0000)]
Support -cpu selection for mips usermode emulation. Fix segfault when
dispaying the -cpu list help.

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

17 years agoAdd -cpu option for linux user emulation.
j_mayer [Mon, 19 Mar 2007 08:08:28 +0000 (08:08 +0000)]
Add -cpu option for linux user emulation.
Only usable for PowerPC and ARM for now.

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

17 years agoDisable compiler options dangerous for op compilation.
ths [Sun, 18 Mar 2007 23:23:31 +0000 (23:23 +0000)]
Disable compiler options dangerous for op compilation.

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

17 years agoA VGA card for the Malta board.
ths [Sun, 18 Mar 2007 22:18:43 +0000 (22:18 +0000)]
A VGA card for the Malta board.

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

17 years agoFix BD flag handling, cause register contents, implement some more bits
ths [Sun, 18 Mar 2007 12:43:40 +0000 (12:43 +0000)]
Fix BD flag handling, cause register contents, implement some more bits
for R2 interrupt handling.

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

17 years agoAs icbi is not a priviledge instruction and is treated as a load by the MMU
j_mayer [Sun, 18 Mar 2007 08:47:10 +0000 (08:47 +0000)]
As icbi is not a priviledge instruction and is treated as a load by the MMU
it needs to be implemented for every MMU translation mode.

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

17 years agoMIPS -cpu selection support, by Herve Poussineau.
ths [Sun, 18 Mar 2007 00:30:29 +0000 (00:30 +0000)]
MIPS -cpu selection support, by Herve Poussineau.

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

17 years agoOHCI USB PXA support (Andrzej Zaborowski).
pbrook [Sat, 17 Mar 2007 16:59:31 +0000 (16:59 +0000)]
OHCI USB PXA support (Andrzej Zaborowski).

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

17 years agoNote FPU enable/disable issue.
ths [Sat, 17 Mar 2007 15:39:48 +0000 (15:39 +0000)]
Note FPU enable/disable issue.

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

17 years agoRemove useless static specifier.
ths [Sat, 17 Mar 2007 15:21:30 +0000 (15:21 +0000)]
Remove useless static specifier.

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

17 years agoBetter ioport debugging output.
ths [Sat, 17 Mar 2007 15:17:58 +0000 (15:17 +0000)]
Better ioport debugging output.

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

17 years agoBetter way to select -lrt, by Andrzei Zaborowski.
ths [Sat, 17 Mar 2007 15:00:37 +0000 (15:00 +0000)]
Better way to select -lrt, by Andrzei Zaborowski.

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

17 years agoDon't fail for "revert to poweron defaults" IDE command, by Carlo
ths [Sat, 17 Mar 2007 14:55:30 +0000 (14:55 +0000)]
Don't fail for "revert to poweron defaults" IDE command, by Carlo
Marcelo Arenas Belon.

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

17 years agoAllow disabling IDE block mode, by Carlo Marcelo Arenas Belon.
ths [Sat, 17 Mar 2007 14:54:15 +0000 (14:54 +0000)]
Allow disabling IDE block mode, by Carlo Marcelo Arenas Belon.

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

17 years agoAdd PowerPC 64 target for tests.
j_mayer [Sat, 17 Mar 2007 14:04:57 +0000 (14:04 +0000)]
Add PowerPC 64 target for tests.
As no PowerPC 64 CPU is implemented, this target can just be used to check that
there is no difference between PowerPC 32 & PowerPC 64 used in 32 bits mode.

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

17 years agoMake it safe to use 64 bits GPR and/or 64 bits host registers.
j_mayer [Sat, 17 Mar 2007 14:02:15 +0000 (14:02 +0000)]
Make it safe to use 64 bits GPR and/or 64 bits host registers.
For "symetry", add 64 bits versions of all modified functions.
As a side effect, add a lot of code provision for PowerPC 64 support.
Move overflow and carry checks in common routines for simple cases.
Add isel and popcntb instructions from PowerPC 2.03 specification.
Remove remaining micro-operations helpers prototypes from op.c.
Fix XER_BC field to be 7 bits long.
Add power management support for PowerPC 603 & 604.
Fix compilation warnings.

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

17 years agoARM register index+writeback fix (Lauro Ramos Venancio).
pbrook [Sat, 17 Mar 2007 01:43:01 +0000 (01:43 +0000)]
ARM register index+writeback fix (Lauro Ramos Venancio).

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

17 years agoUsermode recv syscall fix.
pbrook [Sat, 17 Mar 2007 01:27:24 +0000 (01:27 +0000)]
Usermode recv syscall fix.

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