balrog
52fc1d83bc
Save/load PCI-device, PCI-bus and PIIX3 irq-related state (patches by Uri Lublin.
...
Note that other PCI bridges are not fixed here.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3793 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 23:56:13 +00:00
balrog
8543243c29
No write-protect detect diode on Mainstone II.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3790 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 23:29:34 +00:00
balrog
11e0fc3fd0
Use pointers to channels rather than channel numbers in the DMA.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3789 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 23:23:02 +00:00
ths
d1781191a5
Remove leftover support for 82371FB (Step A1), by Carlo Marcelo Arenas
...
Belon.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3787 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 23:02:39 +00:00
balrog
089b7c0a4c
OMAP DMA 3.2 support by Lauro Ramos Venancio.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3786 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 22:32:42 +00:00
blueswir1
7eb0c8e8f9
Add support for eccmemctl (Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3785 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 17:03:50 +00:00
ths
0d4a05a109
Fix Win98SE MyComputer regression, by Ben Taylor.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3783 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 05:01:52 +00:00
ths
f1de133408
Mainstone mmc support, by Armin Kuster.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3781 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-09 02:38:34 +00:00
ths
1b66074b2f
Remove broken ds1225y init, it is useless on this machine anyway.
...
Spotted by Atsushi Nemoto.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3777 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-07 01:13:37 +00:00
balrog
f2df526058
Correct my 'thinko' in OMAP interrupt handler commit, fix by Lauro Ramos Venancio.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3775 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-06 22:05:05 +00:00
balrog
106627d0a0
Rework OMAP1 interrupt handling to allow multiple interrupt banks, by Lauro Ramos Venancio.
...
Add irq pulse shortcut, by Lauro Ramos Venancio.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3774 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-05 03:23:39 +00:00
blueswir1
577390ff4b
No keyboard mode (Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3773 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-04 20:58:31 +00:00
balrog
54215f7d71
Don't claim SD card supports voltages linux claims are below defined voltage range.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3772 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-04 00:11:33 +00:00
balrog
9d413d1d49
Always create an SD bdrv, so that PXA and OMAP boards can boot with
...
no card inserted again. Eventually SD, CDROM and floppy should all
be registered conditionally depending on machine.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3771 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-04 00:10:34 +00:00
ths
001a3f5abf
Fix floppy initialization, by Laurent Vivier.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3768 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-03 02:17:39 +00:00
ths
9f0683d9f5
Include qemu-timer.h iff DEBUG is defined.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3767 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-02 17:47:33 +00:00
ths
e140e05cbc
Add missing include, by Sylvain Petreolle.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3766 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-02 17:17:45 +00:00
ths
e96e2044a1
SH4: system emulator interrupt update, by Magnus Damm.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3762 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-02 06:18:24 +00:00
ths
e4bcb14c79
Add -drive parameter, by Laurent Vivier.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3759 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-02 04:51:10 +00:00
ths
7233b35557
Mainstone re-org, by Armin Kuster.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3758 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-02 02:20:03 +00:00
blueswir1
d2c38b24d1
Name the magic constants, wrap long lines
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3757 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-01 15:58:22 +00:00
blueswir1
d5296cb507
Fix SS-600MP led device typos
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3756 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-01 15:02:20 +00:00
blueswir1
df33e6392c
Improve power management device addressing
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3755 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-01 14:54:47 +00:00
blueswir1
7debeb82ff
Name the magic constants, use correct value for AUX2_PWRFAIL
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3754 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-01 14:53:22 +00:00
blueswir1
498fbd8aad
Allow IOMMU tables above 2G
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3753 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-01 14:51:25 +00:00
blueswir1
c52428fcb1
Prevent overwriting fixed bits in AFSR
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3752 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-01 14:51:24 +00:00
blueswir1
5ad6bb97a4
Name the magic constants, wrap long lines
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3751 c046a42c-6fe2-441c-8c8c-71466251a162
2007-12-01 14:51:23 +00:00
blueswir1
3ebf5aafe5
Use slavio base as boot prom address, rearrange sun4m init code
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3747 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-28 20:54:33 +00:00
ths
ded7ba9c75
Add floppy support, tested to work with www.linux-mips.org GIT head.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3744 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-26 14:52:02 +00:00
balrog
8ef6367ea9
Scale TSC2102 touchscreen pressure value more realistically (still could be better).
...
PalmOS 5.2.1 now fully boots.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3741 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-25 18:46:17 +00:00
blueswir1
5cc9878d3d
Set initial value of AFSR register properly (Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3739 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-25 12:44:08 +00:00
blueswir1
b76482e765
Fix buffer mux handling for unconnected serial ports
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3737 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-25 08:48:16 +00:00
balrog
ef056e4398
Intel Mainstone II (ARM) machine by Armin Kuster.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3736 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-25 01:57:38 +00:00
balrog
bd9bdce694
Add input buffer to mux chr (patch by Tristan Gingold).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3735 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-25 00:55:06 +00:00
balrog
1fc678cc72
Fix board init arg list (spotted by pbrook),
...
clean-up NOR flash parameters.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3734 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-25 00:29:23 +00:00
pbrook
c81b74018d
Fix SD init arguments.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3733 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-24 23:55:52 +00:00
balrog
3e3f67547b
Gumstix Verdex (ARM) board support by Thorsten Zitterell.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3732 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-24 23:47:38 +00:00
pbrook
775616c3ae
Partial SD card SPI mode support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3731 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-24 23:35:08 +00:00
pbrook
eea589cc22
Stellaris ethernet support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3728 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-24 03:13:04 +00:00
pbrook
e57ec0168c
ARMv7-M SysTick fix.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3727 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-24 03:09:07 +00:00
j_mayer
aae9366a03
More PowerPC debug print fixes - hardware emulation pass.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3726 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-24 02:56:36 +00:00
j_mayer
69facb7897
Revert foolish patch.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3724 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-23 22:16:59 +00:00
pbrook
9b605b9eae
Fix ppc32 register dumps on 64-bit hosts.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3723 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-23 17:33:12 +00:00
balrog
f9d43072e2
OMAP LPGs (LED pulse generators).
...
OMAP MPUI bridge config register.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3710 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-20 11:15:27 +00:00
balrog
73560bc8e3
Clean-up/rewrite audio over I^2S support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3704 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-19 03:43:51 +00:00
pbrook
79b0241756
Fix typo in error message.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3703 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-19 02:38:22 +00:00
j_mayer
4018bae916
New PowerPC CPU flag to define the decrementer and time-base source clock.
...
Use it to properly initialize the clock for the PreP target.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3701 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-19 01:48:12 +00:00
pbrook
7ac56ff043
SSD0323 vertical incrememnt mode.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3696 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 21:54:57 +00:00
pbrook
ec4ef3168c
Fix connex board init routine.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3690 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 14:40:35 +00:00
pbrook
cf0dbb2115
Luminary board input support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3689 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 14:36:08 +00:00
blueswir1
b881c2c6e7
Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3687 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 08:46:58 +00:00
balrog
7317b8cad7
Fix a && -> & typo.
...
Catch wrong/unknown NOR flash command sequences, by Thorsten Zitterell.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3684 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 02:09:36 +00:00
pbrook
9596ebb701
Add statics and missing #includes for prototypes.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-18 01:44:38 +00:00
blueswir1
9a87ce9b95
Name the magic constants, fix a hex number without 0x
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3677 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 21:01:04 +00:00
balrog
e1dad5a615
Better STOPINTR bit semantics in the PXA2xx DMA.
...
Don't error out on reading GPCR register, just warn (Thorsten Zitterell).
Don't zero a memory that's already zeroed.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3676 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 18:43:47 +00:00
pbrook
87ecb68bdf
Break up vl.h.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3674 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 17:14:51 +00:00
pbrook
257514ddce
sd.c build fix.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3673 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 15:32:38 +00:00
balrog
02ce600c1e
Convert SD cards code to use qemu_irq too.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3671 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 14:34:44 +00:00
balrog
38641a52f2
Convert PXA2xx GPIOs and SCOOP GPIOs to a qemu_irq based api (similar to omap, max7310 and s3c gpios).
...
Convert spitz and gumstix boards to use new api.
Remove now obsolete gpio_handler_t definition.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3670 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 14:07:13 +00:00
balrog
05ee37ebf6
Gumstix 'connex' board support by Thorsten Zitterell.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3667 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 11:50:55 +00:00
blueswir1
7fbfb139ec
Machine specific IOMMU version (Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3664 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 09:04:09 +00:00
j_mayer
7b62a95504
Add missing definition for number of input pins for the PowerPC 970 bus.
...
Use proper INPUT_NB definitions to allocate PowerPC input pins structure,
fixing a buffer overflow in the 6xx bus case.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3659 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 02:04:00 +00:00
j_mayer
b172c56a6d
Always make all PowerPC exception definitions visible.
...
Always make the hypervisor timers available.
Remove all TARGET_PPC64H checks, keeping a few if (0) tests for cases
that cannot be properly handled with the current PowerPC CPU definition.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3656 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-17 01:37:44 +00:00
blueswir1
d2c63fc185
Update OHW interface to version 3.
...
Use common ABI description file with OpenBIOS.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3648 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-14 19:35:16 +00:00
balrog
87283515f5
Fix signed/unsigned comparisons in OHCI host.
...
ADS7846 is partially compatible with TSC2046.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3635 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-13 22:52:54 +00:00
bellard
bd37ec2141
removed warning
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3616 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 19:50:22 +00:00
bellard
83f5987956
removed unused variable
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3614 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 19:49:08 +00:00
bellard
8731ac030e
fixed cast
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3613 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 19:48:47 +00:00
bellard
fa58c1568b
removed unused variables
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3612 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 19:48:33 +00:00
bellard
444ce24195
use correct printf format
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3611 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 19:47:59 +00:00
bellard
a702b35388
fixed invalid constant
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3610 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 19:47:02 +00:00
bellard
1e4146791b
removed unused code
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3609 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 19:46:37 +00:00
blueswir1
6a3b9cc9c5
Add SPARCserver 600MP emulation (original patch by Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3604 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 17:56:38 +00:00
bellard
f26ae30264
removed invalid use of _INTC_ARRAY
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3602 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 17:51:40 +00:00
blueswir1
0fe5ea89cc
Fix Sun4u compile
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3594 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 16:51:04 +00:00
j_mayer
0d913fdb62
Fix 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).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3586 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 14:44:28 +00:00
pbrook
c6ee607c94
mips_r4k warning fixes.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3581 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 12:02:33 +00:00
j_mayer
28c5af54c6
More 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.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3577 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 01:50:45 +00:00
pbrook
9ee6e8bb85
ARMv7 support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3572 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 00:04:49 +00:00
pbrook
cd08ce8f36
Fix build failure.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3568 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-10 19:21:30 +00:00
pbrook
ca02f31955
Add dummy m68k board.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3567 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-10 18:03:23 +00:00
pbrook
4d1165fa61
Fix 64-bit host printf format mismatches.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3564 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-10 16:34:46 +00:00
bellard
aaed909a49
added cpu_model parameter to cpu_init()
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-10 15:15:54 +00:00
ths
e3d7e8431e
Fix typo, spotted by Samuel Thibault.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3558 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-09 18:17:50 +00:00
ths
7df526e317
Move kernel loader parameters from the cpu state to being board specific.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3557 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-09 17:52:11 +00:00
ths
31c2a146ec
Revert "Last AIO Patch" as requested by Fabrice, it is incomplete and
...
breaks other (non-Windows) systems.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3552 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-08 16:38:17 +00:00
bellard
a049de6161
added -cpu option for x86 (initial patch by Dan Kenigsberg)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3547 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-08 13:28:47 +00:00
bellard
bc4edd79ee
removed traces
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3541 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-07 16:54:42 +00:00
bellard
7e0af5d097
added -startdate option
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3540 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-07 16:24:33 +00:00
j_mayer
4f43196097
No functional changes: remove dead code and fix indentation & wrapping lines.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3535 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-05 03:11:37 +00:00
balrog
d8f699cb32
Zeroing 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).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3534 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 22:53:50 +00:00
blueswir1
bfa30a3896
Change sysctrl register to 32 bits (original patch by Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3533 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 17:27:07 +00:00
j_mayer
d6c1a327a9
Fix 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.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3532 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 17:17:08 +00:00
blueswir1
a06e5a3c64
Fix Solaris breakage
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3531 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 16:58:07 +00:00
balrog
cf965d2406
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
2007-11-04 12:19:22 +00:00
blueswir1
51a6527174
Constification
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3529 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 12:00:17 +00:00
blueswir1
741402f933
Remove target dependent code
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3528 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 11:59:15 +00:00
balrog
b854bc196f
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
2007-11-04 11:42:11 +00:00
j_mayer
e616a7e821
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
2007-11-04 08:49:01 +00:00
j_mayer
74e9115560
Fix PowerMac NVRAM device.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3521 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-04 01:16:04 +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
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
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
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
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
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
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
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
balrog
fe71e81aba
Implement OMAP1 MPU I/O module.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3469 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-28 16:45:01 +00:00
ths
57ba97deb8
Less debug noise from the mipsnet driver.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3463 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-28 01:43:52 +00:00
j_mayer
fce62c4eb3
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
2007-10-21 15:53:01 +00:00
j_mayer
bd3e2c4e69
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
2007-10-21 12:29:36 +00:00
ths
a47b8d38b7
"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
2007-10-20 20:48:09 +00:00
ths
3f6ffb6ac9
Enable ACPI interrupts, by Igor Lvovsky.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3419 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-20 20:36:52 +00:00
ths
1931e26054
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
2007-10-20 19:47:14 +00:00
j_mayer
5a9b7d36a0
Avoid PreP target kernel freeze waiting for IRQs.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3414 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-20 09:13:55 +00:00
ths
b533415989
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
2007-10-18 15:05:11 +00:00
ths
f0fc6f8fbc
Second half of mipssim support, plus documentation improvements.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3401 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-17 13:39:42 +00:00
blueswir1
952a328ff5
SuperSparc MXCC support (Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3397 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-14 16:29:21 +00:00
j_mayer
dbdd25065e
Implement time-base start/stop helpers.
...
Implement PowerPC 6xx time-base enable input pin.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3394 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-14 09:35:30 +00:00
j_mayer
a01d8cadad
Fix memory corruption reported by Julian Seward
...
(still more bugs to fix in PreP emulation).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3390 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-14 08:52:44 +00:00
j_mayer
e63ecc6f68
Do not allow PowerPC CPU restart after entering checkstop mode.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3388 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-14 08:48:23 +00:00
j_mayer
6ebbf39000
Replace is_user variable with mmu_idx in softmmu core,
...
allowing support of more than 2 mmu access modes.
Add backward compatibility is_user variable in targets code when needed.
Implement per target cpu_mmu_index function, avoiding duplicated code
and #ifdef TARGET_xxx in softmmu core functions.
Implement per target mmu modes definitions. As an example, add PowerPC
hypervisor mode definition and Alpha executive and kernel modes definitions.
Optimize PowerPC case, precomputing mmu_idx when MSR register changes
and using the same definition in code translation code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3384 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-14 07:07:08 +00:00
ths
ea6fd42fa2
Static-ify function.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3381 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-13 14:00:23 +00:00
ths
bf367b5409
Match values with the ones documented in the PIIX4 datasheet.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3377 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-09 11:41:47 +00:00
ths
6dab28d5b5
Fix vmmouse for 64bit guest, by Dan Kenigsberg.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3374 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-09 03:19:01 +00:00
ths
0e21e12bb3
Don't route PIC interrupts through the local APIC if the local APIC
...
config says so. By Ari Kivity.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3371 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-09 03:08:56 +00:00
ths
83fa1010ae
EtraxFS board support, by Edgar E. Iglesias.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3364 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-08 13:26:33 +00:00
j_mayer
b33c17e12d
PowerPC target coding style fixes.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3348 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-07 17:30:34 +00:00
j_mayer
b068d6a713
PowerPC target optimisations: make intensive use of always_inline.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3347 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-07 17:13:44 +00:00
j_mayer
008ff9d756
Share devices that might be useful for all PowerPC 40x & 440 implementations
...
(mostly CPU registration and UIC, for now).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3340 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-07 14:21:26 +00:00
blueswir1
115646b648
More user timer fixes (Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3339 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-07 10:00:55 +00:00
blueswir1
f930d07eda
More detabification
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3338 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-06 11:28:21 +00:00
blueswir1
81732d1926
Implement user mode for timers
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3337 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-06 11:25:43 +00:00
blueswir1
aa6ad6fee2
Support for loading a real BIOS image (Robert Reif)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3336 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-06 11:24:18 +00:00
j_mayer
1192dad879
New '-bios' option, used to select an alternate BIOS image from bios_dir.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3331 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-05 13:08:35 +00:00
balrog
e9c05b42e3
Implement PL110 byte order config bit (original patch by Richard Purdie).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3330 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-04 23:45:31 +00:00