]> git.proxmox.com Git - mirror_qemu.git/log
mirror_qemu.git
16 years agoMention userland strace support, and mipssim machine emulation.
ths [Thu, 1 Nov 2007 00:11:47 +0000 (00:11 +0000)]
Mention userland strace support, and mipssim machine emulation.

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

16 years agoStrace for userland emulation, by Stuart Anderson and Thayne Harbaugh.
ths [Thu, 1 Nov 2007 00:07:38 +0000 (00:07 +0000)]
Strace for userland emulation, by Stuart Anderson and Thayne Harbaugh.

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

16 years agoFix CR ops with complement, thanks to Julian Seward for testing
j_mayer [Wed, 31 Oct 2007 22:02:17 +0000 (22:02 +0000)]
Fix CR ops with complement, thanks to Julian Seward for testing
                            and reporting the bug :
* remove bugged CR ops specific micro-ops
* use standard and / or / shift operations instead
* comment not-used-anymore op_store_T1_crf_crf micro-op template.

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

16 years agoAdd copyright and license header.
ths [Wed, 31 Oct 2007 17:14:08 +0000 (17:14 +0000)]
Add copyright and license header.

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

16 years agoCorrect the WBINVD intercept in SVM (Alexander Graf).
balrog [Wed, 31 Oct 2007 02:01:33 +0000 (02:01 +0000)]
Correct the WBINVD intercept in SVM (Alexander Graf).

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

16 years agoHandle 3.7 VNC clients authentication correctly (Dan Kenigsberg).
balrog [Wed, 31 Oct 2007 01:58:56 +0000 (01:58 +0000)]
Handle 3.7 VNC clients authentication correctly (Dan Kenigsberg).

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

16 years agoSet boot sequence from command line (Dan Kenigsberg).
balrog [Wed, 31 Oct 2007 01:54:04 +0000 (01:54 +0000)]
Set boot sequence from command line (Dan Kenigsberg).

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

16 years agoSupport multipart images as input to qemu-img (Salvador Fandino).
balrog [Wed, 31 Oct 2007 01:11:44 +0000 (01:11 +0000)]
Support multipart images as input to qemu-img (Salvador Fandino).

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

16 years agoAdd gcc-3.4.6 to the list of gcc3 versions (Carlo Marcelo Arenas Belon).
balrog [Wed, 31 Oct 2007 01:03:28 +0000 (01:03 +0000)]
Add gcc-3.4.6 to the list of gcc3 versions (Carlo Marcelo Arenas Belon).
Add --disable-sdl to configure's help (Carlo Marcelo Arenas Belon).

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

16 years agoInvalidate TLBs when domains are changed (Matthew Warton).
balrog [Wed, 31 Oct 2007 00:47:13 +0000 (00:47 +0000)]
Invalidate TLBs when domains are changed (Matthew Warton).
Legalise cp15 pid register writes (Matthew Warton).

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

16 years agoOHCI USB isochronous transfers support (Arnon Gilboa).
balrog [Wed, 31 Oct 2007 00:34:21 +0000 (00:34 +0000)]
OHCI USB isochronous transfers support (Arnon Gilboa).

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

16 years agoUse a O_NONBLOCK pipe for iso completion signals for thread-safety, by Arnon Gilboa.
balrog [Wed, 31 Oct 2007 00:27:50 +0000 (00:27 +0000)]
Use a O_NONBLOCK pipe for iso completion signals for thread-safety, by Arnon Gilboa.

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

16 years agox86_64 support in cpu_gdb_read_registers(), by Goran Weinholt.
balrog [Wed, 31 Oct 2007 00:21:35 +0000 (00:21 +0000)]
x86_64 support in cpu_gdb_read_registers(), by Goran Weinholt.

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

16 years agoDeclare function before use, reduces compiler warning noise.
ths [Tue, 30 Oct 2007 23:19:52 +0000 (23:19 +0000)]
Declare function before use, reduces compiler warning noise.

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

16 years agoMiscellaneous VNC related fixes from Xen forwarded by Matthew Kent.
balrog [Tue, 30 Oct 2007 22:38:53 +0000 (22:38 +0000)]
Miscellaneous VNC related fixes from Xen forwarded by Matthew Kent.

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

