05e1d83049Fix muls64 prototype to match the actual implementation.
j_mayer
2007-11-05 13:16:23 +00:00
084ed5cc90Code used by the linux-user targets should not use vl.h. Include exec.h instead.
j_mayer
2007-11-05 13:01:41 +00:00
4f43196097No functional changes: remove dead code and fix indentation & wrapping lines.
j_mayer
2007-11-05 03:11:37 +00:00
d8f699cb32Zeroing ITR shouldn't ack irq zero. Fix PWT & PWL clocks, fix user refcounting for clocks, add 'hsab_ck' and 'usb_w2fc_ck'. Fix TCMI register addresses. Implement OMAP McBSP controller and connection to I2S-compatible CODECs. Add audio support for TSC2102 as an I2S CODEC. Connect TSC2102 I2S interface to CPU's McBSP1 interface in the Palm Tungsten|E. Correct '>' instead of '>>' typos. Implement GPIO PIN_CONTROL register (not in OMAP310 TRM, from OMAP1510).
balrog
2007-11-04 22:53:50 +00:00
bfa30a3896Change sysctrl register to 32 bits (original patch by Robert Reif)
blueswir1
2007-11-04 17:27:07 +00:00
d6c1a327a9Fix memory corruption: bdrv_read/write API has been changed to take nb_sectors instead of len in bytes but the fdc driver has never been fixed.
j_mayer
2007-11-04 17:17:08 +00:00
a06e5a3c64Fix Solaris breakage
blueswir1
2007-11-04 16:58:07 +00:00
cf965d2406Add register mappings in DSP space (must be accessible for MPU too). Don't set microwire CSR-busy bit too early.
balrog
2007-11-04 12:19:22 +00:00
b854bc196fMake 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.
balrog
2007-11-04 11:42:11 +00:00
e616a7e821Fix grackle (in fact MPC106) PCI host bridge header to avoid confusing firmwares and OSes.
j_mayer
2007-11-04 08:49:01 +00:00
056401eae6PowerPC 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.
j_mayer
2007-11-04 02:55:33 +00:00
7a51ad822fFor consistency, move muls64 / mulu64 prototypes to host-utils.h Make x86_64 optimized versions inline.
j_mayer
2007-11-04 02:24:58 +00:00
077fc2061eImprove PowerPC CPU state dump. Dump NIP on SPR access faults.
j_mayer
2007-11-04 01:57:29 +00:00
f3e3285dcdFix some compiler warnings.
ths
2007-11-03 15:12:16 +00:00
2e13d23ac0Fix PowerPC high BATs access: BAT number was incorrect.
j_mayer
2007-11-03 14:23:07 +00:00
faadf50e29PowerPC 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.
j_mayer
2007-11-03 13:37:12 +00:00
0264592627Split 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.
balrog
2007-11-03 12:50:46 +00:00
5c1c390feaImplement OMAP on-chip RTC (Linux guest date/time now matches with host).
balrog
2007-11-03 12:44:02 +00:00
4a2c8ac2bcInitial OMAP I^2C controller implementation (communication not tested). Correct an i2c_start_transfer comment.
balrog
2007-11-03 00:51:03 +00:00
f34c417ba6Add OMAP Pulse-width Tone module.
balrog
2007-11-03 00:48:26 +00:00
66450b1596Implement OMAP PWL (backlight) module. Fix GPIO clock name and output level change notifications.
balrog
2007-11-03 00:46:16 +00:00
7fc42b4bbdThe 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.
balrog
2007-11-03 00:41:31 +00:00
9fceefa7d1Don't print any message when a priviledge exception occurs on mfpvr as the Linux allows applications to read this register.
j_mayer
2007-11-02 22:47:50 +00:00
5b52b9911fFix PowerPC program exception that was broken by FPU exception patches (bug reported by Jason Wessel)
j_mayer
2007-11-02 22:35:33 +00:00
b92c47c1ccStrace for userland emulation, by Stuart Anderson and Thayne Harbaugh.
ths
2007-11-01 00:07:38 +00:00
fc0d441e14Fix 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.
j_mayer
2007-10-31 22:02:17 +00:00
a79ee211ceAdd copyright and license header.
ths
2007-10-31 17:14:08 +00:00
ad8488750bCorrect the WBINVD intercept in SVM (Alexander Graf).
balrog
2007-10-31 02:01:33 +00:00
6ac0e82da1Set boot sequence from command line (Dan Kenigsberg).
balrog
2007-10-31 01:54:04 +00:00
926c2d23dfSupport multipart images as input to qemu-img (Salvador Fandino).
balrog
2007-10-31 01:11:44 +00:00
fe8f78e4fbAdd 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).
balrog
2007-10-31 01:03:28 +00:00
405ee3ad57Invalidate TLBs when domains are changed (Matthew Warton). Legalise cp15 pid register writes (Matthew Warton).
balrog
2007-10-31 00:47:13 +00:00
7bfe577702OHCI USB isochronous transfers support (Arnon Gilboa).
balrog
2007-10-31 00:34:21 +00:00
046833eae3Use a O_NONBLOCK pipe for iso completion signals for thread-safety, by Arnon Gilboa.
balrog
2007-10-31 00:27:50 +00:00
5ad265ee5bx86_64 support in cpu_gdb_read_registers(), by Goran Weinholt.
balrog
2007-10-31 00:21:35 +00:00
c9f103069eDeclare function before use, reduces compiler warning noise.
ths
2007-10-30 23:19:52 +00:00
a528b80cb0Miscellaneous VNC related fixes from Xen forwarded by Matthew Kent.
balrog
2007-10-30 22:38:53 +00:00
12bc92ab8aDo not make NETLINK socket connections possible (Alexander Graf).
balrog
2007-10-30 21:06:14 +00:00
86c4a9f513Fix two PowerPC FPU emulation bugs (thanks to Aurelien Jarno)
j_mayer
2007-10-29 21:54:35 +00:00
273af66025Adjust s390 addresses (the MSB is defined as "to be ignored").
ths
2007-10-29 14:39:49 +00:00
b50a6563d8Add a qemu_irq_invert() shortcut for inverting a signal.
balrog
2007-10-29 10:59:29 +00:00
3efda49d15Add a TI TSC2102 chip (touchscreen/ADC/audio-CODEC controller). Fix GPIO memory mapping address and register width.
balrog
2007-10-29 10:34:01 +00:00
4c823cff9ePowerPC 601 / 620 / 970 need a 1MB firmware. This option is not allowed for PowerMac, as it would overlap with NVRAM.
j_mayer
2007-10-29 10:19:50 +00:00
d951f6ff3fImplement OMAP MicroWire controller. Fix GPIO interrupt number. Reorder a couple of variables.
balrog
2007-10-29 01:50:05 +00:00
1b6fd0bc55Restrict CP0_PerfCnt to legal values.
ths
2007-10-29 00:49:32 +00:00
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
j_mayer
2007-10-28 23:42:18 +00:00
897b4c6c4eGive an opaque to the m48t59 direct access routines to make it easier to use another NVRAM with the same API.
j_mayer
2007-10-28 23:33:05 +00:00