qemu
17 years agoRemove repeated code and enable encrypted SD cards and USB sticks images.
balrog [Mon, 30 Apr 2007 01:34:31 +0000 (01:34 +0000)]
Remove repeated code and enable encrypted SD cards and USB sticks images.

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

17 years agoCore features of ARM XScale processors. Main PXA270 and PXA255 peripherals.
balrog [Mon, 30 Apr 2007 01:26:42 +0000 (01:26 +0000)]
Core features of ARM XScale processors. Main PXA270 and PXA255 peripherals.

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

17 years agoPCMCIA bus support. Parts of CF-ATA command set. Hitachi DSCM microdrive emulation.
balrog [Mon, 30 Apr 2007 00:51:09 +0000 (00:51 +0000)]
PCMCIA bus support. Parts of CF-ATA command set. Hitachi DSCM microdrive emulation.

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

17 years agoKill broken host register definitions, thanks to Paul Brook and Herve
ths [Sun, 29 Apr 2007 21:26:37 +0000 (21:26 +0000)]
Kill broken host register definitions, thanks to Paul Brook and Herve
Poussineau for debugging this.

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

17 years agoRevert last checkin.
ths [Sun, 29 Apr 2007 21:19:03 +0000 (21:19 +0000)]
Revert last checkin.

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

17 years agoHopefully the final fix for LUI sign extensions.
ths [Sun, 29 Apr 2007 20:13:19 +0000 (20:13 +0000)]
Hopefully the final fix for LUI sign extensions.

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

17 years agoMore Sparc32 CPUs
blueswir1 [Sun, 29 Apr 2007 19:54:32 +0000 (19:54 +0000)]
More Sparc32 CPUs

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

17 years agoFix CPU type zapped by system_reset
blueswir1 [Sun, 29 Apr 2007 19:49:15 +0000 (19:49 +0000)]
Fix CPU type zapped by system_reset

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

17 years agoFix ARM fine pagetables.
pbrook [Sun, 29 Apr 2007 19:06:34 +0000 (19:06 +0000)]
Fix ARM fine pagetables.

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

17 years agoCrop VNC update requests to avoid segfaults, by Thomas Tuttle.
ths [Sun, 29 Apr 2007 01:53:20 +0000 (01:53 +0000)]
Crop VNC update requests to avoid segfaults, by Thomas Tuttle.

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

17 years agoMemory-mapped interface for VGA, by Herve Poussineau.
ths [Sun, 29 Apr 2007 01:47:26 +0000 (01:47 +0000)]
Memory-mapped interface for VGA, by Herve Poussineau.

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

17 years agoUpdate TODO.
ths [Sat, 28 Apr 2007 21:44:04 +0000 (21:44 +0000)]
Update TODO.

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

17 years agoSwitch default CPU to 24Kf for now, as the Linux FPU emulation in
ths [Sat, 28 Apr 2007 21:07:41 +0000 (21:07 +0000)]
Switch default CPU to 24Kf for now, as the Linux FPU emulation in
the current qemu mips emulation fails in some cases. (The Linux
FPU emulation works on real FPU-less hardware.)

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

17 years agoFix typo, by Linus Nordberg.
ths [Sat, 28 Apr 2007 20:49:36 +0000 (20:49 +0000)]
Fix typo, by Linus Nordberg.

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

17 years agoBuffer length fixes, by Wang Cheng Yeh.
ths [Sat, 28 Apr 2007 20:47:59 +0000 (20:47 +0000)]
Buffer length fixes, by Wang Cheng Yeh.

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

17 years agoFix length mismatch condition, by Wang Cheng Yeh.
ths [Sat, 28 Apr 2007 20:45:04 +0000 (20:45 +0000)]
Fix length mismatch condition, by Wang Cheng Yeh.

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

17 years agoUpdate ppc.ld to work with newer binutils.
ths [Sat, 28 Apr 2007 19:00:30 +0000 (19:00 +0000)]
Update ppc.ld to work with newer binutils.

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

17 years agoFix Sparc32 ldscript
blueswir1 [Sat, 28 Apr 2007 15:18:14 +0000 (15:18 +0000)]
Fix Sparc32 ldscript

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

17 years agoWorkaround qemu guest SIGSEGVs with cmpxchg8b insn, by Juergen Keil.
ths [Fri, 27 Apr 2007 00:01:20 +0000 (00:01 +0000)]
Workaround qemu guest SIGSEGVs with cmpxchg8b insn, by Juergen Keil.

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

17 years agoFix inc8 and dec8 operations, by Magnus Damm.
ths [Thu, 26 Apr 2007 23:50:46 +0000 (23:50 +0000)]
Fix inc8 and dec8 operations, by Magnus Damm.

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

17 years agoUse 16-bit uid wrappers, by Magnus Damm.
ths [Thu, 26 Apr 2007 23:49:45 +0000 (23:49 +0000)]
Use 16-bit uid wrappers, by Magnus Damm.

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

17 years agoFix opcode for sts.l fpul/cpscr, by Magnus Damm.
ths [Thu, 26 Apr 2007 23:48:49 +0000 (23:48 +0000)]
Fix opcode for sts.l fpul/cpscr, by Magnus Damm.

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

17 years agoUpdate Sparc32 rom to support *BSD boot and 24 bit TCX
blueswir1 [Thu, 26 Apr 2007 18:32:00 +0000 (18:32 +0000)]
Update Sparc32 rom to support *BSD boot and 24 bit TCX

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

17 years agoNext attempt to get the lui sign extension right.
ths [Wed, 25 Apr 2007 16:41:11 +0000 (16:41 +0000)]
Next attempt to get the lui sign extension right.

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

