sdk/emulator/qemu.git
16 years ago Convert ldf/ldfsr and stf/stfsr to TCG
blueswir1 [Sat, 22 Mar 2008 08:47:14 +0000 (08:47 +0000)]
 Convert ldf/ldfsr and stf/stfsr to TCG

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

16 years ago Fix i32/i64/TL mismatches
blueswir1 [Sat, 22 Mar 2008 08:40:28 +0000 (08:40 +0000)]
 Fix i32/i64/TL mismatches

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

16 years ago Add TL variants of trunc and ext/extu
blueswir1 [Sat, 22 Mar 2008 08:39:04 +0000 (08:39 +0000)]
 Add TL variants of trunc and ext/extu

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

16 years ago Remove leftover definitions
blueswir1 [Fri, 21 Mar 2008 18:31:43 +0000 (18:31 +0000)]
 Remove leftover definitions

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

16 years ago Convert align checks to TCG
blueswir1 [Fri, 21 Mar 2008 18:08:59 +0000 (18:08 +0000)]
 Convert align checks to TCG

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

16 years ago Wire up TC signal from Aux1 to FDC
blueswir1 [Fri, 21 Mar 2008 18:05:23 +0000 (18:05 +0000)]
 Wire up TC signal from Aux1 to FDC

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

16 years ago Prepare for op.c removal and zero legacy ops
blueswir1 [Fri, 21 Mar 2008 18:03:09 +0000 (18:03 +0000)]
 Prepare for op.c removal and zero legacy ops

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

16 years ago Convert jumps to labels to TCG
blueswir1 [Fri, 21 Mar 2008 17:59:39 +0000 (17:59 +0000)]
 Convert jumps to labels to TCG

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

16 years ago Make TCG br op available
blueswir1 [Fri, 21 Mar 2008 17:58:45 +0000 (17:58 +0000)]
 Make TCG br op available

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

16 years ago Convert save, restore, saved, restored, and flushw to TCG
blueswir1 [Fri, 21 Mar 2008 17:57:29 +0000 (17:57 +0000)]
 Convert save, restore, saved, restored, and flushw to TCG

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

16 years ago Convert other float and VIS ops to TCG
blueswir1 [Fri, 21 Mar 2008 17:56:02 +0000 (17:56 +0000)]
 Convert other float and VIS ops to TCG

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

16 years ago Convert float move ops to TCG
blueswir1 [Fri, 21 Mar 2008 17:53:56 +0000 (17:53 +0000)]
 Convert float move ops to TCG

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

16 years agoFix Thumb signal handlers.
pbrook [Fri, 21 Mar 2008 16:07:30 +0000 (16:07 +0000)]
Fix Thumb signal handlers.

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

16 years ago Convert udiv and sdiv ops to TCG
blueswir1 [Tue, 18 Mar 2008 18:10:42 +0000 (18:10 +0000)]
 Convert udiv and sdiv ops to TCG

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

16 years ago Use ext_i32_i64 instead of ext32s_i64
blueswir1 [Tue, 18 Mar 2008 18:09:27 +0000 (18:09 +0000)]
 Use ext_i32_i64 instead of ext32s_i64

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

16 years ago Convert CCR and CWP ops to TCG
blueswir1 [Tue, 18 Mar 2008 18:08:25 +0000 (18:08 +0000)]
 Convert CCR and CWP ops to TCG

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

16 years ago Convert array8/16/32 and alignaddr to TCG
blueswir1 [Tue, 18 Mar 2008 18:06:54 +0000 (18:06 +0000)]
 Convert array8/16/32 and alignaddr to TCG

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

16 years agoTypo in curses_keys.h.
aurel32 [Tue, 18 Mar 2008 06:55:27 +0000 (06:55 +0000)]
Typo in curses_keys.h.

(Dan Nelson)

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

16 years agoClean fdc.h
aurel32 [Tue, 18 Mar 2008 06:55:03 +0000 (06:55 +0000)]
Clean fdc.h

(Hervé Poussineau)

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

16 years agoAdd KBD_CMD_SCANCODE command.
aurel32 [Tue, 18 Mar 2008 06:54:34 +0000 (06:54 +0000)]
Add KBD_CMD_SCANCODE command.

(Hervé Poussineau)

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

16 years agoSCI fixes
aurel32 [Tue, 18 Mar 2008 06:53:05 +0000 (06:53 +0000)]
SCI fixes

(Anthony Liguori)

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

16 years agorestore rw support for vvfat
aurel32 [Tue, 18 Mar 2008 06:52:48 +0000 (06:52 +0000)]
restore rw support for vvfat

(Carlo Marcelo Arenas)

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

16 years agoDocumentation update for the monitor change command
aurel32 [Tue, 18 Mar 2008 06:52:14 +0000 (06:52 +0000)]
Documentation update for the monitor change command

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

