j_mayer
2e13d23ac0
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
2007-11-03 14:23:07 +00:00
j_mayer
faadf50e29
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
2007-11-03 13:37:12 +00:00
j_mayer
f10c315f8f
Fix incorrect PowerPC instruction fetch exception dump.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3517 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-03 13:22:08 +00:00
balrog
0264592627
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
2007-11-03 12:50:46 +00:00
balrog
5c1c390fea
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
2007-11-03 12:44:02 +00:00
balrog
4a2c8ac2bc
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
2007-11-03 00:51:03 +00:00
balrog
f34c417ba6
Add OMAP Pulse-width Tone module.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3513 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-03 00:48:26 +00:00
balrog
66450b1596
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
2007-11-03 00:46:16 +00:00
balrog
7fc42b4bbd
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
2007-11-03 00:41:31 +00:00
j_mayer
9fceefa7d1
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
2007-11-02 22:47:50 +00:00
j_mayer
5b52b9911f
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
2007-11-02 22:35:33 +00:00
ths
89343ecde5
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
2007-11-02 20:24:22 +00:00
ths
80210bcd71
Fix compiler warnings, by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3507 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-02 19:08:57 +00:00
ths
3d97b40b05
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
2007-11-02 19:02:07 +00:00
blueswir1
7c829863fb
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
2007-11-01 19:23:51 +00:00
ths
33189d3115
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
2007-11-01 00:13:36 +00:00
ths
93a0019ba3
Mention userland strace support, and mipssim machine emulation.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3503 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-01 00:11:47 +00:00
ths
b92c47c1cc
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
2007-11-01 00:07:38 +00:00
j_mayer
fc0d441e14
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
2007-10-31 22:02:17 +00:00
ths
a79ee211ce
Add copyright and license header.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3500 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-31 17:14:08 +00:00
balrog
ad8488750b
Correct the WBINVD intercept in SVM (Alexander Graf).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3499 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-31 02:01:33 +00:00
balrog
a26c97adce
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
2007-10-31 01:58:56 +00:00
balrog
6ac0e82da1
Set boot sequence from command line (Dan Kenigsberg).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3497 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-31 01:54:04 +00:00
balrog
926c2d23df
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
2007-10-31 01:11:44 +00:00
balrog
fe8f78e4fb
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
2007-10-31 01:03:28 +00:00
balrog
405ee3ad57
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
2007-10-31 00:47:13 +00:00
balrog
7bfe577702
OHCI USB isochronous transfers support (Arnon Gilboa).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3493 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-31 00:34:21 +00:00
balrog
046833eae3
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
2007-10-31 00:27:50 +00:00
balrog
5ad265ee5b
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
2007-10-31 00:21:35 +00:00
ths
c9f103069e
Declare function before use, reduces compiler warning noise.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3490 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-30 23:19:52 +00:00
balrog
a528b80cb0
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
2007-10-30 22:38:53 +00:00
balrog
12bc92ab8a
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
2007-10-30 21:06:14 +00:00
j_mayer
86c4a9f513
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
2007-10-29 21:54:35 +00:00
ths
273af66025
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
2007-10-29 14:39:49 +00:00
balrog
b50a6563d8
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
2007-10-29 10:59:29 +00:00
balrog
3efda49d15
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
2007-10-29 10:34:01 +00:00
j_mayer
8c9d7f83bf
Fix PreP PCI IRQ mapping.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3483 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-29 10:24:59 +00:00
j_mayer
ef397e88e9
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
2007-10-29 10:22:58 +00:00
j_mayer
c4781a51a5
Implement PreP reset port.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3481 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-29 10:21:12 +00:00
j_mayer
4c823cff9e
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
2007-10-29 10:19:50 +00:00
ths
d2123ead89
Preliminary MIPS64R2 mode.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3479 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-29 09:38:43 +00:00
ths
6276c76758
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
2007-10-29 02:57:19 +00:00
balrog
d951f6ff3f
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
2007-10-29 01:50:05 +00:00
ths
1b6fd0bc55
Restrict CP0_PerfCnt to legal values.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3476 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-29 00:49:32 +00:00
j_mayer
3cbee15b9a
* 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
2007-10-28 23:42:18 +00:00
j_mayer
897b4c6c4e
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
2007-10-28 23:33:05 +00:00
balrog
6433014805
Add OMAP Shared GPIO module.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3473 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-28 21:02:29 +00:00
ths
623a930ec3
Implement missing MIPS supervisor mode bits.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3472 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-28 19:45:05 +00:00
balrog
8e129e0748
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
2007-10-28 19:24:52 +00:00
balrog
38a34e1d7a
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
2007-10-28 18:29:04 +00:00