17 years agoFix lui sign extension.
ths [Wed, 25 Apr 2007 13:58:52 +0000 (13:58 +0000)]
Fix lui sign extension.

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

17 years agoImproved mini-bootloader, based on a patch by Alec Voropay.
ths [Tue, 24 Apr 2007 22:57:37 +0000 (22:57 +0000)]
Improved mini-bootloader, based on a patch by Alec Voropay.

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

17 years agoUpdate PowerPC target status.
j_mayer [Tue, 24 Apr 2007 07:51:56 +0000 (07:51 +0000)]
Update PowerPC target status.

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

17 years agoUpdate .cvsignore for new PowerPC embedded target.
j_mayer [Tue, 24 Apr 2007 07:43:37 +0000 (07:43 +0000)]
Update .cvsignore for new PowerPC embedded target.

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

17 years agoEvaluation boards for PowerPC 405EP.
j_mayer [Tue, 24 Apr 2007 07:40:49 +0000 (07:40 +0000)]
Evaluation boards for PowerPC 405EP.

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

17 years agoDebug traces fixes.
j_mayer [Tue, 24 Apr 2007 07:36:03 +0000 (07:36 +0000)]
Debug traces fixes.

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

17 years agoNew target for embedded PowerPC emulation (only system emulation, for now).
j_mayer [Tue, 24 Apr 2007 07:34:03 +0000 (07:34 +0000)]
New target for embedded PowerPC emulation (only system emulation, for now).

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

17 years agoAdd -pflash option to register parallel flash bloc devices.
j_mayer [Tue, 24 Apr 2007 06:52:59 +0000 (06:52 +0000)]
Add -pflash option to register parallel flash bloc devices.

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

17 years agoCode provision for new PowerPC embedded target support with:
j_mayer [Tue, 24 Apr 2007 06:50:21 +0000 (06:50 +0000)]
Code provision for new PowerPC embedded target support with:
- 1 kB page size
- 64 bits GPR
- 64 bits physical address space
- SPE extension support.
Change TARGET_PPCSPE into TARGET_PPCEMB

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

17 years agoImprove PowerPC 405 MMU model / share more code for other embedded targets
j_mayer [Tue, 24 Apr 2007 06:44:14 +0000 (06:44 +0000)]
Improve PowerPC 405 MMU model / share more code for other embedded targets
support.
Fix PowerPC 405 MSR mask.

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

17 years agoPowerPC 405 microcontrollers fixes and improvments:
j_mayer [Tue, 24 Apr 2007 06:37:21 +0000 (06:37 +0000)]
PowerPC 405 microcontrollers fixes and improvments:
- use target_phys_addr_t for physical addresses / offsets
- implement fake general purpose timers and memory access layer
  for PowerPC 405EP
- more assigned internal IRQs.

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

17 years agoPowerPC embedded timers fixes.
j_mayer [Tue, 24 Apr 2007 06:32:00 +0000 (06:32 +0000)]
PowerPC embedded timers fixes.
Improve PowerPC timers debug.

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

17 years agoSparc64 update: more VIS ops
blueswir1 [Sun, 22 Apr 2007 19:14:52 +0000 (19:14 +0000)]
Sparc64 update: more VIS ops

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

17 years agoTypo fix, by Wang Cheng Yeh.
ths [Sun, 22 Apr 2007 17:18:38 +0000 (17:18 +0000)]
Typo fix, by Wang Cheng Yeh.

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

17 years agoCheck that HOST_SOLARIS is defined before relying on its value.
ths [Sun, 22 Apr 2007 17:16:54 +0000 (17:16 +0000)]
Check that HOST_SOLARIS is defined before relying on its value.
Spotted by Joachim Henke.

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

17 years agoConstification
blueswir1 [Sun, 22 Apr 2007 12:45:28 +0000 (12:45 +0000)]
Constification

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

17 years agoTCX 24 bit model support
blueswir1 [Sat, 21 Apr 2007 19:45:49 +0000 (19:45 +0000)]
TCX 24 bit model support

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

17 years agoFix keyboard serial and mouse bugs
blueswir1 [Fri, 20 Apr 2007 19:35:25 +0000 (19:35 +0000)]
Fix keyboard serial and mouse bugs

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

17 years agoUpdate comment. We can't easily adhere to the architecture spec because
ths [Thu, 19 Apr 2007 16:35:09 +0000 (16:35 +0000)]
Update comment. We can't easily adhere to the architecture spec because
it would involve counting the actually executed instructions.

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

17 years agoMore Gallileo register initialization, by Aurelien Jarno and Stefan Weil.
ths [Thu, 19 Apr 2007 15:38:26 +0000 (15:38 +0000)]
More Gallileo register initialization, by Aurelien Jarno and Stefan Weil.

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

17 years agoNo functional changes:
j_mayer [Thu, 19 Apr 2007 08:42:21 +0000 (08:42 +0000)]
No functional changes:
- compilation warning fixes
- make loglevel tests consistent
- use cpu_abort instead of printf(...); exit

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

17 years agotermios structure definition fix by Stuart Anderson.
j_mayer [Thu, 19 Apr 2007 07:17:50 +0000 (07:17 +0000)]
termios structure definition fix by Stuart Anderson.

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

17 years agoDuplicated SPR fix for BookE PowerPC by Guglielmo Morandin
j_mayer [Thu, 19 Apr 2007 07:16:51 +0000 (07:16 +0000)]
Duplicated SPR fix for BookE PowerPC by Guglielmo Morandin

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

17 years agoFix keyboard detection bugs
blueswir1 [Wed, 18 Apr 2007 19:21:38 +0000 (19:21 +0000)]
Fix keyboard detection bugs

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

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