16 years agoDocumentation for the -curses option
aurel32 [Tue, 18 Mar 2008 06:51:54 +0000 (06:51 +0000)]
Documentation for the -curses option

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

16 years ago Convert umul and smul to TCG
blueswir1 [Sun, 16 Mar 2008 19:24:42 +0000 (19:24 +0000)]
 Convert umul and smul to TCG

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

16 years ago Use a TCG global for pc and npc
blueswir1 [Sun, 16 Mar 2008 19:23:31 +0000 (19:23 +0000)]
 Use a TCG global for pc and npc

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

16 years ago Convert mulscc to TCG, add cc_src2
blueswir1 [Sun, 16 Mar 2008 19:22:18 +0000 (19:22 +0000)]
 Convert mulscc to TCG, add cc_src2

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

16 years ago Increase max temps limit
blueswir1 [Sun, 16 Mar 2008 19:21:07 +0000 (19:21 +0000)]
 Increase max temps limit

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

16 years ago Discard unused data, use less temps
blueswir1 [Sun, 16 Mar 2008 19:18:54 +0000 (19:18 +0000)]
 Discard unused data, use less temps

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

16 years ago Add discard_ptr and discard_tl
blueswir1 [Sun, 16 Mar 2008 19:16:37 +0000 (19:16 +0000)]
 Add discard_ptr and discard_tl

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

16 years agoMore TCG conversions for CRIS.
edgar_igl [Sun, 16 Mar 2008 16:51:58 +0000 (16:51 +0000)]
More TCG conversions for CRIS.

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

16 years agoRemove unused members.
edgar_igl [Sun, 16 Mar 2008 16:38:48 +0000 (16:38 +0000)]
Remove unused members.

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

16 years agoMore TCG conversions for CRIS.
edgar_igl [Sat, 15 Mar 2008 20:45:05 +0000 (20:45 +0000)]
More TCG conversions for CRIS.
* Bit swap insn (bitwise not, endian swap and bit reverse).
* Muls and mulu.
* Extended arithmetics.
* Parts of the condition code handling.
* Use tcg_const_tl.

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

16 years ago Use a TCG global for fsr
blueswir1 [Sat, 15 Mar 2008 18:12:11 +0000 (18:12 +0000)]
 Use a TCG global for fsr

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

16 years ago Convert ldfsr and stfsr to TCG
blueswir1 [Sat, 15 Mar 2008 18:11:06 +0000 (18:11 +0000)]
 Convert ldfsr and stfsr to TCG

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

16 years agoSimplified some dead extended arith code after search and replace.
edgar_igl [Sat, 15 Mar 2008 09:13:04 +0000 (09:13 +0000)]
Simplified some dead extended arith code after search and replace.

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

16 years ago Eliminate some uses of T2
blueswir1 [Fri, 14 Mar 2008 21:09:15 +0000 (21:09 +0000)]
 Eliminate some uses of T2

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

16 years ago Convert udivx and sdivx to TCG
blueswir1 [Fri, 14 Mar 2008 19:42:42 +0000 (19:42 +0000)]
 Convert udivx and sdivx to TCG

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

16 years ago Allow op_opt for all targets
blueswir1 [Fri, 14 Mar 2008 17:37:11 +0000 (17:37 +0000)]
 Allow op_opt for all targets

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

16 years ago Use memory globals for G registers
blueswir1 [Fri, 14 Mar 2008 17:35:02 +0000 (17:35 +0000)]
 Use memory globals for G registers

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

16 years agoUse TARGET_FMT_lx.
edgar_igl [Fri, 14 Mar 2008 14:11:05 +0000 (14:11 +0000)]
Use TARGET_FMT_lx.

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

16 years agoCFI: Fix AMD erase support
aurel32 [Fri, 14 Mar 2008 06:45:21 +0000 (06:45 +0000)]
CFI: Fix AMD erase support

(Jean-Christophe PLAGNIOL-VILLARD)

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

16 years agoImprove readability by moving the continue operation into aseparate function.
edgar_igl [Fri, 14 Mar 2008 06:10:42 +0000 (06:10 +0000)]
Improve readability by moving the continue operation into aseparate function.

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

16 years agoMade the etrax timers and serial-ports base address relocatable. Use target_phys_addr...
edgar_igl [Fri, 14 Mar 2008 01:50:49 +0000 (01:50 +0000)]
Made the etrax timers and serial-ports base address relocatable. Use target_phys_addr_t instead of target_ulong.

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

16 years agoA first small step to convert the CRIS translator to TCG.
edgar_igl [Fri, 14 Mar 2008 01:11:25 +0000 (01:11 +0000)]
A first small step to convert the CRIS translator to TCG.

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

16 years agoModel more parts of the ETRAX mmu (still alot missing).
edgar_igl [Fri, 14 Mar 2008 01:08:09 +0000 (01:08 +0000)]
Model more parts of the ETRAX mmu (still alot missing).

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

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