qemu
16 years ago* Add a model of the ETRAX interrupt controller.
edgar_igl [Fri, 14 Mar 2008 01:04:24 +0000 (01:04 +0000)]
* Add a model of the ETRAX interrupt controller.
* 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

16 years ago Use tcg_const_tl for zero constant
blueswir1 [Thu, 13 Mar 2008 20:47:53 +0000 (20:47 +0000)]
 Use tcg_const_tl for zero constant

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4054 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Add tcg_const_tl
blueswir1 [Thu, 13 Mar 2008 20:46:42 +0000 (20:46 +0000)]
 Add tcg_const_tl

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4053 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert condition code changing versions of add, sub, logic, and div to TCG
blueswir1 [Thu, 13 Mar 2008 20:45:31 +0000 (20:45 +0000)]
 Convert condition code changing versions of add, sub, logic, and div to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4052 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agods1225y nvram: Fix some bugs
aurel32 [Thu, 13 Mar 2008 19:23:00 +0000 (19:23 +0000)]
ds1225y nvram: Fix some bugs

- 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

16 years agoSlowdown SDL while minimized
aurel32 [Thu, 13 Mar 2008 19:20:33 +0000 (19:20 +0000)]
Slowdown SDL while minimized

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

16 years agoSDL mouse events smoothness
aurel32 [Thu, 13 Mar 2008 19:20:18 +0000 (19:20 +0000)]
SDL mouse events smoothness

(Samuel Thibault)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4049 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMath functions helper for CONFIG_SOFTFLOAT=yes
aurel32 [Thu, 13 Mar 2008 19:20:00 +0000 (19:20 +0000)]
Math functions helper for CONFIG_SOFTFLOAT=yes

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

16 years agoUse float32/64 instead of float/double
aurel32 [Thu, 13 Mar 2008 19:19:16 +0000 (19:19 +0000)]
Use float32/64 instead of float/double

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

16 years agoe1000: fix endianness issues
aurel32 [Thu, 13 Mar 2008 19:18:26 +0000 (19:18 +0000)]
e1000: fix endianness issues

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

16 years agortl8139: fix endianness on big endian targets
aurel32 [Thu, 13 Mar 2008 19:17:40 +0000 (19:17 +0000)]
rtl8139: fix endianness on big endian targets

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

16 years ago Fix i32 memory backed variables on 64-bit host
blueswir1 [Thu, 13 Mar 2008 17:34:19 +0000 (17:34 +0000)]
 Fix i32 memory backed variables on 64-bit host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4044 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoConvert from DOS to UNIX format, no code change.
aurel32 [Thu, 13 Mar 2008 01:19:15 +0000 (01:19 +0000)]
Convert from DOS to UNIX format, no code change.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4043 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoTCG README fixes (Stuart Brady)
aurel32 [Wed, 12 Mar 2008 21:40:02 +0000 (21:40 +0000)]
TCG README fixes (Stuart Brady)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4042 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRevert fix for CVE-2008-0928. Will be fixed in a different way later.
aurel32 [Tue, 11 Mar 2008 23:30:22 +0000 (23:30 +0000)]
Revert fix for CVE-2008-0928. Will be fixed in a different way later.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4041 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSH4, fix several instructions
aurel32 [Tue, 11 Mar 2008 23:22:37 +0000 (23:22 +0000)]
SH4, fix several instructions

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

16 years ago Remove blank elements in tcg_target_reg_alloc_order[] (Stuart Brady)
blueswir1 [Tue, 11 Mar 2008 21:01:02 +0000 (21:01 +0000)]
 Remove blank elements in tcg_target_reg_alloc_order[] (Stuart Brady)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4039 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Use a TCG global for regwptr
blueswir1 [Tue, 11 Mar 2008 20:59:02 +0000 (20:59 +0000)]
 Use a TCG global for regwptr

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4038 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix CVE-2008-0928 - insufficient block device address range checking
aurel32 [Tue, 11 Mar 2008 17:17:59 +0000 (17:17 +0000)]
Fix CVE-2008-0928 - insufficient block device address range checking

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

16 years agoLet the USB tablet reach the far bottom and right pixels
aurel32 [Mon, 10 Mar 2008 19:34:27 +0000 (19:34 +0000)]
Let the USB tablet reach the far bottom and right pixels

