sdk/emulator/qemu.git
16 years agoARM TCG conversion 3/16.
pbrook [Mon, 31 Mar 2008 03:45:35 +0000 (03:45 +0000)]
ARM TCG conversion 3/16.

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

16 years agoARM TCG conversion 2/16.
pbrook [Mon, 31 Mar 2008 03:45:13 +0000 (03:45 +0000)]
ARM TCG conversion 2/16.

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

16 years agoARM TCG conversion 1/16.
pbrook [Mon, 31 Mar 2008 03:44:26 +0000 (03:44 +0000)]
ARM TCG conversion 1/16.

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

16 years agoRemove incorrect discards and old unused defines (blueswir1).
pbrook [Sun, 30 Mar 2008 19:47:23 +0000 (19:47 +0000)]
Remove incorrect discards and old unused defines (blueswir1).

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

16 years agoFix infinite loop when invalidating TLB, by Herve Poussineau.
ths [Sat, 29 Mar 2008 21:43:23 +0000 (21:43 +0000)]
Fix infinite loop when invalidating TLB, by Herve Poussineau.

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

16 years ago Change handling of source 2
blueswir1 [Sat, 29 Mar 2008 20:39:41 +0000 (20:39 +0000)]
 Change handling of source 2

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

16 years ago Change handling of source register 1
blueswir1 [Sat, 29 Mar 2008 20:38:35 +0000 (20:38 +0000)]
 Change handling of source register 1

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

16 years ago Move CPU stuff unrelated to translation to helper.c
blueswir1 [Sat, 29 Mar 2008 15:46:56 +0000 (15:46 +0000)]
 Move CPU stuff unrelated to translation to helper.c

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

16 years agoIDE: Improve DMA transfers by increasing the buffer size
aurel32 [Sat, 29 Mar 2008 12:15:35 +0000 (12:15 +0000)]
IDE: Improve DMA transfers by increasing the buffer size

(Ian Jackson)

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

16 years ago Rename T[012] according to their roles
blueswir1 [Sat, 29 Mar 2008 09:09:25 +0000 (09:09 +0000)]
 Rename T[012] according to their roles

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

16 years ago Avoid writes to T1 except for loads/stores, convert some T0 uses to cpu_tmp0
blueswir1 [Sat, 29 Mar 2008 09:03:48 +0000 (09:03 +0000)]
 Avoid writes to T1 except for loads/stores, convert some T0 uses to cpu_tmp0

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

16 years ago Accidentally dropped one change from previous commit
blueswir1 [Sat, 29 Mar 2008 08:59:48 +0000 (08:59 +0000)]
 Accidentally dropped one change from previous commit

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

16 years agoRevert "Fix ne2000_can_receive() function".
aurel32 [Fri, 28 Mar 2008 22:57:48 +0000 (22:57 +0000)]
Revert "Fix ne2000_can_receive() function".

When the card is stopped, it should always accept packets, and then
discard them. Thanks to Paul Brook for the explanations.

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

16 years agog364 framebuffer device
aurel32 [Fri, 28 Mar 2008 22:32:27 +0000 (22:32 +0000)]
g364 framebuffer device

(Hervé Poussineau)

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

16 years agoadd pread64 and pwrite64 system calls
aurel32 [Fri, 28 Mar 2008 22:32:06 +0000 (22:32 +0000)]
add pread64 and pwrite64 system calls

(Gary Thomas)

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

16 years agoFix flock64 structure on a few target (noticed by Gary Thomas)
aurel32 [Fri, 28 Mar 2008 22:31:51 +0000 (22:31 +0000)]
Fix flock64 structure on a few target (noticed by Gary Thomas)

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

16 years agoignore reads to the EOI register
aurel32 [Fri, 28 Mar 2008 22:31:36 +0000 (22:31 +0000)]
ignore reads to the EOI register

(Glauber Costa)

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

16 years agoe1000: add phy specific status register
aurel32 [Fri, 28 Mar 2008 22:31:22 +0000 (22:31 +0000)]
e1000: add phy specific status register

(Tristan Gingold)

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

16 years agoe1000: fix eerd registers
aurel32 [Fri, 28 Mar 2008 22:31:06 +0000 (22:31 +0000)]
e1000: fix eerd registers

(Tristan Gingold)

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

