summaryrefslogtreecommitdiffstats
path: root/hw
Commit message (Collapse)AuthorAgeFilesLines
* Fix mipsnet device ID, noticed by Vijay Kumar.aurel322008-03-281-4/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4119 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix ne2000_can_receive() functionaurel322008-03-281-1/+1
| | | | | | | (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4117 c046a42c-6fe2-441c-8c8c-71466251a162
* Add missing initial values for PIIX3 function 0 (PIRQRC)aurel322008-03-281-0/+3
| | | | | | | (Sebastian Herbszt) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4116 c046a42c-6fe2-441c-8c8c-71466251a162
* Tell BIOS about the number of CPUsaurel322008-03-281-0/+3
| | | | | | | | | | | Previously, the BIOS would probe the CPUs for SMP guests. This tends to be very unreliably because of startup timing issues. By passing the number of CPUs in the CMOS, the BIOS can detect the number of CPUs much more reliably. (Anthony Liguori) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4114 c046a42c-6fe2-441c-8c8c-71466251a162
* Wire up TC signal from Aux1 to FDCblueswir12008-03-215-13/+42
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4096 c046a42c-6fe2-441c-8c8c-71466251a162
* Clean fdc.haurel322008-03-181-1/+0
| | | | | | | (Hervé Poussineau) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4083 c046a42c-6fe2-441c-8c8c-71466251a162
* Add KBD_CMD_SCANCODE command.aurel322008-03-181-5/+34
| | | | | | | (Hervé Poussineau) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4082 c046a42c-6fe2-441c-8c8c-71466251a162
* SCI fixesaurel322008-03-185-6/+23
| | | | | | | (Anthony Liguori) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4081 c046a42c-6fe2-441c-8c8c-71466251a162
* CFI: Fix AMD erase supportaurel322008-03-141-1/+1
| | | | | | | (Jean-Christophe PLAGNIOL-VILLARD) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4060 c046a42c-6fe2-441c-8c8c-71466251a162
* Made the etrax timers and serial-ports base address relocatable. Use ↵edgar_igl2008-03-144-121/+95
| | | | | | target_phys_addr_t instead of target_ulong. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4058 c046a42c-6fe2-441c-8c8c-71466251a162
* * Add a model of the ETRAX interrupt controller.edgar_igl2008-03-144-117/+266
| | | | | | | | * Clean up the interrupt handling a bit. * Connect some NOR flash to the test board. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4055 c046a42c-6fe2-441c-8c8c-71466251a162
* ds1225y nvram: Fix some bugsaurel322008-03-132-59/+130
| | | | | | | | | | | | - whole nvram was erased in some conditions - fix out of range accesses - improve reading speed by keeping contents in memory - rename capacity to chip_size (Hervé Poussineau) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4051 c046a42c-6fe2-441c-8c8c-71466251a162
* e1000: fix endianness issuesaurel322008-03-131-7/+16
| | | | | | | | | | | | | | | This patch fixes endianness issues in the e1000 nic emulation, which currently only works on little endian hosts with little endian targets. Byte swapping does not depend on host endianness, so this patch remove the use of cpu_to_le32 and le32_to_cpu functions. It depends on the path from the CPU to the device, which is currently and *wrongly* implemented in Qemu as a byteswap on big endian targets. This patch does the same as in other devices emulation as all the currently implemented targets work with this implementation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4046 c046a42c-6fe2-441c-8c8c-71466251a162
* rtl8139: fix endianness on big endian targetsaurel322008-03-131-26/+16
| | | | | | | | | On big endian targets with mmio accesses, the values are not always swapped, depending on the accessed register. The Linux 8139too module was able to cope with that, but not the 8139cp one. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4045 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert from DOS to UNIX format, no code change.aurel322008-03-131-123/+123
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4043 c046a42c-6fe2-441c-8c8c-71466251a162
* GT64XXX: fix endianness issues:aurel322008-03-101-5/+14
| | | | | | | | | | | | - Byte swapping for internal GT64XXX registers is controlled by the bit 12 of the Configuration Register and not by the PCI Internal Command register. - The bit 0 of the PCI Internal Command register controls byte swapping for PCI access *except for the internal PCI device*, that is when both bus and device numbers are 0. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4035 c046a42c-6fe2-441c-8c8c-71466251a162
* Change the e1000 mmio addr space according to spec.aurel322008-03-101-1/+1
| | | | | | | | | | | According to the Intel 82540EM manual, the mmio space is 128k size. Copied from Xen list and noted by tina..yang@oracle.com Signed-off-by: Dor Laor <dor.laor@qumranet.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4032 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix some functions declared () rather than (void) (Ian Jackson)blueswir12008-03-091-2/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4029 c046a42c-6fe2-441c-8c8c-71466251a162
* Split OMAP DMA out to a file apart.balrog2008-03-064-1376/+1412
| | | | | | | Rename omap files to better reflect OMAP1-specific parts. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4025 c046a42c-6fe2-441c-8c8c-71466251a162
* Check for out of range update regions (original patch from Anthony Liguori).balrog2008-03-061-6/+27
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4024 c046a42c-6fe2-441c-8c8c-71466251a162
* Register VMware SVGA's memory io region with PCI framework.balrog2008-03-061-18/+29
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4023 c046a42c-6fe2-441c-8c8c-71466251a162
* Add more machine definitionsblueswir12008-03-052-0/+292
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4020 c046a42c-6fe2-441c-8c8c-71466251a162
* Show IRQ set or reset (Robert Reif)blueswir12008-03-041-1/+4
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4016 c046a42c-6fe2-441c-8c8c-71466251a162
* Remove unneeded qemu_irq_lower (Robert Reif)blueswir12008-03-041-2/+0
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4015 c046a42c-6fe2-441c-8c8c-71466251a162
* Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau)blueswir12008-03-024-20/+31
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4007 c046a42c-6fe2-441c-8c8c-71466251a162
* * target-cris/op.c: Make sure the bit-test insn only updates the XNZ flags.edgar_igl2008-03-012-49/+85
| | | | | | | | | * target-cris/helper.c: Update ERP for user-mode simulation aswell. * hw/etraxfs_timer.c: Support multiple timers. * hw/etraxfs_ser.c: Multiple ports, the data just goes to stdout. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4004 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix sun4m machine if MAX_FD != 2 (Herv�oussineau)blueswir12008-02-291-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4001 c046a42c-6fe2-441c-8c8c-71466251a162
* Give names to magic numbers (Herv�oussineau)blueswir12008-02-291-125/+222
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4000 c046a42c-6fe2-441c-8c8c-71466251a162
* Really stop the transfer when the DMA channel is being disabled.balrog2008-02-231-2/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3987 c046a42c-6fe2-441c-8c8c-71466251a162
* Unify RTCs that use host time, fix M48t59 alarm.balrog2008-02-175-118/+70
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3984 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix SS-20 auxio addressesblueswir12008-02-111-2/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3980 c046a42c-6fe2-441c-8c8c-71466251a162
* Force a resize after leaving graphical mode in curses (spotted by Samuel ↵balrog2008-02-111-7/+8
| | | | | | Thibault). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3978 c046a42c-6fe2-441c-8c8c-71466251a162
* Make omap I2C controller work (previously untested). Implement post-OMAP1 ↵balrog2008-02-102-15/+116
| | | | | | changes. Introduce omap L4 abstraction. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3977 c046a42c-6fe2-441c-8c8c-71466251a162
* Add an ncurses UI.balrog2008-02-1011-13/+206
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3976 c046a42c-6fe2-441c-8c8c-71466251a162
* Add serial loopback mode (patch from Hervé Poussineau).balrog2008-02-101-8/+39
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3973 c046a42c-6fe2-441c-8c8c-71466251a162
* Enhance PC kbd debugging (patch from Hervé Poussineau)balrog2008-02-101-6/+9
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3972 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix parallel port software emulation (Hervé Poussineau).balrog2008-02-102-1/+3
| | | | | | | Remove __iomem, also unused. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3971 c046a42c-6fe2-441c-8c8c-71466251a162
* Remove unused boolean_t, should fix building for Solaris.balrog2008-02-101-1/+0
| | | | | | | Fix a typo (Stuart Brady). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3969 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix VMware VGA init call (Anthony Liguori).balrog2008-02-031-2/+2
| | | | | | | s/vga_ram_size/vga_ram_addr/ git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3957 c046a42c-6fe2-441c-8c8c-71466251a162
* Implement more INQUIRY command replies for scsi disk (Igor Kovalenko).balrog2008-02-031-4/+125
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3955 c046a42c-6fe2-441c-8c8c-71466251a162
* Simplify guess_disk_lchs - should fix Windows stack corruption spotted by ↵balrog2008-02-031-8/+1
| | | | | | TeLeMan (patch by Tristan Gingold). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3953 c046a42c-6fe2-441c-8c8c-71466251a162
* E1000 NIC emulation (Nir Peleg, patch from Dor Laor).balrog2008-02-034-1/+1870
| | | | | | | Applied %s/^\([^I ]*\)^I/\1 /g on e1000.c and added e1000 to help message. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3949 c046a42c-6fe2-441c-8c8c-71466251a162
* Move AUX1 and AUX2 to correct locationsblueswir12008-02-011-5/+5
| | | | | | | | | Update Sparc32 OpenBIOS image to SVN revision 185. Changes: r184: Enforce malloc alignment r185: Move AUX1 and AUX2 to correct locations, rename APC git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3946 c046a42c-6fe2-441c-8c8c-71466251a162
* Rearrange slavio_misc code to prepare for different addressesblueswir12008-01-273-80/+175
| | | | | | | | Pass first env instead of using cpu_single_env directly Add Aux1 to Sun4c git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3934 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix user timer mode change (Robert Reif)blueswir12008-01-261-20/+33
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3933 c046a42c-6fe2-441c-8c8c-71466251a162
* Add TurboSPARC mask ID register (Robert Reif)blueswir12008-01-251-1/+11
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3932 c046a42c-6fe2-441c-8c8c-71466251a162
* User timer limit fixes (Robert Reif)blueswir12008-01-251-11/+26
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3931 c046a42c-6fe2-441c-8c8c-71466251a162
* Change the usb-serial product ID to a more widely recognised value (Samuel ↵balrog2008-01-191-1/+1
| | | | | | | | | | Thibault). Implement chr_close callback for "stdio" so that it can be closed and reopened. Free chr devices after they're closed. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3927 c046a42c-6fe2-441c-8c8c-71466251a162
* Shuffle code to avoid NetBSD gcc 3.4.6 inlining bug (Rumko)blueswir12008-01-171-44/+43
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3924 c046a42c-6fe2-441c-8c8c-71466251a162
* Give ECC controller an IRQ (Robert Reif)blueswir12008-01-173-5/+11
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3923 c046a42c-6fe2-441c-8c8c-71466251a162
OpenPOWER on IntegriCloud