sdk/emulator/qemu.git
17 years agoFix RDHWR handling. Code formatting. Don't use *_direct versions to raise
ths [Thu, 5 Apr 2007 23:16:25 +0000 (23:16 +0000)]
Fix RDHWR handling. Code formatting. Don't use *_direct versions to raise
exceptions.

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

17 years ago64bit MIPS FPUs have 32 registers.
ths [Thu, 5 Apr 2007 23:14:23 +0000 (23:14 +0000)]
64bit MIPS FPUs have 32 registers.

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

17 years agoClear BEV and ERL for the fake bootloader.
ths [Thu, 5 Apr 2007 23:12:54 +0000 (23:12 +0000)]
Clear BEV and ERL for the fake bootloader.

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

17 years agoFix alpha target compilation on 32 bits hosts.
j_mayer [Thu, 5 Apr 2007 21:12:28 +0000 (21:12 +0000)]
Fix alpha target compilation on 32 bits hosts.

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

17 years agoRules needed to compile linux user-mode alpha target.
j_mayer [Thu, 5 Apr 2007 20:46:02 +0000 (20:46 +0000)]
Rules needed to compile linux user-mode alpha target.

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

17 years agoTemporary hack for alpha user-mode emulation.
j_mayer [Thu, 5 Apr 2007 20:08:21 +0000 (20:08 +0000)]
Temporary hack for alpha user-mode emulation.

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

17 years agoDocumentation update
blueswir1 [Thu, 5 Apr 2007 18:40:23 +0000 (18:40 +0000)]
Documentation update

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

17 years agoFix stdfq op (Aurelien Jarno)
blueswir1 [Thu, 5 Apr 2007 18:12:08 +0000 (18:12 +0000)]
Fix stdfq op (Aurelien Jarno)

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

17 years agoFix co-processor branch and store ops (Aurelien Jarno)
blueswir1 [Thu, 5 Apr 2007 18:09:15 +0000 (18:09 +0000)]
Fix co-processor branch and store ops (Aurelien Jarno)

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

17 years agoFill in real SparcStation 10 values
blueswir1 [Thu, 5 Apr 2007 17:00:23 +0000 (17:00 +0000)]
Fill in real SparcStation 10 values

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

17 years agoIntegrate Alpha target in Qemu core.
j_mayer [Thu, 5 Apr 2007 07:22:49 +0000 (07:22 +0000)]
Integrate Alpha target in Qemu core.

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

17 years agoPreliminary patch for Alpha Linux user mode emulation support.
j_mayer [Thu, 5 Apr 2007 07:13:51 +0000 (07:13 +0000)]
Preliminary patch for Alpha Linux user mode emulation support.

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

17 years agoDefinitions needed for Alpha linux user-mode emulation.
j_mayer [Thu, 5 Apr 2007 07:06:55 +0000 (07:06 +0000)]
Definitions needed for Alpha linux user-mode emulation.

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

17 years agoAlpha CPU palcode emulation. Only usable in user mode for now with
j_mayer [Thu, 5 Apr 2007 07:04:40 +0000 (07:04 +0000)]
Alpha CPU palcode emulation. Only usable in user mode for now with
code provision for full emulation support.

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

17 years agoAlpha architecture emulation core.
j_mayer [Thu, 5 Apr 2007 06:58:33 +0000 (06:58 +0000)]
Alpha architecture emulation core.

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

17 years agoInfrastructure to support more than 2 MMU modes.
j_mayer [Thu, 5 Apr 2007 06:43:27 +0000 (06:43 +0000)]
Infrastructure to support more than 2 MMU modes.
Add example for Alpha and PowerPC hypervisor mode.

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

17 years agoFix code formatting.
ths [Wed, 4 Apr 2007 21:07:17 +0000 (21:07 +0000)]
Fix code formatting.

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

17 years agoChange NIC registration to be consistent with other machines definitions.
j_mayer [Wed, 4 Apr 2007 08:00:14 +0000 (08:00 +0000)]
Change NIC registration to be consistent with other machines definitions.

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

17 years agoTARGET_FMT_ld may also be useful for debugging purposes.
j_mayer [Wed, 4 Apr 2007 07:58:14 +0000 (07:58 +0000)]
TARGET_FMT_ld may also be useful for debugging purposes.

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

17 years agoAdd missing 64 bits memory accessors.
j_mayer [Wed, 4 Apr 2007 07:55:12 +0000 (07:55 +0000)]
Add missing 64 bits memory accessors.

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

17 years agoi386 return APIC ID with cpuid, by Bernhard Kauer.
ths [Tue, 3 Apr 2007 16:38:34 +0000 (16:38 +0000)]
i386 return APIC ID with cpuid, by Bernhard Kauer.

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

17 years agoFix Malta tty2 UART registers.
ths [Tue, 3 Apr 2007 14:05:42 +0000 (14:05 +0000)]
Fix Malta tty2 UART registers.

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

17 years agoMIPS32R2 needs RDPGPR/WRPGPR instructions even when no shadow registers
ths [Mon, 2 Apr 2007 17:28:07 +0000 (17:28 +0000)]
MIPS32R2 needs RDPGPR/WRPGPR instructions even when no shadow registers
are implemented.

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

17 years agoFix guest x86/amd64 helper_fprem/helper_fprem1, by Julian Seward.
ths [Mon, 2 Apr 2007 16:33:41 +0000 (16:33 +0000)]
Fix guest x86/amd64 helper_fprem/helper_fprem1, by Julian Seward.

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

17 years agoBuild fix for 64bit machines. (This is still not correct mul/div handling.)
ths [Mon, 2 Apr 2007 15:54:05 +0000 (15:54 +0000)]
Build fix for 64bit machines. (This is still not correct mul/div handling.)

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

17 years agoQcow2: Release refcount table clusters after growing the refcount table,
ths [Mon, 2 Apr 2007 12:48:47 +0000 (12:48 +0000)]
Qcow2: Release refcount table clusters after growing the refcount table,
by Juergen Keil.

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

17 years agoUse __sFILE to typedef for _BSD.
ths [Mon, 2 Apr 2007 12:39:43 +0000 (12:39 +0000)]
Use __sFILE to typedef for _BSD.

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

17 years agoEepro100 emulation, by Stefan Weil.
ths [Mon, 2 Apr 2007 12:35:34 +0000 (12:35 +0000)]
Eepro100 emulation, by Stefan Weil.

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

17 years agoaudio/ossaudio.c for OpenBSD, by Todd T. Fries.
ths [Mon, 2 Apr 2007 10:07:55 +0000 (10:07 +0000)]
audio/ossaudio.c for OpenBSD, by Todd T. Fries.

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

17 years agoltr for x86_64 should check the upper descriptor type, by Bernhard Kauer.
ths [Mon, 2 Apr 2007 08:56:24 +0000 (08:56 +0000)]
ltr for x86_64 should check the upper descriptor type, by Bernhard Kauer.

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

17 years agone2k buffer full bug fix, by Marcel Block.
ths [Mon, 2 Apr 2007 08:19:57 +0000 (08:19 +0000)]
ne2k buffer full bug fix, by Marcel Block.

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

17 years agoRandom bug fixes from code inspection, by Wang Cheng Yeh.
ths [Mon, 2 Apr 2007 08:18:36 +0000 (08:18 +0000)]
Random bug fixes from code inspection, by Wang Cheng Yeh.

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

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