16 years agoDo not make NETLINK socket connections possible (Alexander Graf).
balrog [Tue, 30 Oct 2007 21:06:14 +0000 (21:06 +0000)]
Do not make NETLINK socket connections possible (Alexander Graf).

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

16 years agoFix two PowerPC FPU emulation bugs (thanks to Aurelien Jarno)
j_mayer [Mon, 29 Oct 2007 21:54:35 +0000 (21:54 +0000)]
Fix two PowerPC FPU emulation bugs (thanks to Aurelien Jarno)

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

16 years agoAdjust s390 addresses (the MSB is defined as "to be ignored").
ths [Mon, 29 Oct 2007 14:39:49 +0000 (14:39 +0000)]
Adjust s390 addresses (the MSB is defined as "to be ignored").

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

16 years agoAdd a qemu_irq_invert() shortcut for inverting a signal.
balrog [Mon, 29 Oct 2007 10:59:29 +0000 (10:59 +0000)]
Add a qemu_irq_invert() shortcut for inverting a signal.

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

16 years agoAdd a TI TSC2102 chip (touchscreen/ADC/audio-CODEC controller).
balrog [Mon, 29 Oct 2007 10:34:01 +0000 (10:34 +0000)]
Add a TI TSC2102 chip (touchscreen/ADC/audio-CODEC controller).
Fix GPIO memory mapping address and register width.

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

16 years agoFix PreP PCI IRQ mapping.
j_mayer [Mon, 29 Oct 2007 10:24:59 +0000 (10:24 +0000)]
Fix PreP PCI IRQ mapping.

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

16 years agoTemporary hack to avoid Qemu crash at PowerPC reset time.
j_mayer [Mon, 29 Oct 2007 10:22:58 +0000 (10:22 +0000)]
Temporary hack to avoid Qemu crash at PowerPC reset time.

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

16 years agoImplement PreP reset port.
j_mayer [Mon, 29 Oct 2007 10:21:12 +0000 (10:21 +0000)]
Implement PreP reset port.

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

16 years agoPowerPC 601 / 620 / 970 need a 1MB firmware.
j_mayer [Mon, 29 Oct 2007 10:19:50 +0000 (10:19 +0000)]
PowerPC 601 / 620 / 970 need a 1MB firmware.
This option is not allowed for PowerMac, as it would overlap with NVRAM.

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

16 years agoPreliminary MIPS64R2 mode.
ths [Mon, 29 Oct 2007 09:38:43 +0000 (09:38 +0000)]
Preliminary MIPS64R2 mode.

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

16 years agoFix logic bug which broke TLBL/TLBS handling somewhat.
ths [Mon, 29 Oct 2007 02:57:19 +0000 (02:57 +0000)]
Fix logic bug which broke TLBL/TLBS handling somewhat.

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

16 years agoImplement OMAP MicroWire controller.
balrog [Mon, 29 Oct 2007 01:50:05 +0000 (01:50 +0000)]
Implement OMAP MicroWire controller.
Fix GPIO interrupt number.
Reorder a couple of variables.

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

16 years agoRestrict CP0_PerfCnt to legal values.
ths [Mon, 29 Oct 2007 00:49:32 +0000 (00:49 +0000)]
Restrict CP0_PerfCnt to legal values.

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

16 years ago* sort the PowerPC target object files
j_mayer [Sun, 28 Oct 2007 23:42:18 +0000 (23:42 +0000)]
* sort the PowerPC target object files
* make PowerPC NVRAM accessors generic to be able to use a MacIO NVRAM
  instead of the M48T59 one
* split PowerMac targets code:
 - move all PowerMac related definitions and prototypes into hw/ppc_mac.h
 - add hw/mac_dbdma.c, hw/mac_nvram.c and macio.c
   which implements shared PowerMac devices
 - define the g3bw machine in a new hw/ppc_oldworld.c file
* Fix the g3bw target:
 - fix the Grackle host PCI device
 - connect the Heathrow PIC to the PowerPC 6xx bus pins

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

16 years agoGive an opaque to the m48t59 direct access routines to make it easier
j_mayer [Sun, 28 Oct 2007 23:33:05 +0000 (23:33 +0000)]
Give an opaque to the m48t59 direct access routines to make it easier
 to use another NVRAM with the same API.

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