(Samuel Thibault)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4036 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoGT64XXX: fix endianness issues:
aurel32 [Mon, 10 Mar 2008 00:12:14 +0000 (00:12 +0000)]
GT64XXX: fix endianness issues:

- 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

16 years agomtfsf: fix FPSCR_VX and FPSCR_FEX computation
aurel32 [Mon, 10 Mar 2008 00:09:28 +0000 (00:09 +0000)]
mtfsf: fix FPSCR_VX and FPSCR_FEX computation

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

16 years agoHonor TMPDIR environment variable
aurel32 [Mon, 10 Mar 2008 00:05:34 +0000 (00:05 +0000)]
Honor TMPDIR environment variable

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4033 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoChange the e1000 mmio addr space according to spec.
aurel32 [Mon, 10 Mar 2008 00:02:10 +0000 (00:02 +0000)]
Change the e1000 mmio addr space according to spec.

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

16 years agoBe consistent in -clock parameter. Display also the list of available
aurel32 [Sun, 9 Mar 2008 23:43:49 +0000 (23:43 +0000)]
Be consistent in -clock parameter. Display also the list of available
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

16 years ago Convert andn, orn and xnor to TCG
blueswir1 [Sun, 9 Mar 2008 20:46:51 +0000 (20:46 +0000)]
 Convert andn, orn and xnor to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4030 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix some functions declared () rather than (void) (Ian Jackson)
blueswir1 [Sun, 9 Mar 2008 06:59:01 +0000 (06:59 +0000)]
 Fix some functions declared () rather than (void) (Ian Jackson)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4029 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert branches and conditional moves to TCG
blueswir1 [Sat, 8 Mar 2008 21:36:50 +0000 (21:36 +0000)]
 Convert branches and conditional moves to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4028 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Add function prologue, fix pointer load on Sparc64 host
blueswir1 [Sat, 8 Mar 2008 13:33:42 +0000 (13:33 +0000)]
 Add function prologue, fix pointer load on Sparc64 host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4027 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Update based on Stuart Brady's comments
blueswir1 [Fri, 7 Mar 2008 18:21:39 +0000 (18:21 +0000)]
 Update based on Stuart Brady's comments

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4026 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSplit OMAP DMA out to a file apart.
balrog [Thu, 6 Mar 2008 21:07:38 +0000 (21:07 +0000)]
Split OMAP DMA out to a file apart.
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

16 years agoCheck for out of range update regions (original patch from Anthony Liguori).
balrog [Thu, 6 Mar 2008 20:43:34 +0000 (20:43 +0000)]
Check for out of range update regions (original patch from Anthony Liguori).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4024 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRegister VMware SVGA's memory io region with PCI framework.
balrog [Thu, 6 Mar 2008 20:28:49 +0000 (20:28 +0000)]
Register VMware SVGA's memory io region with PCI framework.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4023 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert exception ops to TCG
blueswir1 [Thu, 6 Mar 2008 20:09:54 +0000 (20:09 +0000)]
 Convert exception ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4022 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix microSPARC II SFSR mask (Robert Reif)
