sdk/emulator/qemu.git
17 years agoWork around gcc's mips define, spotted by Stefan Weil.
ths [Tue, 8 May 2007 20:51:26 +0000 (20:51 +0000)]
Work around gcc's mips define, spotted by Stefan Weil.

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

17 years agoSet OOK when OON is set in OSCC register (thanks to BobOfDoom). Correct a fatal...
balrog [Tue, 8 May 2007 19:20:04 +0000 (19:20 +0000)]
Set OOK when OON is set in OSCC register (thanks to BobOfDoom).  Correct a fatal typo in timer code.

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

17 years agoSwitch to qemu_ram_alloc() for memory allocation in PXA255/270.
balrog [Tue, 8 May 2007 19:03:12 +0000 (19:03 +0000)]
Switch to qemu_ram_alloc() for memory allocation in PXA255/270.
Pass correct RAM size to arm_load_kernel (currently unused) - thanks to BobOfDoom.
Register the Xscale Internal Memory Storage.

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

17 years agoARM946 CPU support.
pbrook [Tue, 8 May 2007 02:30:40 +0000 (02:30 +0000)]
ARM946 CPU support.

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

17 years agoEnable unaligned access faults
blueswir1 [Mon, 7 May 2007 18:05:05 +0000 (18:05 +0000)]
Enable unaligned access faults

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

17 years agoUpdate OpenBIOS/Sparc32 to SVN 144. Changes:
blueswir1 [Mon, 7 May 2007 17:59:32 +0000 (17:59 +0000)]
Update OpenBIOS/Sparc32 to SVN 144. Changes:
 - Fix power-management location
 - Fix out of bounds accesses
 - Increase virtual memory supply to meet NetBSD and OpenBSD demand
 - More obviously alarming return values for find_pte
 - Fix unaligned memory access
 - Fix memory corruption problems reported by glibc
 - Fix boot-device use
 - Use nvram boot-args and boot-device variables
 - Set variable defaults before nvram_init
 - Improve escape sequence handling
 - Fix nvram parameter area
 - More Sparc32 CPUs
 - Clear preloaded kernel parameters to avoid crash at reset

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

17 years agoFix pc/npc for unaligned load/stores, maybe other exceptions
blueswir1 [Mon, 7 May 2007 17:01:15 +0000 (17:01 +0000)]
Fix pc/npc for unaligned load/stores, maybe other exceptions

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

17 years agoMIPS 64-bit FPU support, plus some collateral bugfixes in the
ths [Mon, 7 May 2007 13:55:33 +0000 (13:55 +0000)]
MIPS 64-bit FPU support, plus some collateral bugfixes in the
conditional branch handling.

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

17 years agoUpdate TODO.
ths [Mon, 7 May 2007 12:52:18 +0000 (12:52 +0000)]
Update TODO.

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

17 years agoClear BD slot on next exception if appropriate.
ths [Mon, 7 May 2007 12:46:25 +0000 (12:46 +0000)]
Clear BD slot on next exception if appropriate.

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

17 years agoReport unassigned memory access to CPU (not enabled yet)
blueswir1 [Sun, 6 May 2007 17:59:24 +0000 (17:59 +0000)]
Report unassigned memory access to CPU (not enabled yet)

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

17 years agoAdd dummy THC and TEC registers to TCX
blueswir1 [Sun, 6 May 2007 17:39:55 +0000 (17:39 +0000)]
Add dummy THC and TEC registers to TCX

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

17 years agoFix slavio_misc base
blueswir1 [Sun, 6 May 2007 17:33:14 +0000 (17:33 +0000)]
Fix slavio_misc base

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

17 years agoFix a really stupid bug in the [ls]d[lr] emulation, by Herve Poussineau.
ths [Sat, 5 May 2007 20:13:13 +0000 (20:13 +0000)]
Fix a really stupid bug in the [ls]d[lr] emulation, by Herve Poussineau.

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

17 years agoLinker scripts for MIPS hosts.
ths [Sat, 5 May 2007 19:24:38 +0000 (19:24 +0000)]
Linker scripts for MIPS hosts.

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

17 years agoSome bits of Linux/MIPS host support, still segfaulty.
ths [Sat, 5 May 2007 19:23:11 +0000 (19:23 +0000)]
Some bits of Linux/MIPS host support, still segfaulty.

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

17 years agoSupport for simple YAMON output, by Alec Voropay.
ths [Fri, 4 May 2007 14:34:34 +0000 (14:34 +0000)]
Support for simple YAMON output, by Alec Voropay.

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