16 years agoAdd OMAP Shared GPIO module.
balrog [Sun, 28 Oct 2007 21:02:29 +0000 (21:02 +0000)]
Add OMAP Shared GPIO module.

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

16 years agoImplement missing MIPS supervisor mode bits.
ths [Sun, 28 Oct 2007 19:45:05 +0000 (19:45 +0000)]
Implement missing MIPS supervisor mode bits.

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

16 years agoHandle MMC card insertion/removal/readonly signals.
balrog [Sun, 28 Oct 2007 19:24:52 +0000 (19:24 +0000)]
Handle MMC card insertion/removal/readonly signals.
Hook them up to Palm T|E GPIOs.

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

16 years agoAdd PalmT|E matrix keypad connected to OMAP GPIOs.
balrog [Sun, 28 Oct 2007 18:29:04 +0000 (18:29 +0000)]
Add PalmT|E matrix keypad connected to OMAP GPIOs.

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

16 years agoImplement OMAP1 MPU I/O module.
balrog [Sun, 28 Oct 2007 16:45:01 +0000 (16:45 +0000)]
Implement OMAP1 MPU I/O module.

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

16 years ago Use shared ctpop64 helper
blueswir1 [Sun, 28 Oct 2007 14:35:04 +0000 (14:35 +0000)]
 Use shared ctpop64 helper

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

16 years agoUse cpp to generate correct build dependencies for target objects
j_mayer [Sun, 28 Oct 2007 13:07:12 +0000 (13:07 +0000)]
Use cpp to generate correct build dependencies for target objects
 instead of using incomplete hardcoded ones.

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

16 years agoMake Alpha and PowerPC targets use shared helpers
j_mayer [Sun, 28 Oct 2007 12:54:53 +0000 (12:54 +0000)]
Make Alpha and PowerPC targets use shared helpers
 for clz, clo, ctz, cto and ctpop.

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

16 years agoAdd shared ctz32, cto32, ctz64, cto64,
j_mayer [Sun, 28 Oct 2007 12:52:38 +0000 (12:52 +0000)]
Add shared ctz32, cto32, ctz64, cto64,
 ctpop8, ctpop16, ctpop32 and ctpop64 helpers.

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

16 years agoUse the shiny new clz helpers.
ths [Sun, 28 Oct 2007 01:44:40 +0000 (01:44 +0000)]
Use the shiny new clz helpers.

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

16 years agoLess debug noise from the mipsnet driver.
ths [Sun, 28 Oct 2007 01:43:52 +0000 (01:43 +0000)]
Less debug noise from the mipsnet driver.

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

16 years agoAlpha coding style and inlining fixes.
j_mayer [Sun, 28 Oct 2007 00:56:24 +0000 (00:56 +0000)]
Alpha coding style and inlining fixes.

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

16 years agoPowerPC coding style and inlining fixes.
j_mayer [Sun, 28 Oct 2007 00:55:05 +0000 (00:55 +0000)]
PowerPC coding style and inlining fixes.

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

16 years agoPowerPC floating-point helper typo.
j_mayer [Sat, 27 Oct 2007 23:34:30 +0000 (23:34 +0000)]
PowerPC floating-point helper typo.

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

16 years agoPowerPC float bugfix: 64 bits float mantissa is 52 bits long.
j_mayer [Sat, 27 Oct 2007 17:59:46 +0000 (17:59 +0000)]
PowerPC float bugfix: 64 bits float mantissa is 52 bits long.

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

16 years agoFix PowerPC FPSCR update and floating-point exception generation
j_mayer [Sat, 27 Oct 2007 17:54:30 +0000 (17:54 +0000)]
Fix PowerPC FPSCR update and floating-point exception generation
 in most useful cases.

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

16 years agoPowerPC user-mode fix: MSR is now entirelly set-up in the cpu_reset routine.
j_mayer [Sat, 27 Oct 2007 17:29:35 +0000 (17:29 +0000)]
PowerPC user-mode fix: MSR is now entirelly set-up in the cpu_reset routine.

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

16 years agoFix endianness bug for PowerPC stfiwx instruction.
j_mayer [Sat, 27 Oct 2007 17:18:49 +0000 (17:18 +0000)]
Fix endianness bug for PowerPC stfiwx instruction.

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

