sdk/emulator/qemu.git
17 years agoFix compiler warning.
ths [Wed, 18 Apr 2007 18:11:47 +0000 (18:11 +0000)]
Fix compiler warning.

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

17 years agoWin32 Tap inferface PPC Guest issue, by Ely Soto.
ths [Wed, 18 Apr 2007 17:56:02 +0000 (17:56 +0000)]
Win32 Tap inferface PPC Guest issue, by Ely Soto.

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

17 years agoRevert, this is already fixed in a better way.
ths [Wed, 18 Apr 2007 11:15:56 +0000 (11:15 +0000)]
Revert, this is already fixed in a better way.

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

17 years agoAnother lsi53c895a patch, by Wang Cheng Yeh.
ths [Tue, 17 Apr 2007 23:53:10 +0000 (23:53 +0000)]
Another lsi53c895a patch, by Wang Cheng Yeh.

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

17 years agoFix helper.c with isinf on Solaris 9/Sparc, by Ben Taylor.
ths [Tue, 17 Apr 2007 23:25:06 +0000 (23:25 +0000)]
Fix helper.c with isinf on Solaris 9/Sparc, by Ben Taylor.

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

17 years agoPtable calculation broken for 32bit code under x86_64, by Bernhard Kauer.
ths [Tue, 17 Apr 2007 23:08:56 +0000 (23:08 +0000)]
Ptable calculation broken for 32bit code under x86_64, by Bernhard Kauer.

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

17 years agoUpdated Solaris isinf support, by Juergen Keil and Ben Taylor.
ths [Tue, 17 Apr 2007 21:57:02 +0000 (21:57 +0000)]
Updated Solaris isinf  support, by Juergen Keil and Ben Taylor.

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

17 years agoTCX palette bug fix
blueswir1 [Tue, 17 Apr 2007 19:42:21 +0000 (19:42 +0000)]
TCX palette bug fix

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

17 years agoFix mmapped register alignment and endianness handling.
ths [Tue, 17 Apr 2007 16:28:29 +0000 (16:28 +0000)]
Fix mmapped register alignment and endianness handling.

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

17 years agoChoose number of TLBs at runtime, by Herve Poussineau.
ths [Tue, 17 Apr 2007 15:26:47 +0000 (15:26 +0000)]
Choose number of TLBs at runtime, by Herve Poussineau.

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

17 years agoMove PowerPC 405 specific definitions into a separate file
j_mayer [Tue, 17 Apr 2007 02:50:56 +0000 (02:50 +0000)]
Move PowerPC 405 specific definitions into a separate file
Preliminary code for -kernel option support for PowerPC 405 boards
Fix DBSR in case of PowerPC 405 chip reset
Add enums for PowerPC 405 clocks.
Fix IRQ numbers (IBM reversed bits numbering...)
Fix SPRG4-7 read access right
Fix MSR mask in CPU definitions

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

17 years agoSupport it_shift for mmapped pckbd.
ths [Mon, 16 Apr 2007 22:47:54 +0000 (22:47 +0000)]
Support it_shift for mmapped pckbd.

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

17 years agoAdd callbacks to allow dynamic change of PowerPC clocks (to be improved)
j_mayer [Mon, 16 Apr 2007 20:09:45 +0000 (20:09 +0000)]
Add callbacks to allow dynamic change of PowerPC clocks (to be improved)
Fix embedded PowerPC watchdog and timers
Fix PowerPC 405 SPR
Add generic PowerPC 405 core instanciation code + resets support.
Implement simple peripherals shared by most PowerPC 405 implementations
PowerPC 405 EC & EP microcontrollers preliminary support

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

17 years agoSparc host update (Ben Taylor, Martin Bochnig)
blueswir1 [Mon, 16 Apr 2007 18:27:06 +0000 (18:27 +0000)]
Sparc host update (Ben Taylor, Martin Bochnig)

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

17 years agoUpdate OpenBIOS Sparc images to SVN 125
blueswir1 [Mon, 16 Apr 2007 17:41:15 +0000 (17:41 +0000)]
Update OpenBIOS Sparc images to SVN 125

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

17 years agoAcer Pica 61 machine, by Herve Poussineau.
ths [Mon, 16 Apr 2007 17:23:27 +0000 (17:23 +0000)]
Acer Pica 61 machine, by Herve Poussineau.

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

