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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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