summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Slowdown SDL while minimizedaurel322008-03-133-1/+15
| | | | | | | | | | | | When SDL is invisible/minimized, there is no need to keep calling the VGA refresh 33 times per second. This patch reduces in that case the rate to 2 times per second, which should be responsive enough for the un-minimizing event. (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4050 c046a42c-6fe2-441c-8c8c-71466251a162
* SDL mouse events smoothnessaurel322008-03-131-16/+20
| | | | | | | (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4049 c046a42c-6fe2-441c-8c8c-71466251a162
* Math functions helper for CONFIG_SOFTFLOAT=yesaurel322008-03-131-0/+21
| | | | | | | | The patch below adds isfinite() and isnormal() functions which can work with float64 type, used when CONFIG_SOFTFLOAT=yes. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4048 c046a42c-6fe2-441c-8c8c-71466251a162
* Use float32/64 instead of float/doubleaurel322008-03-136-458/+241
| | | | | | | | | | | | | | The patch below uses the float32 and float64 types instead of the float and double types in the PPC code. This doesn't change anything when using softfloat-native as the types are the same, but that helps compiling the PPC target with softfloat. It also defines a new union CPU_FloatU in addition to CPU_DoubleU, and use them instead of identical unions that are defined in numerous places. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4047 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
* Fix i32 memory backed variables on 64-bit hostblueswir12008-03-134-19/+25
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4044 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
* TCG README fixes (Stuart Brady)aurel322008-03-121-4/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4042 c046a42c-6fe2-441c-8c8c-71466251a162
* Revert fix for CVE-2008-0928. Will be fixed in a different way later.aurel322008-03-117-79/+6
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4041 c046a42c-6fe2-441c-8c8c-71466251a162
* SH4, fix several instructionsaurel322008-03-112-63/+160
| | | | | | | | | | | | | | | fix instruction code for frchg, fschg, ocbp. fix addressing mode handling for @Rn+, @-Rn, @(disp,gbr). fix operation for div0s. fix comments for mov imm, add imm, @(r0+,gbr), mac.l @Rm+,@Rn+. fix ldb to ldub for or/tst/xor.b #imm,@(r0,gbr). add fmov extended operations. add fcmp/eq, fcmp/gt, fneg, fabs, fsqrt, fcnvsd, fcnvds. (Takashi Yoshii) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4040 c046a42c-6fe2-441c-8c8c-71466251a162
* Remove blank elements in tcg_target_reg_alloc_order[] (Stuart Brady)blueswir12008-03-115-5/+9
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4039 c046a42c-6fe2-441c-8c8c-71466251a162
* Use a TCG global for regwptrblueswir12008-03-111-3/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4038 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix CVE-2008-0928 - insufficient block device address range checkingaurel322008-03-116-3/+79
| | | | | | | | | Qemu 0.9.1 and earlier does not perform range checks for block device read or write requests, which allows guest host users with root privileges to access arbitrary memory and escape the virtual machine. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4037 c046a42c-6fe2-441c-8c8c-71466251a162
* Let the USB tablet reach the far bottom and right pixelsaurel322008-03-104-6/+6
| | | | | | | (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4036 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
* mtfsf: fix FPSCR_VX and FPSCR_FEX computationaurel322008-03-101-0/+4
| | | | | | | | | | | | The patch below fixes the computation of FPSCR_VX and FPSCR_FEX when using the mtfsf instruction. As stated in the PowerPC manual the mtfsf instruction can't alter those bit, and thus it should always be computed. Acked by Jocelyn Mayer. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4034 c046a42c-6fe2-441c-8c8c-71466251a162
* Honor TMPDIR environment variableaurel322008-03-101-1/+5
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4033 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
* Be consistent in -clock parameter. Display also the list of availableaurel322008-03-091-5/+5
| | | | | | | | sources if no valid clock name has been specified. (Hervé Poussineau) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4031 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert andn, orn and xnor to TCGblueswir12008-03-092-18/+6
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4030 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix some functions declared () rather than (void) (Ian Jackson)blueswir12008-03-097-12/+12
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4029 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert branches and conditional moves to TCGblueswir12008-03-083-650/+587
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4028 c046a42c-6fe2-441c-8c8c-71466251a162
* Add function prologue, fix pointer load on Sparc64 hostblueswir12008-03-083-12/+67
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4027 c046a42c-6fe2-441c-8c8c-71466251a162
* Update based on Stuart Brady's commentsblueswir12008-03-071-39/+43
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4026 c046a42c-6fe2-441c-8c8c-71466251a162
* Split OMAP DMA out to a file apart.balrog2008-03-065-1377/+1413
| | | | | | | 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
* Convert exception ops to TCGblueswir12008-03-065-18/+19
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4022 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix microSPARC II SFSR mask (Robert Reif)blueswir12008-03-061-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4021 c046a42c-6fe2-441c-8c8c-71466251a162
* Add more machine definitionsblueswir12008-03-053-0/+297
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4020 c046a42c-6fe2-441c-8c8c-71466251a162
* Properly bomb out on errors in Makefile shell fragments (Ian Jackson)blueswir12008-03-051-5/+5
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4019 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert Sparc64 trap state ops to TCGblueswir12008-03-055-70/+103
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4018 c046a42c-6fe2-441c-8c8c-71466251a162
* 32-bit host sign extension fix (Juergen Lock).pbrook2008-03-041-2/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4017 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
* Convert float helpers to TCG, fix fabsq in the processblueswir12008-03-045-281/+232
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4014 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert fmovr to TCGblueswir12008-03-041-15/+27
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4013 c046a42c-6fe2-441c-8c8c-71466251a162
* CRIS signals:edgar_igl2008-03-031-57/+58
| | | | | | | | * Save $mof across signals. * Cleaned up frame accesses. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4012 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert tick operations to TCGblueswir12008-03-025-58/+90
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4011 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert movr and (partially) movcc to TCGblueswir12008-03-022-24/+42
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4010 c046a42c-6fe2-441c-8c8c-71466251a162
* Convert addx, subx, next_insn and mov_pc_npc to TCGblueswir12008-03-022-27/+29
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4009 c046a42c-6fe2-441c-8c8c-71466251a162
* Add brcond_tlblueswir12008-03-021-0/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4008 c046a42c-6fe2-441c-8c8c-71466251a162
* Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau)blueswir12008-03-025-22/+33
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4007 c046a42c-6fe2-441c-8c8c-71466251a162
* Add a tests for user-mode mmapedgar_igl2008-03-013-0/+487
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4006 c046a42c-6fe2-441c-8c8c-71466251a162
* Add test-case for btst CCS flags updates.edgar_igl2008-03-011-0/+8
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4005 c046a42c-6fe2-441c-8c8c-71466251a162
* * target-cris/op.c: Make sure the bit-test insn only updates the XNZ flags.edgar_igl2008-03-014-60/+99
| | | | | | | | | * 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 compiler warningblueswir12008-02-291-0/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4003 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix register references (Igor Kovalenko)blueswir12008-02-291-3/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4002 c046a42c-6fe2-441c-8c8c-71466251a162