17 years agoMemory-mapped interface for RTC, by Herve Poussineau.
ths [Mon, 16 Apr 2007 17:21:21 +0000 (17:21 +0000)]
Memory-mapped interface for RTC, by Herve Poussineau.

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

17 years agoMemory-mapped interface for PS/2 controller, by Herve Poussineau.
ths [Mon, 16 Apr 2007 17:20:48 +0000 (17:20 +0000)]
Memory-mapped interface for PS/2 controller, by Herve Poussineau.

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

17 years agoCleanup and add more PowerPC core definitions.
j_mayer [Mon, 16 Apr 2007 09:31:49 +0000 (09:31 +0000)]
Cleanup and add more PowerPC core definitions.

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

17 years agoPowerPC 4xx software driven TLB fixes + debug traces.
j_mayer [Mon, 16 Apr 2007 09:21:46 +0000 (09:21 +0000)]
PowerPC 4xx software driven TLB fixes + debug traces.
Add code provision for more MMU models support.

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

17 years agoAdd reset callbacks for PowerPC CPU.
j_mayer [Mon, 16 Apr 2007 08:56:52 +0000 (08:56 +0000)]
Add reset callbacks for PowerPC CPU.
Move cpu_ppc_init, cpu_ppc_close, cpu_ppc_reset and ppc_tlb_invalidate
into helper.c as they are to be called from outside of the translated code.

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

17 years agoPREP and heathrow machines only support PowerPC CPU with a 6xx bus.
j_mayer [Mon, 16 Apr 2007 07:41:07 +0000 (07:41 +0000)]
PREP and heathrow machines only support PowerPC CPU with a 6xx bus.
Mac99 machine may also support PowerPC 970 CPU.

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

17 years agoAdd bus model (or input pins) into PowerPC CPU flags.
j_mayer [Mon, 16 Apr 2007 07:34:39 +0000 (07:34 +0000)]
Add bus model (or input pins) into PowerPC CPU flags.
Add PowerPC 970 bus and exceptions model.
Add code provision for PowerPC 970 instanciation.

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

17 years agoPowerPC emulation bugfixes:
j_mayer [Mon, 16 Apr 2007 07:18:42 +0000 (07:18 +0000)]
PowerPC emulation bugfixes:
- don't generate multiple exit_tb at the end of conditional branches
- disable TRACE exception as it is not correct for embedded PowerPC.

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

17 years agoParallel flash bugfixes:
j_mayer [Mon, 16 Apr 2007 07:14:26 +0000 (07:14 +0000)]
Parallel flash bugfixes:
- always need to register flash area back to IO_MEM_ROMD at reset time
- disabled buffered write as it's not actually supported
- don't check flash time at registration time

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

17 years agoFix a lot of debug traces for PowerPC emulation: use logfile instead of stdout
j_mayer [Mon, 16 Apr 2007 07:10:48 +0000 (07:10 +0000)]
Fix a lot of debug traces for PowerPC emulation: use logfile instead of stdout

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

17 years agoSimplify branch likely handling.
ths [Mon, 16 Apr 2007 01:35:29 +0000 (01:35 +0000)]
Simplify branch likely handling.

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

17 years agoRemove unused variable.
pbrook [Sun, 15 Apr 2007 23:54:20 +0000 (23:54 +0000)]
Remove unused variable.

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

17 years agoDon't use T2 for INS, it conflicts with branch delay slot handling.
ths [Sun, 15 Apr 2007 21:26:37 +0000 (21:26 +0000)]
Don't use T2 for INS, it conflicts with branch delay slot handling.

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

17 years agoFix qemu SIGFPE caused by division-by-zero due to underflow.
ths [Sun, 15 Apr 2007 21:21:33 +0000 (21:21 +0000)]
Fix qemu SIGFPE caused by division-by-zero due to underflow.

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

17 years agoSmall code generation optimization.
ths [Sun, 15 Apr 2007 19:52:12 +0000 (19:52 +0000)]
Small code generation optimization.

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

17 years agoDelete unused define.
ths [Sun, 15 Apr 2007 17:27:07 +0000 (17:27 +0000)]
Delete unused define.

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

17 years agoGallileo fixes, by Stefan Weil.
ths [Sun, 15 Apr 2007 15:15:10 +0000 (15:15 +0000)]
Gallileo fixes, by Stefan Weil.

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

