sdk/emulator/qemu.git
17 years agoWindows: redirect serial port to console, by Herve Poussineau.
ths [Sun, 13 May 2007 14:54:54 +0000 (14:54 +0000)]
Windows: redirect serial port to console, by Herve Poussineau.

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

17 years agoDon't decode CP0 XContext on 32bit MIPS.
ths [Sun, 13 May 2007 14:42:18 +0000 (14:42 +0000)]
Don't decode CP0 XContext on 32bit MIPS.

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

17 years agoMMU code improvements, by Aurelien Jarno.
ths [Sun, 13 May 2007 14:07:26 +0000 (14:07 +0000)]
MMU code improvements, by Aurelien Jarno.

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

17 years agoMIPS linux-user update.
ths [Sun, 13 May 2007 13:58:00 +0000 (13:58 +0000)]
MIPS linux-user update.

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

17 years agoMIPS TLB style selection at runtime, by Herve Poussineau.
ths [Sun, 13 May 2007 13:49:44 +0000 (13:49 +0000)]
MIPS TLB style selection at runtime, by Herve Poussineau.

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

17 years agoAllow VMware-SVGA operation enable before command FIFO is configured. Implement...
balrog [Sun, 13 May 2007 13:26:49 +0000 (13:26 +0000)]
Allow VMware-SVGA operation enable before command FIFO is configured.  Implement "screendump" for 32 bit colour depth.

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

17 years agoUpdate debug output.
ths [Sat, 12 May 2007 16:57:42 +0000 (16:57 +0000)]
Update debug output.

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

17 years agoCorrect NAND erase block size. Misc fixes in Spitz code.
balrog [Sat, 12 May 2007 09:19:36 +0000 (09:19 +0000)]
Correct NAND erase block size.  Misc fixes in Spitz code.

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

17 years agoFix softfloat NaN handling.
ths [Fri, 11 May 2007 17:10:14 +0000 (17:10 +0000)]
Fix softfloat NaN handling.

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

17 years agoImplemented cabs FP instructions, and improve exception handling for
ths [Fri, 11 May 2007 17:08:26 +0000 (17:08 +0000)]
Implemented cabs FP instructions, and improve exception handling for
trunc/floor/ceil/round.

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

17 years agoAnother bit of nicer debug output.
ths [Fri, 11 May 2007 10:43:55 +0000 (10:43 +0000)]
Another bit of nicer debug output.

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

17 years agoImplement FP madd/msub, wire up bc1any[24][ft].
ths [Fri, 11 May 2007 09:59:10 +0000 (09:59 +0000)]
Implement FP madd/msub, wire up bc1any[24][ft].

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

17 years agoImproved debug output for the MIPS opcode decoder.
ths [Fri, 11 May 2007 00:16:06 +0000 (00:16 +0000)]
Improved debug output for the MIPS opcode decoder.

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

17 years agoFix missing status ro mask initialization, thanks Stefan Weil.
ths [Fri, 11 May 2007 00:02:14 +0000 (00:02 +0000)]
Fix missing status ro mask initialization, thanks Stefan Weil.

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

17 years agoFix for the scd instruction, by Aurelien Jarno.
ths [Thu, 10 May 2007 00:51:01 +0000 (00:51 +0000)]
Fix for the scd instruction, by Aurelien Jarno.

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

17 years agoFix wrong branch condition in MIPS testandset.
ths [Thu, 10 May 2007 00:33:40 +0000 (00:33 +0000)]
Fix wrong branch condition in MIPS testandset.

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

17 years agoPCMCIA addresses are 26-bit, widen the address type from 16 to 32 bits.
balrog [Wed, 9 May 2007 20:25:36 +0000 (20:25 +0000)]
PCMCIA addresses are 26-bit, widen the address type from 16 to 32 bits.

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

17 years agoAvoid use of which to detect gcc, as it is broken on darwin. Patch by
ths [Wed, 9 May 2007 14:06:06 +0000 (14:06 +0000)]
Avoid use of which to detect gcc, as it is broken on darwin. Patch by
Joachim Henke.

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

17 years agoSuppress warning messages from "which".
ths [Wed, 9 May 2007 13:55:03 +0000 (13:55 +0000)]
Suppress warning messages from "which".

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

17 years agoPreliminary MIPS 64-bit MMU implementation, by Aurelien Jarno.
ths [Wed, 9 May 2007 09:34:30 +0000 (09:34 +0000)]
Preliminary MIPS 64-bit MMU implementation, by Aurelien Jarno.

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

17 years agoFix MIPS64 address computation specialcase, by Aurelien Jarno.
ths [Wed, 9 May 2007 09:33:33 +0000 (09:33 +0000)]
Fix MIPS64 address computation specialcase, by Aurelien Jarno.

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

17 years agoAnother #elif'ication.
ths [Tue, 8 May 2007 23:40:45 +0000 (23:40 +0000)]
Another #elif'ication.

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

17 years agoMake detection of unsupported hosts easier, inspired by a patch from
ths [Tue, 8 May 2007 23:30:44 +0000 (23:30 +0000)]
Make detection of unsupported hosts easier, inspired by a patch from
Stefan Weil.

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

17 years agoSpelling fixes, by Stefan Weil.
ths [Tue, 8 May 2007 22:51:41 +0000 (22:51 +0000)]
Spelling fixes, by Stefan Weil.

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

17 years agoCorrect the number of PXA255 GPIO lines. Reuse the PXA timers struct for PXA27x...
balrog [Tue, 8 May 2007 22:51:00 +0000 (22:51 +0000)]
Correct the number of PXA255 GPIO lines.  Reuse the PXA timers struct for PXA27x additional timers.

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

17 years agoAnother bunch of mips host support.
ths [Tue, 8 May 2007 21:05:55 +0000 (21:05 +0000)]
Another bunch of mips host support.

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

17 years agoSilence sdl-config stderr output, by Jeff Chua.
ths [Tue, 8 May 2007 20:57:52 +0000 (20:57 +0000)]
Silence sdl-config stderr output, by Jeff Chua.

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

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