]>
git.proxmox.com Git - qemu.git/log
blueswir1 [Sun, 4 Nov 2007 16:58:07 +0000 (16:58 +0000)]
Fix Solaris breakage
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3531
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 Nov 2007 12:19:22 +0000 (12:19 +0000)]
Add register mappings in DSP space (must be accessible for MPU too).
Don't set microwire CSR-busy bit too early.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3530
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 4 Nov 2007 12:00:17 +0000 (12:00 +0000)]
Constification
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3529
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 4 Nov 2007 11:59:15 +0000 (11:59 +0000)]
Remove target dependent code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3528
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 Nov 2007 11:42:11 +0000 (11:42 +0000)]
Make accesses with wrong width also work as apparently real hardware allows them when the fault is disabled.
Fix DMA register writes if target_phys_addr_t is 64-bit.
Make more functions static.
A timer hack to make PalmOS run in finite time (uses very short timer periods, much shorter than clocksource tick).
Re-calculate internal clock rates on start-up.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3527
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sun, 4 Nov 2007 08:49:01 +0000 (08:49 +0000)]
Fix grackle (in fact MPC106) PCI host bridge header
to avoid confusing firmwares and OSes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3526
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 4 Nov 2007 07:31:40 +0000 (07:31 +0000)]
Fix debug statements
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3525
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sun, 4 Nov 2007 02:55:33 +0000 (02:55 +0000)]
PowerPC 601 need specific callbacks for its BATs setup.
Implement PowerPC 601 HID0 register, needed for little-endian mode support.
As a consequence, we need to merge hflags coming from MSR with other ones.
Use little-endian mode from hflags instead of MSR during code translation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3524
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sun, 4 Nov 2007 02:24:58 +0000 (02:24 +0000)]
For consistency, move muls64 / mulu64 prototypes to host-utils.h
Make x86_64 optimized versions inline.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3523
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sun, 4 Nov 2007 01:57:29 +0000 (01:57 +0000)]
Improve PowerPC CPU state dump.
Dump NIP on SPR access faults.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3522
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sun, 4 Nov 2007 01:16:04 +0000 (01:16 +0000)]
Fix PowerMac NVRAM device.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3521
c046a42c -6fe2-441c-8c8c-
71466251a162
ths [Sat, 3 Nov 2007 15:12:16 +0000 (15:12 +0000)]
Fix some compiler warnings.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3520
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 3 Nov 2007 14:23:07 +0000 (14:23 +0000)]
Fix PowerPC high BATs access: BAT number was incorrect.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3519
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 3 Nov 2007 13:37:12 +0000 (13:37 +0000)]
PowerPC MMU and exception fixes:
* PowerPC 601 (and probably POWER/POWER2) uses a different BAT format than
later PowerPC implementation.
* Bugfix in BATs check: must not stop after 4 BATs when more are provided.
* Enable POWER 'rac' instruction.
* Fix exception prefix for all supported PowerPC implementations.
* Fix exceptions, MMU model and bus model for PowerPC 601 & 620.
* Enable PowerPC 620 as it could mostly boot a PreP target.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3518
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Sat, 3 Nov 2007 13:22:08 +0000 (13:22 +0000)]
Fix incorrect PowerPC instruction fetch exception dump.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3517
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sat, 3 Nov 2007 12:50:46 +0000 (12:50 +0000)]
Split I^2C controller out of hw/omap.c.
Insert a list of missing memory mappings from OMAP310 datasheet.
Add missing "rtc" field for RTC.
Correct PWL and PWT register read/write handler pointers.
Add a Changelog entry about OMAP emulation.
Add a qemu-doc snippet about Palm T|E platform.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3516
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sat, 3 Nov 2007 12:44:02 +0000 (12:44 +0000)]
Implement OMAP on-chip RTC (Linux guest date/time now matches with host).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3515
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sat, 3 Nov 2007 00:51:03 +0000 (00:51 +0000)]
Initial OMAP I^2C controller implementation (communication not tested).
Correct an i2c_start_transfer comment.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3514
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sat, 3 Nov 2007 00:48:26 +0000 (00:48 +0000)]
Add OMAP Pulse-width Tone module.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3513
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sat, 3 Nov 2007 00:46:16 +0000 (00:46 +0000)]
Implement OMAP PWL (backlight) module.
Fix GPIO clock name and output level change notifications.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3512
c046a42c -6fe2-441c-8c8c-
71466251a162
balrog [Sat, 3 Nov 2007 00:41:31 +0000 (00:41 +0000)]
The PINT/DAV pin is active low in the chip spec, not inverted on the board.
Make changes on known GPIO lines be verbose, initialise GPIO levels.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3511
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Fri, 2 Nov 2007 22:47:50 +0000 (22:47 +0000)]
Don't print any message when a priviledge exception occurs on mfpvr
as the Linux allows applications to read this register.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3510
c046a42c -6fe2-441c-8c8c-
71466251a162
j_mayer [Fri, 2 Nov 2007 22:35:33 +0000 (22:35 +0000)]
Fix PowerPC program exception that was broken by FPU exception patches
(bug reported by Jason Wessel)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3509
c046a42c -6fe2-441c-8c8c-
71466251a162
ths [Fri, 2 Nov 2007 20:24:22 +0000 (20:24 +0000)]
EFAULT - update __get_user() __put_user(), by Thayne Harbaugh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3508
c046a42c -6fe2-441c-8c8c-
71466251a162
ths [Fri, 2 Nov 2007 19:08:57 +0000 (19:08 +0000)]
Fix compiler warnings, by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3507
c046a42c -6fe2-441c-8c8c-
71466251a162
ths [Fri, 2 Nov 2007 19:02:07 +0000 (19:02 +0000)]
EFAULT - verify pages are in cache and are read/write, by Thayne Harbaugh.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3506
c046a42c -6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 1 Nov 2007 19:23:51 +0000 (19:23 +0000)]
Fix slirp compilation failure when using a newer gcc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3505
c046a42c -6fe2-441c-8c8c-
71466251a162
ths [Thu, 1 Nov 2007 00:13:36 +0000 (00:13 +0000)]
Add new files fir strace support, missed in earlier commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3504
c046a42c -6fe2-441c-8c8c-
71466251a162
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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