16 years agoAdd sharable clz/clo inline functions and use them for the mips target.
ths [Sat, 27 Oct 2007 13:05:54 +0000 (13:05 +0000)]
Add sharable clz/clo inline functions and use them for the mips target.

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

16 years agoThe other half of the mul64 rework. Sorry for the breakage, I committed
ths [Fri, 26 Oct 2007 22:35:02 +0000 (22:35 +0000)]
The other half of the mul64 rework. Sorry for the breakage, I committed
an incomplete version of what I tested.

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

16 years ago Add const etc. to places forgotten from the previous commit
blueswir1 [Fri, 26 Oct 2007 19:34:46 +0000 (19:34 +0000)]
 Add const etc. to places forgotten from the previous commit

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

16 years ago Use const and static as needed, disable unused code
blueswir1 [Fri, 26 Oct 2007 19:01:16 +0000 (19:01 +0000)]
 Use const and static as needed, disable unused code

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

16 years agoMake Slirp statistics gathering and output conditional to LOG_ENABLED
blueswir1 [Fri, 26 Oct 2007 18:42:59 +0000 (18:42 +0000)]
Make Slirp statistics gathering and output conditional to LOG_ENABLED
Add 'info slirp' command to monitor to display statistics
Disable Slirp debugging code by default

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

16 years agoFix Windows build failure, by Stefan Weil.
ths [Fri, 26 Oct 2007 17:21:58 +0000 (17:21 +0000)]
Fix Windows build failure, by Stefan Weil.

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

16 years agoFor consistency, align the address to the cache line before using it,
j_mayer [Fri, 26 Oct 2007 00:55:17 +0000 (00:55 +0000)]
For consistency, align the address to the cache line before using it,
  when invalidating the instruction cache.

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

16 years agoBugfix in PowerPC dcbi instruction:
j_mayer [Fri, 26 Oct 2007 00:48:00 +0000 (00:48 +0000)]
Bugfix in PowerPC dcbi instruction:
 we must do a load before the store, or we'll store random data.
Update cache instructions comments.

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

16 years agoPretty dump for specific PowerPC instructions names.
j_mayer [Fri, 26 Oct 2007 00:46:07 +0000 (00:46 +0000)]
Pretty dump for specific PowerPC instructions names.

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

16 years agoMake PowerPC hypervisor resources able to compile, even if not enabled for now.
j_mayer [Fri, 26 Oct 2007 00:38:37 +0000 (00:38 +0000)]
Make PowerPC hypervisor resources able to compile, even if not enabled for now.

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

16 years agoBugfix: PowerPC 64 slbia never invalidates the first segment entry.
j_mayer [Fri, 26 Oct 2007 00:37:04 +0000 (00:37 +0000)]
Bugfix: PowerPC 64 slbia never invalidates the first segment entry.

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

16 years agoFix PowerPC 64x64 bits multiplication overflow check.
j_mayer [Thu, 25 Oct 2007 23:36:08 +0000 (23:36 +0000)]
Fix PowerPC 64x64 bits multiplication overflow check.

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

16 years agoUse host-utils for Alpha 64x64 bits multiplications.
j_mayer [Thu, 25 Oct 2007 23:34:44 +0000 (23:34 +0000)]
Use host-utils for Alpha 64x64 bits multiplications.

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

16 years agoUse host-utils for PowerPC 64 64x64 bits multiplications.
j_mayer [Thu, 25 Oct 2007 23:28:36 +0000 (23:28 +0000)]
Use host-utils for PowerPC 64 64x64 bits multiplications.

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

16 years agoAdd PowerPC power-management state check callback.
j_mayer [Thu, 25 Oct 2007 23:27:04 +0000 (23:27 +0000)]
Add PowerPC power-management state check callback.

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

16 years agoImplement power-management for all defined PowerPC CPUs.
j_mayer [Thu, 25 Oct 2007 23:14:50 +0000 (23:14 +0000)]
Implement power-management for all defined PowerPC CPUs.
Fix PowerPC 970MP definition.

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

16 years agoRestore a more maintainable version of the 64bit multiply code.
ths [Thu, 25 Oct 2007 23:00:03 +0000 (23:00 +0000)]
Restore a more maintainable version of the 64bit multiply code.

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