17 years agobFLT loader alignment fix.
pbrook [Sun, 15 Apr 2007 14:13:11 +0000 (14:13 +0000)]
bFLT loader alignment fix.

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

17 years agoUpdate OpenBIOS for Sparc32 and add a Sparc64 image
blueswir1 [Sun, 15 Apr 2007 06:38:29 +0000 (06:38 +0000)]
Update OpenBIOS for Sparc32 and add a Sparc64 image

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

17 years agoFix format specified for watchpoint address.
pbrook [Sat, 14 Apr 2007 22:35:50 +0000 (22:35 +0000)]
Fix format specified for watchpoint address.

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

17 years agoFix Sparc64 double float gdb protocol (initial version by Paul Brook)
blueswir1 [Sat, 14 Apr 2007 16:15:48 +0000 (16:15 +0000)]
Fix Sparc64 double float gdb protocol (initial version by Paul Brook)

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

17 years agoAdd device save and reset methods to FDC and M48T59
blueswir1 [Sat, 14 Apr 2007 13:01:31 +0000 (13:01 +0000)]
Add device save and reset methods to FDC and M48T59

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

17 years agoRestart interrupts after an exception.
ths [Sat, 14 Apr 2007 12:56:46 +0000 (12:56 +0000)]
Restart interrupts after an exception.

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

17 years agoKnow about more PCI device classes.
ths [Sat, 14 Apr 2007 12:24:46 +0000 (12:24 +0000)]
Know about more PCI device classes.

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

17 years agoFix incorrect pointers casts.
j_mayer [Sat, 14 Apr 2007 12:17:59 +0000 (12:17 +0000)]
Fix incorrect pointers casts.

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

17 years agoFix miscellaneous display warnings for PowerPC & alpha targets
j_mayer [Sat, 14 Apr 2007 12:17:09 +0000 (12:17 +0000)]
Fix miscellaneous display warnings for PowerPC & alpha targets
and parallel CFI flash driver.

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

17 years agoAdd TARGET_FMT_plx to properly display target_phys_addr_t variables.
j_mayer [Sat, 14 Apr 2007 12:15:36 +0000 (12:15 +0000)]
Add TARGET_FMT_plx to properly display target_phys_addr_t variables.

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

17 years agoNicer Log formatting.
ths [Fri, 13 Apr 2007 22:30:36 +0000 (22:30 +0000)]
Nicer Log formatting.

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

17 years agoAnother fix for CP0 Cause register handling.
ths [Fri, 13 Apr 2007 20:17:54 +0000 (20:17 +0000)]
Another fix for CP0 Cause register handling.

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

17 years agoFix Sparc32 device save methods
blueswir1 [Fri, 13 Apr 2007 19:24:07 +0000 (19:24 +0000)]
Fix Sparc32 device save methods

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

17 years agoFix Sparc64 wrfprs, move VIS ops where they belong, more VIS ops
blueswir1 [Fri, 13 Apr 2007 15:49:56 +0000 (15:49 +0000)]
Fix Sparc64 wrfprs, move VIS ops where they belong, more VIS ops

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

17 years agoAlignment check mechanism (not fully enabled yet) (Aurelien Jarno)
blueswir1 [Fri, 13 Apr 2007 15:46:16 +0000 (15:46 +0000)]
Alignment check mechanism (not fully enabled yet) (Aurelien Jarno)

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

17 years agoAdd PowerPC 405 input pins (IRQ, resets, ...) model.
j_mayer [Thu, 12 Apr 2007 21:24:29 +0000 (21:24 +0000)]
Add PowerPC 405 input pins (IRQ, resets, ...) model.

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

17 years agoEmbedded PowerPC Device Control Registers infrastructure.
j_mayer [Thu, 12 Apr 2007 21:11:03 +0000 (21:11 +0000)]
Embedded PowerPC Device Control Registers infrastructure.

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

17 years agoFix bad variable name.
ths [Wed, 11 Apr 2007 22:46:06 +0000 (22:46 +0000)]
Fix bad variable name.

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

17 years agoMake SYNCI_Step and CCRes CPU-specific.
ths [Wed, 11 Apr 2007 20:34:23 +0000 (20:34 +0000)]
Make SYNCI_Step and CCRes CPU-specific.

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