17 years agoRemove obsolete variables that came with VMware svga by mistake.
balrog [Thu, 3 May 2007 10:13:54 +0000 (10:13 +0000)]
Remove obsolete variables that came with VMware svga by mistake.

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

17 years agoChange the PCI IO region start to that hardcoded in VBE bios (reported by Jeremy...
balrog [Thu, 3 May 2007 10:09:56 +0000 (10:09 +0000)]
Change the PCI IO region start to that hardcoded in VBE bios (reported by Jeremy Katz)

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

17 years agoHandle division by zero case in Sparc64 udivx and sdivx ops
blueswir1 [Wed, 2 May 2007 16:37:44 +0000 (16:37 +0000)]
Handle division by zero case in Sparc64 udivx and sdivx ops

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

17 years agoDon't define HIGH_LATENCY for ARM, this was a workaround for an ALSA problem.
balrog [Wed, 2 May 2007 02:11:51 +0000 (02:11 +0000)]
Don't define HIGH_LATENCY for ARM, this was a workaround for an ALSA problem.

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

17 years agoCorrect a docs typo and list of available NIC names (by Stefan Weil).
balrog [Tue, 1 May 2007 17:53:37 +0000 (17:53 +0000)]
Correct a docs typo and list of available NIC names (by Stefan Weil).

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

17 years agoSet OpenBIOS variables in NVRAM
blueswir1 [Tue, 1 May 2007 14:16:52 +0000 (14:16 +0000)]
Set OpenBIOS variables in NVRAM

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

17 years ago-show-cursor switch to inhibit SDL hiding cursor.
balrog [Tue, 1 May 2007 01:34:14 +0000 (01:34 +0000)]
-show-cursor switch to inhibit SDL hiding cursor.

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

17 years agoImplement power state changes (IDLE and SLEEP) for PXA.
balrog [Tue, 1 May 2007 01:28:01 +0000 (01:28 +0000)]
Implement power state changes (IDLE and SLEEP) for PXA.

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

17 years agoHonour limited subset of --cpu values instead of ignoring.
balrog [Tue, 1 May 2007 01:03:32 +0000 (01:03 +0000)]
Honour limited subset of --cpu values instead of ignoring.

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

17 years agoRemove the use of Linux / BSD specific asprintf call.
balrog [Mon, 30 Apr 2007 18:43:50 +0000 (18:43 +0000)]
Remove the use of Linux / BSD specific asprintf call.

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

17 years agoPL050 status register fixes.
pbrook [Mon, 30 Apr 2007 02:39:55 +0000 (02:39 +0000)]
PL050 status register fixes.

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

17 years agoAdd missing gpio_handler_t definition.
balrog [Mon, 30 Apr 2007 02:33:10 +0000 (02:33 +0000)]
Add missing gpio_handler_t definition.

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

17 years agoAccount for machine with RAM which is not mapped at 0x0 in arm_boot.c.
balrog [Mon, 30 Apr 2007 02:24:42 +0000 (02:24 +0000)]
Account for machine with RAM which is not mapped at 0x0 in arm_boot.c.

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

17 years agoSpitz PDA, example PXA270 machine (four similar models).
balrog [Mon, 30 Apr 2007 02:22:06 +0000 (02:22 +0000)]
Spitz PDA, example PXA270 machine (four similar models).

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

17 years agoMaxim MAX1110/1111 ADC chip.
balrog [Mon, 30 Apr 2007 02:14:00 +0000 (02:14 +0000)]
Maxim MAX1110/1111 ADC chip.

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

17 years agoTexas Instruments ADS7846 ADC chip.
balrog [Mon, 30 Apr 2007 02:12:42 +0000 (02:12 +0000)]
Texas Instruments ADS7846 ADC chip.

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

17 years agoNAND Flash memory emulation and ECC calculation helpers for use by NAND controllers.
balrog [Mon, 30 Apr 2007 02:09:25 +0000 (02:09 +0000)]
NAND Flash memory emulation and ECC calculation helpers for use by NAND controllers.

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

17 years agoImplement iwMMXt instruction set for the PXA270 cpu.
balrog [Mon, 30 Apr 2007 02:02:17 +0000 (02:02 +0000)]
Implement iwMMXt instruction set for the PXA270 cpu.

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

17 years agoAdd remaining PXA2xx on-chip peripherals except I2C master.
balrog [Mon, 30 Apr 2007 01:48:07 +0000 (01:48 +0000)]
Add remaining PXA2xx on-chip peripherals except I2C 

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

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