16 years agoUpdate PowerPC emulation status file.
j_mayer [Thu, 25 Oct 2007 21:38:16 +0000 (21:38 +0000)]
Update PowerPC emulation status file.

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

16 years agoAllow selection of all defined PowerPC 74xx (aka G4) CPUs.
j_mayer [Thu, 25 Oct 2007 21:37:25 +0000 (21:37 +0000)]
Allow selection of all defined PowerPC 74xx (aka G4) CPUs.

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

16 years agoGprof prooved the PowerPC emulation spent too much time in MSR load and store
j_mayer [Thu, 25 Oct 2007 21:35:50 +0000 (21:35 +0000)]
Gprof prooved the PowerPC emulation spent too much time in MSR load and store
routines. Coming back to a raw MSR storage model then speed-up the emulation.
Improve fast MSR updates (wrtee wrteei and mtriee cases).
Share rfi family instructions helpers code to avoid bug in duplicated code.
Allow entering halt mode as the result of a rfi instruction.
Add a new helper_regs.h file to avoid duplication of special registers
 manipulation routines (currently XER and MSR).

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

16 years agoFix gdb stub for MIPS64.
ths [Thu, 25 Oct 2007 21:30:37 +0000 (21:30 +0000)]
Fix gdb stub for MIPS64.

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

16 years agoFix typo, spotted by Edivaldo de Araujo Pereira.
ths [Wed, 24 Oct 2007 16:11:42 +0000 (16:11 +0000)]
Fix typo, spotted by Edivaldo de Araujo Pereira.

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

16 years agoRemove bogus instruction decode.
ths [Wed, 24 Oct 2007 00:52:07 +0000 (00:52 +0000)]
Remove bogus instruction decode.

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

16 years agoForce proper sign extension for mfc0/mfhc0 on MIPS64.
ths [Wed, 24 Oct 2007 00:10:32 +0000 (00:10 +0000)]
Force proper sign extension for mfc0/mfhc0 on MIPS64.

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

16 years agoFix writable length of the index register.
ths [Tue, 23 Oct 2007 23:58:21 +0000 (23:58 +0000)]
Fix writable length of the index register.

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

16 years agoEnforce proper sign extension for lwl/lwr on MIPS64.
ths [Tue, 23 Oct 2007 23:23:43 +0000 (23:23 +0000)]
Enforce proper sign extension for lwl/lwr on MIPS64.

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

16 years agoFix overflow when multiplying two large positive numbers.
ths [Tue, 23 Oct 2007 23:22:54 +0000 (23:22 +0000)]
Fix overflow when multiplying two large positive numbers.

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

16 years agoFix CLO calculation for MIPS64. And a small code cleanup.
ths [Tue, 23 Oct 2007 23:22:03 +0000 (23:22 +0000)]
Fix CLO calculation for MIPS64. And a small code cleanup.

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

16 years agoUse the standard ASE check for MIPS-3D and MT.
ths [Tue, 23 Oct 2007 17:04:27 +0000 (17:04 +0000)]
Use the standard ASE check for MIPS-3D and MT.

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

16 years agoSwitch bc1any* instructions off if no MIPS-3D is implemented.
ths [Tue, 23 Oct 2007 13:15:33 +0000 (13:15 +0000)]
Switch bc1any* instructions off if no MIPS-3D is implemented.

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

16 years agoSupport tap down script, by Wolfram Gloger.
ths [Sun, 21 Oct 2007 23:20:45 +0000 (23:20 +0000)]
Support tap down script, by Wolfram Gloger.

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

16 years agoBugfix: now PCI NICs really work on PowerPC PreP platform.
j_mayer [Sun, 21 Oct 2007 15:53:01 +0000 (15:53 +0000)]
Bugfix: now PCI NICs really work on PowerPC PreP platform.

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

16 years agoAllow use of PCI NICs on PowerPC PreP platform.
j_mayer [Sun, 21 Oct 2007 12:29:36 +0000 (12:29 +0000)]
Allow use of PCI NICs on PowerPC PreP platform.

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

16 years agoNew status file for Alpha emulation target.
j_mayer [Sun, 21 Oct 2007 09:46:04 +0000 (09:46 +0000)]
New status file for Alpha emulation target.

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