17 years agoThrow RI for invalid MFMC0-class instructions. Introduce optional
ths [Wed, 11 Apr 2007 02:24:14 +0000 (02:24 +0000)]
Throw RI for invalid MFMC0-class instructions. Introduce optional
MIPS_STRICT_STANDARD define to adhere more to the spec than it makes
sense in normal operation.

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

17 years agoCode formatting fix.
ths [Wed, 11 Apr 2007 02:15:08 +0000 (02:15 +0000)]
Code formatting fix.

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

17 years agoMore Context/Xcontext fixes. Ifdef some 64bit-only ops, they may
ths [Wed, 11 Apr 2007 02:13:00 +0000 (02:13 +0000)]
More Context/Xcontext fixes. Ifdef some 64bit-only ops, they may
end up empty for 32bit mips, which dyngen trips over.

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

17 years agoImplement embedded IRQ controller for PowerPC 6xx/740 & 750.
j_mayer [Mon, 9 Apr 2007 22:45:36 +0000 (22:45 +0000)]
Implement embedded IRQ controller for PowerPC 6xx/740 & 750.
Fix PowerPC external interrupt input handling and lowering.
Fix OpenPIC output pins management.
Fix multiples bugs in OpenPIC IRQ management.
Fix OpenPIC CPU(s) reset function.
Fix Mac99 machine to properly route OpenPIC outputs to the PowerPC input pins.
Fix PREP machine to properly route i8259 output to the PowerPC external
  interrupt pin.

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

17 years agoFix monitor disasm output for Sparc64 target
blueswir1 [Mon, 9 Apr 2007 15:14:57 +0000 (15:14 +0000)]
Fix monitor disasm output for Sparc64 target

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

17 years agoFix CP0_IntCtl handling.
ths [Mon, 9 Apr 2007 14:17:31 +0000 (14:17 +0000)]
Fix CP0_IntCtl handling.

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

17 years agoProper handling of reserved bits in the context register.
ths [Mon, 9 Apr 2007 14:16:30 +0000 (14:16 +0000)]
Proper handling of reserved bits in the context register.

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

17 years agoMark watchpoint features as unimplemented.
ths [Mon, 9 Apr 2007 14:15:41 +0000 (14:15 +0000)]
Mark watchpoint features as unimplemented.

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

17 years agoCatch unaligned sc/scd.
ths [Mon, 9 Apr 2007 14:14:21 +0000 (14:14 +0000)]
Catch unaligned sc/scd.

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

17 years agoFix exception handling cornercase for rdhwr.
ths [Mon, 9 Apr 2007 14:13:40 +0000 (14:13 +0000)]
Fix exception handling cornercase for rdhwr.

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

17 years agoRemove bogus mtc0 handling.
ths [Mon, 9 Apr 2007 12:31:31 +0000 (12:31 +0000)]
Remove bogus mtc0 handling.

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

17 years agoARM IRQ fix.
pbrook [Mon, 9 Apr 2007 02:01:57 +0000 (02:01 +0000)]
ARM IRQ fix.

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

17 years agoFix generated code disasm output on Sparc64 host
blueswir1 [Sun, 8 Apr 2007 11:22:29 +0000 (11:22 +0000)]
Fix generated code disasm output on Sparc64 host

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

17 years agoSparc32/64 CPU selection for user emulator
blueswir1 [Sun, 8 Apr 2007 06:29:06 +0000 (06:29 +0000)]
Sparc32/64 CPU selection for user emulator

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

17 years agoFix TCX base on SS10
blueswir1 [Sat, 7 Apr 2007 19:33:54 +0000 (19:33 +0000)]
Fix TCX base on SS10

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

17 years agoUnify IRQ handling.
pbrook [Sat, 7 Apr 2007 18:14:41 +0000 (18:14 +0000)]
Unify IRQ handling.

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

17 years agoPowerPC 64 fixes
j_mayer [Sat, 7 Apr 2007 11:48:04 +0000 (11:48 +0000)]
PowerPC 64 fixes

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

17 years agocpu_get_phys_page_debug should return target_phys_addr_t
j_mayer [Sat, 7 Apr 2007 11:21:28 +0000 (11:21 +0000)]
cpu_get_phys_page_debug should return target_phys_addr_t
 instead of target_ulong to be consistent.

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

17 years agoRemove dead code.
pbrook [Sat, 7 Apr 2007 01:41:49 +0000 (01:41 +0000)]
Remove dead code.

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