16 years agoe1000: fix unaligned access
aurel32 [Fri, 28 Mar 2008 22:30:48 +0000 (22:30 +0000)]
e1000: fix unaligned access

(Tristan Gingold)

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

16 years agox86-64: recompute DF after eflags has been modified when emulating SYSCALL
aurel32 [Fri, 28 Mar 2008 22:30:30 +0000 (22:30 +0000)]
x86-64: recompute DF after eflags has been modified when emulating SYSCALL

(Jakub Jermar)

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

16 years agoFix mipsnet device ID, noticed by Vijay Kumar.
aurel32 [Fri, 28 Mar 2008 22:29:33 +0000 (22:29 +0000)]
Fix mipsnet device ID, noticed by Vijay Kumar.

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

16 years agoUse spinlock_t for interrupt_lock, lock support for HPPA (Stuart Brady)
aurel32 [Fri, 28 Mar 2008 22:29:15 +0000 (22:29 +0000)]
Use spinlock_t for interrupt_lock, lock support for HPPA (Stuart Brady)

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

16 years agoFix ne2000_can_receive() function
aurel32 [Fri, 28 Mar 2008 22:29:00 +0000 (22:29 +0000)]
Fix ne2000_can_receive() function

(Samuel Thibault)

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

16 years agoAdd missing initial values for PIIX3 function 0 (PIRQRC)
aurel32 [Fri, 28 Mar 2008 22:28:45 +0000 (22:28 +0000)]
Add missing initial values for PIIX3 function 0 (PIRQRC)

(Sebastian Herbszt)

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

16 years agoupdate from latest Bochs BIOS
aurel32 [Fri, 28 Mar 2008 22:28:30 +0000 (22:28 +0000)]
update from latest Bochs BIOS

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

16 years agoTell BIOS about the number of CPUs
aurel32 [Fri, 28 Mar 2008 22:28:08 +0000 (22:28 +0000)]
Tell BIOS about the number of CPUs

Previously, the BIOS would probe the CPUs for SMP guests.  This tends to be
very unreliably because of startup timing issues.  By passing the number of
CPUs in the CMOS, the BIOS can detect the number of CPUs much more reliably.

(Anthony Liguori)

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

16 years agoImplement AT_CLKTCK.
pbrook [Wed, 26 Mar 2008 23:31:55 +0000 (23:31 +0000)]
Implement AT_CLKTCK.

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

16 years agoRevert accidental commit.
pbrook [Wed, 26 Mar 2008 22:40:25 +0000 (22:40 +0000)]
Revert accidental commit.

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

16 years agoRemove fixed length commandline buffers.
pbrook [Wed, 26 Mar 2008 20:55:43 +0000 (20:55 +0000)]
Remove fixed length commandline buffers.

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

16 years ago Concentrate cpu_T[012] use to one function
blueswir1 [Wed, 26 Mar 2008 20:47:52 +0000 (20:47 +0000)]
 Concentrate cpu_T[012] use to one function

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

16 years ago Split icc and xcc flag calculations
blueswir1 [Wed, 26 Mar 2008 20:45:56 +0000 (20:45 +0000)]
 Split icc and xcc flag calculations

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

16 years ago Remove some legacy definitions
blueswir1 [Wed, 26 Mar 2008 20:45:06 +0000 (20:45 +0000)]
 Remove some legacy definitions

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

16 years agom68k compare fix.
pbrook [Wed, 26 Mar 2008 19:30:35 +0000 (19:30 +0000)]
m68k compare fix.

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

16 years agom68k mmap2 fixes.
pbrook [Tue, 25 Mar 2008 22:28:25 +0000 (22:28 +0000)]
m68k mmap2 fixes.

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

16 years ago Fix a sign extension problem
blueswir1 [Mon, 24 Mar 2008 17:47:03 +0000 (17:47 +0000)]
 Fix a sign extension problem

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

16 years agoPut tap fd into nonblocking mode.
pbrook [Mon, 24 Mar 2008 02:31:33 +0000 (02:31 +0000)]
Put tap fd into nonblocking mode.

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

16 years ago Fix mulscc
blueswir1 [Sun, 23 Mar 2008 11:50:28 +0000 (11:50 +0000)]
 Fix mulscc

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

16 years agoFix and document curses configury bits.
pbrook [Sun, 23 Mar 2008 00:47:42 +0000 (00:47 +0000)]
Fix and document curses configury bits.

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

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