16 years ago"QEMU keyboard issue with Gujin-2.2", by Etienne Lorrain.
ths [Sat, 20 Oct 2007 20:48:09 +0000 (20:48 +0000)]
"QEMU keyboard issue with Gujin-2.2", by Etienne Lorrain.

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

16 years agoPhysical hard disk drive for win32, by Stefan Weil.
ths [Sat, 20 Oct 2007 20:40:05 +0000 (20:40 +0000)]
Physical hard disk drive for win32, by Stefan Weil.

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

16 years agoEnable ACPI interrupts, by Igor Lvovsky.
ths [Sat, 20 Oct 2007 20:36:52 +0000 (20:36 +0000)]
Enable ACPI interrupts, by Igor Lvovsky.

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

16 years agoSyscall target errno fixes, by Thayne Harbaugh.
ths [Sat, 20 Oct 2007 20:23:07 +0000 (20:23 +0000)]
Syscall target errno fixes, by Thayne Harbaugh.

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

16 years agoCheck the Galilleo config register instead of hardcoding the endianness.
ths [Sat, 20 Oct 2007 19:47:14 +0000 (19:47 +0000)]
Check the Galilleo config register instead of hardcoding the endianness.

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

16 years agoHandle IBE on MIPS properly.
ths [Sat, 20 Oct 2007 19:45:44 +0000 (19:45 +0000)]
Handle IBE on MIPS properly.

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

16 years agoDon't install tools if $(TOOLS) is empty, by Thayne Harbaugh.
ths [Sat, 20 Oct 2007 18:29:34 +0000 (18:29 +0000)]
Don't install tools if $(TOOLS) is empty, by Thayne Harbaugh.

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

16 years agoAvoid PreP target kernel freeze waiting for IRQs.
j_mayer [Sat, 20 Oct 2007 09:13:55 +0000 (09:13 +0000)]
Avoid PreP target kernel freeze waiting for IRQs.

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

16 years ago Update Sparc parts in documentation
blueswir1 [Sat, 20 Oct 2007 08:09:05 +0000 (08:09 +0000)]
 Update Sparc parts in documentation

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

16 years ago Avoid gcc warnings
blueswir1 [Sat, 20 Oct 2007 07:09:08 +0000 (07:09 +0000)]
 Avoid gcc warnings

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

16 years ago Fix compiling Sparc64 on PPC host
blueswir1 [Sat, 20 Oct 2007 07:07:47 +0000 (07:07 +0000)]
 Fix compiling Sparc64 on PPC host

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

16 years agoUse TARGET_ABI_DIR feature to unify PowerPC and PowerPC 64 definitions.
j_mayer [Thu, 18 Oct 2007 20:51:49 +0000 (20:51 +0000)]
Use TARGET_ABI_DIR feature to unify PowerPC and PowerPC 64 definitions.

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

16 years agoUse the new TARGET_ABI32 feature to implement a ppc64abi32-linux-user target
j_mayer [Thu, 18 Oct 2007 19:59:49 +0000 (19:59 +0000)]
Use the new TARGET_ABI32 feature to implement a ppc64abi32-linux-user target
  (PowerPC 64 running in 32 bits mode).
Use the new TARGET_ABI_DIR feature to implement a ppcemb-linux-user target
  (PowerPC 32 with 64 bits GPRs and vector extensions).

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

16 years agoOnly map BIOS space when it was actually loaded.
ths [Thu, 18 Oct 2007 15:05:11 +0000 (15:05 +0000)]
Only map BIOS space when it was actually loaded.

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

16 years agoCast ELF datatypes properly to host 64bit types.
ths [Wed, 17 Oct 2007 23:07:31 +0000 (23:07 +0000)]
Cast ELF datatypes properly to host 64bit types.

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

16 years ago Really update the image
blueswir1 [Wed, 17 Oct 2007 17:42:21 +0000 (17:42 +0000)]
 Really update the image

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

16 years ago Use ldq and stq for 8 byte accesses (original patch by Robert Reif)
blueswir1 [Wed, 17 Oct 2007 17:37:13 +0000 (17:37 +0000)]
 Use ldq and stq for 8 byte accesses (original patch by Robert Reif)

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

16 years ago Enable all alignment checks
blueswir1 [Wed, 17 Oct 2007 17:34:57 +0000 (17:34 +0000)]
 Enable all alignment checks

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