0d913fdb62Fix PowerPC boot device selection. Fix gcc warning in PowerPC PreP machine init routine. Add second IDE channel to Heathrow Mac machine (still not handled by OHW).
j_mayer
2007-11-11 14:44:28 +00:00
faf07963cbSplit block API from vl.h. Remove QEMU_TOOL. Replace with QEMU_IMG and NEED_CPU_H. Avoid linking qemu-img against whole system emulatior.
pbrook
2007-11-11 02:51:17 +00:00
28c5af54c6More generic boot devices specification, allowing more devices to be specified and avoiding per-target hardcoded limitations. The machine implementations can then check if the given devices match the actual hardware implementation and firmware API.
j_mayer
2007-11-11 01:50:45 +00:00
9c7e37e7faFix POWER abs & abso computation. Fix PowerPC SPE evabs & evneg (thanks to Fabrice Bellard for reporting the bug)
j_mayer
2007-11-11 00:33:08 +00:00
c3e10c7b43Optimize PowerPC overflow flag computation in most useful cases. Use the same routines to check overflow for addo, subfo and PowerPC 405 multiply and add cases. Fix carry reset in addme(o) and subfme(o) cases.
j_mayer
2007-11-11 00:18:34 +00:00
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