17 years agoRemove dead code.
pbrook [Sat, 7 Apr 2007 01:24:43 +0000 (01:24 +0000)]
Remove dead code.

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

17 years agoImplement prefx.
ths [Sat, 7 Apr 2007 01:11:39 +0000 (01:11 +0000)]
Implement prefx.

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

17 years agoSet proper BadVAddress value for unaligned instruction fetch.
ths [Sat, 7 Apr 2007 01:11:15 +0000 (01:11 +0000)]
Set proper BadVAddress value for unaligned instruction fetch.

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

17 years agoActually skip over delay slot for a non-taken branch likely.
ths [Sat, 7 Apr 2007 01:10:22 +0000 (01:10 +0000)]
Actually skip over delay slot for a non-taken branch likely.

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

17 years agoFix ins/ext cornercase.
ths [Sat, 7 Apr 2007 01:09:17 +0000 (01:09 +0000)]
Fix ins/ext cornercase.

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

17 years agoComment spelling fix.
pbrook [Fri, 6 Apr 2007 20:58:25 +0000 (20:58 +0000)]
Comment spelling fix.

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

17 years agoFull implementation of IEEE exceptions (Aurelien Jarno)
blueswir1 [Fri, 6 Apr 2007 20:03:29 +0000 (20:03 +0000)]
Full implementation of IEEE exceptions (Aurelien Jarno)

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

17 years agoEnforce even float register pair for double register ops (Aurelien Jarno)
blueswir1 [Fri, 6 Apr 2007 20:02:09 +0000 (20:02 +0000)]
Enforce even float register pair for double register ops (Aurelien Jarno)

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

17 years agoFix handling of ADES exceptions.
ths [Fri, 6 Apr 2007 19:31:06 +0000 (19:31 +0000)]
Fix handling of ADES exceptions.

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

17 years agoSave state for all CP0 instructions, they may throw a CPU exception.
ths [Fri, 6 Apr 2007 18:46:01 +0000 (18:46 +0000)]
Save state for all CP0 instructions, they may throw a CPU exception.

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

17 years agoUse correct type for card field.
pbrook [Fri, 6 Apr 2007 16:54:11 +0000 (16:54 +0000)]
Use correct type for card field.

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

17 years agoSD card emulation (initial implementation by Andrzei Zaborowski).
pbrook [Fri, 6 Apr 2007 16:49:48 +0000 (16:49 +0000)]
SD card emulation (initial implementation by Andrzei Zaborowski).

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

17 years agoCode provision for x86_64 and PowerPC 64 linux user mode support.
j_mayer [Fri, 6 Apr 2007 08:56:50 +0000 (08:56 +0000)]
Code provision for x86_64 and PowerPC 64 linux user mode support.

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

17 years agoAdd alpha targets.
j_mayer [Fri, 6 Apr 2007 08:07:06 +0000 (08:07 +0000)]
Add alpha targets.
Code provision for x86_64 and PowerPC 64 linux user targets.

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

17 years agoFix for PowerPC 64 rotates.
j_mayer [Fri, 6 Apr 2007 07:59:47 +0000 (07:59 +0000)]
Fix for PowerPC 64 rotates.
Fix for PowerPC 64 load & store with immediate index.

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

17 years agoCode provision for 64 bits linux user-mode targets support.
j_mayer [Fri, 6 Apr 2007 06:40:51 +0000 (06:40 +0000)]
Code provision for 64 bits linux user-mode targets support.

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

17 years agofix branch delay slot cornercases.
ths [Thu, 5 Apr 2007 23:21:37 +0000 (23:21 +0000)]
fix branch delay slot cornercases.

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

17 years agoFix rotr immediate ops, mask shift/rotate arguments to their allowed
ths [Thu, 5 Apr 2007 23:20:05 +0000 (23:20 +0000)]
Fix rotr immediate ops, mask shift/rotate arguments to their allowed
size.

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

17 years agoHandle EBase properly.
ths [Thu, 5 Apr 2007 23:18:13 +0000 (23:18 +0000)]
Handle EBase properly.

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

17 years agoFix disabling of the Cause register for R2.
ths [Thu, 5 Apr 2007 23:17:40 +0000 (23:17 +0000)]
Fix disabling of the Cause register for R2.

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

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