blueswir1 [Thu, 6 Mar 2008 16:13:51 +0000 (16:13 +0000)]
 Fix microSPARC II SFSR mask (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4021 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Add more machine definitions
blueswir1 [Wed, 5 Mar 2008 18:27:45 +0000 (18:27 +0000)]
 Add more machine definitions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4020 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Properly bomb out on errors in Makefile shell fragments (Ian Jackson)
blueswir1 [Wed, 5 Mar 2008 18:16:09 +0000 (18:16 +0000)]
 Properly bomb out on errors in Makefile shell fragments (Ian Jackson)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4019 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert Sparc64 trap state ops to TCG
blueswir1 [Wed, 5 Mar 2008 17:59:48 +0000 (17:59 +0000)]
 Convert Sparc64 trap state ops to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4018 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago32-bit host sign extension fix (Juergen Lock).
pbrook [Tue, 4 Mar 2008 23:52:47 +0000 (23:52 +0000)]
32-bit host sign extension fix (Juergen Lock).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4017 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Show IRQ set or reset (Robert Reif)
blueswir1 [Tue, 4 Mar 2008 20:29:59 +0000 (20:29 +0000)]
 Show IRQ set or reset (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4016 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Remove unneeded qemu_irq_lower (Robert Reif)
blueswir1 [Tue, 4 Mar 2008 20:29:03 +0000 (20:29 +0000)]
 Remove unneeded qemu_irq_lower (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4015 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert float helpers to TCG, fix fabsq in the process
blueswir1 [Tue, 4 Mar 2008 20:00:18 +0000 (20:00 +0000)]
 Convert float helpers to TCG, fix fabsq in the process

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4014 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert fmovr to TCG
blueswir1 [Tue, 4 Mar 2008 19:56:06 +0000 (19:56 +0000)]
 Convert fmovr to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4013 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCRIS signals:
edgar_igl [Mon, 3 Mar 2008 22:23:53 +0000 (22:23 +0000)]
CRIS signals:
* Save $mof across signals.
* Cleaned up frame accesses.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4012 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert tick operations to TCG
blueswir1 [Sun, 2 Mar 2008 18:28:06 +0000 (18:28 +0000)]
 Convert tick operations to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4011 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert movr and (partially) movcc to TCG
blueswir1 [Sun, 2 Mar 2008 18:25:27 +0000 (18:25 +0000)]
 Convert movr and (partially) movcc to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4010 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Convert addx, subx, next_insn and mov_pc_npc to TCG
blueswir1 [Sun, 2 Mar 2008 18:22:19 +0000 (18:22 +0000)]
 Convert addx, subx, next_insn and mov_pc_npc to TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4009 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Add brcond_tl
blueswir1 [Sun, 2 Mar 2008 18:20:59 +0000 (18:20 +0000)]
 Add brcond_tl

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4008 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoLet ESP SCSI adapter to be usable outside sun4m (Herv�oussineau)
blueswir1 [Sun, 2 Mar 2008 08:48:47 +0000 (08:48 +0000)]
Let ESP SCSI adapter to be usable outside sun4m (Herv�oussineau)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4007 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd a tests for user-mode mmap
edgar_igl [Sat, 1 Mar 2008 22:23:17 +0000 (22:23 +0000)]
Add a tests for user-mode mmap

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4006 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd test-case for btst CCS flags updates.
edgar_igl [Sat, 1 Mar 2008 18:50:54 +0000 (18:50 +0000)]
Add test-case for btst CCS flags updates.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4005 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago* target-cris/op.c: Make sure the bit-test insn only updates the XNZ flags.
edgar_igl [Sat, 1 Mar 2008 17:25:33 +0000 (17:25 +0000)]
* target-cris/op.c: Make sure the bit-test insn only updates the XNZ flags.
* 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

16 years ago Fix compiler warning
blueswir1 [Fri, 29 Feb 2008 19:36:08 +0000 (19:36 +0000)]
 Fix compiler warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4003 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix register references (Igor Kovalenko)
blueswir1 [Fri, 29 Feb 2008 19:34:39 +0000 (19:34 +0000)]
 Fix register references (Igor Kovalenko)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4002 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix sun4m machine if MAX_FD != 2 (Herv�oussineau)
blueswir1 [Fri, 29 Feb 2008 19:26:20 +0000 (19:26 +0000)]
Fix sun4m machine if MAX_FD != 2 (Herv�oussineau)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4001 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoGive names to magic numbers (Herv�oussineau)
blueswir1 [Fri, 29 Feb 2008 19:24:00 +0000 (19:24 +0000)]
Give names to magic numbers (Herv�oussineau)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4000 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFirst try at supporting ordinary signals for CRIS linux-user guests.
edgar_igl [Thu, 28 Feb 2008 11:29:27 +0000 (11:29 +0000)]
First try at supporting ordinary signals for CRIS linux-user guests.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3999 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd small testcase for ordinary signals.
edgar_igl [Thu, 28 Feb 2008 11:23:20 +0000 (11:23 +0000)]
Add small testcase for ordinary signals.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3998 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCut the translation block after translating a break insn. This avoids an issue where...
edgar_igl [Thu, 28 Feb 2008 09:37:58 +0000 (09:37 +0000)]
Cut the translation block after translating a break insn. This avoids an issue where QEMU finds an illegal CRIS insn while the guest is returning through a signal return trampoline.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3997 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMore consistent naming for CRIS register-number macros.
edgar_igl [Thu, 28 Feb 2008 08:28:32 +0000 (08:28 +0000)]
More consistent naming for CRIS register-number macros.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3996 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Preliminary Sparc TCG target
blueswir1 [Wed, 27 Feb 2008 17:53:27 +0000 (17:53 +0000)]
 Preliminary Sparc TCG target

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3995 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Temporary fix for i386 host
blueswir1 [Wed, 27 Feb 2008 17:44:03 +0000 (17:44 +0000)]
 Temporary fix for i386 host

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3994 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoInitialize disasinfo->private_data, binutils does it and some disassemblers depend...
edgar_igl [Wed, 27 Feb 2008 15:25:24 +0000 (15:25 +0000)]
Initialize disasinfo->private_data, binutils does it and some disassemblers depend on it.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3993 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix mixed defines
blueswir1 [Mon, 25 Feb 2008 18:29:19 +0000 (18:29 +0000)]
 Fix mixed defines

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3992 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd testcase for CRIS ftag/fidx cache flushing insns.
edgar_igl [Mon, 25 Feb 2008 10:00:07 +0000 (10:00 +0000)]
Add testcase for CRIS ftag/fidx cache flushing insns.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3991 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSilently ignore CRIS cache flushes, instead of aborting due to unknown insn.
edgar_igl [Mon, 25 Feb 2008 09:58:22 +0000 (09:58 +0000)]
Silently ignore CRIS cache flushes, instead of aborting due to unknown insn.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3990 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Modify Sparc32/64 to use TCG
blueswir1 [Sun, 24 Feb 2008 14:10:06 +0000 (14:10 +0000)]
 Modify Sparc32/64 to use TCG

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3989 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago More helper types, rearrange generic definitions
blueswir1 [Sun, 24 Feb 2008 07:45:43 +0000 (07:45 +0000)]
 More helper types, rearrange generic definitions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3988 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoReally stop the transfer when the DMA channel is being disabled.
balrog [Sat, 23 Feb 2008 02:08:35 +0000 (02:08 +0000)]
Really stop the transfer when the DMA channel is being disabled.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3987 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoThe non-ncurses curses doesn't have resize_term, so make resizing conditional.
balrog [Fri, 22 Feb 2008 18:21:28 +0000 (18:21 +0000)]
The non-ncurses curses doesn't have resize_term, so make resizing conditional.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3986 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix andi, optimize addi and subi zero cases
blueswir1 [Wed, 20 Feb 2008 18:01:23 +0000 (18:01 +0000)]
 Fix andi, optimize addi and subi zero cases

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3985 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUnify RTCs that use host time, fix M48t59 alarm.
balrog [Sun, 17 Feb 2008 11:42:19 +0000 (11:42 +0000)]
Unify RTCs that use host time, fix M48t59 alarm.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3984 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix typo
blueswir1 [Sun, 17 Feb 2008 08:45:04 +0000 (08:45 +0000)]
 Fix typo

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3983 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix remote debugger memory access problems reported by Matthias Stein
blueswir1 [Thu, 14 Feb 2008 17:46:44 +0000 (17:46 +0000)]
 Fix remote debugger memory access problems reported by Matthias Stein

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3982 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMake MIPS MT implementation more cache friendly.
ths [Tue, 12 Feb 2008 21:01:26 +0000 (21:01 +0000)]
Make MIPS MT implementation more cache friendly.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3981 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix SS-20 auxio addresses
blueswir1 [Mon, 11 Feb 2008 20:01:36 +0000 (20:01 +0000)]
 Fix SS-20 auxio addresses

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3980 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Sparc32 MMU register fixes (Robert Reif)
blueswir1 [Mon, 11 Feb 2008 18:27:33 +0000 (18:27 +0000)]
 Sparc32 MMU register fixes (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3979 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoForce a resize after leaving graphical mode in curses (spotted by Samuel Thibault).
balrog [Mon, 11 Feb 2008 00:09:42 +0000 (00:09 +0000)]
Force a resize after leaving graphical mode in curses (spotted by Samuel Thibault).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3978 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMake omap I2C controller work (previously untested). Implement post-OMAP1 changes...
balrog [Sun, 10 Feb 2008 17:02:23 +0000 (17:02 +0000)]
Make omap I2C controller work (previously untested).  Implement post-OMAP1 changes.  Introduce omap L4 abstraction.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3977 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd an ncurses UI.
balrog [Sun, 10 Feb 2008 16:33:14 +0000 (16:33 +0000)]
Add an ncurses UI.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3976 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCorrect qemu-img usage hint (Andreas Färber).
balrog [Sun, 10 Feb 2008 14:10:31 +0000 (14:10 +0000)]
Correct qemu-img usage hint (Andreas Färber).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3975 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSimplify TCG relocation bugfix.
pbrook [Sun, 10 Feb 2008 14:09:09 +0000 (14:09 +0000)]
Simplify TCG relocation bugfix.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3974 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd serial loopback mode (patch from Hervé Poussineau).
balrog [Sun, 10 Feb 2008 13:40:52 +0000 (13:40 +0000)]
Add serial loopback mode (patch from Hervé Poussineau).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3973 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoEnhance PC kbd debugging (patch from Hervé Poussineau)
balrog [Sun, 10 Feb 2008 13:39:24 +0000 (13:39 +0000)]
Enhance PC kbd debugging (patch from Hervé Poussineau)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3972 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix parallel port software emulation (Hervé Poussineau).
balrog [Sun, 10 Feb 2008 13:34:48 +0000 (13:34 +0000)]
Fix parallel port software emulation (Hervé Poussineau).
Remove __iomem, also unused.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3971 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDon't error out on zero-length chunks in writev, as to mimic Linux (Kirill A. Shutemov).
balrog [Sun, 10 Feb 2008 13:28:08 +0000 (13:28 +0000)]
Don't error out on zero-length chunks in writev, as to mimic Linux (Kirill A. Shutemov).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3970 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRemove unused boolean_t, should fix building for Solaris.
balrog [Sun, 10 Feb 2008 13:21:25 +0000 (13:21 +0000)]
Remove unused boolean_t, should fix building for Solaris.
Fix a typo (Stuart Brady).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3969 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix TCG relocation bug (exposed by fault after brcond op). Add FIXME for
pbrook [Sun, 10 Feb 2008 02:41:15 +0000 (02:41 +0000)]
Fix TCG relocation bug (exposed by fault after brcond op).  Add FIXME for
annother potential bug.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3968 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agolock_iovec() fix
bellard [Mon, 4 Feb 2008 22:26:57 +0000 (22:26 +0000)]
lock_iovec() fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3967 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agowin32: suppress alloca() warning
bellard [Mon, 4 Feb 2008 22:03:16 +0000 (22:03 +0000)]
win32: suppress alloca() warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3966 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agowin32 fix
bellard [Mon, 4 Feb 2008 22:00:42 +0000 (22:00 +0000)]
win32 fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3965 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUpdate texi2pod.pl.
ths [Mon, 4 Feb 2008 14:47:49 +0000 (14:47 +0000)]
Update texi2pod.pl.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3964 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agofixed sign extensions - added explicit side effect op flag - added discard instruction
bellard [Mon, 4 Feb 2008 00:37:54 +0000 (00:37 +0000)]
fixed sign extensions - added explicit side effect op flag - added discard instruction

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3963 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agocompare fix
bellard [Sun, 3 Feb 2008 21:06:23 +0000 (21:06 +0000)]
compare fix

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3962 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd TCG variable opaque type.
pbrook [Sun, 3 Feb 2008 19:56:33 +0000 (19:56 +0000)]
Add TCG variable opaque type.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3961 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRobustify source directory check.
pbrook [Sun, 3 Feb 2008 19:20:13 +0000 (19:20 +0000)]
Robustify source directory check.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3960 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix opparam_buf size estimate.
pbrook [Sun, 3 Feb 2008 17:35:41 +0000 (17:35 +0000)]
Fix opparam_buf size estimate.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3959 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse ARCH_CFLAGS in configure tests.
pbrook [Sun, 3 Feb 2008 16:27:13 +0000 (16:27 +0000)]
Use ARCH_CFLAGS in configure tests.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3958 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix VMware VGA init call (Anthony Liguori).
balrog [Sun, 3 Feb 2008 04:33:32 +0000 (04:33 +0000)]
Fix VMware VGA init call (Anthony Liguori).
s/vga_ram_size/vga_ram_addr/

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3957 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix building under paths with symlinks (patch from Richard Purdie).
balrog [Sun, 3 Feb 2008 04:22:24 +0000 (04:22 +0000)]
Fix building under paths with symlinks (patch from Richard Purdie).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3956 c046a42c-6fe2-441c-8c8c-71466251a162