aliguori [Wed, 10 Sep 2008 15:23:19 +0000 (15:23 +0000)]
qemu-nbd: remove useless parameter from nbd_negotiate() (Laurent Vivier)
This patch removes "BlockDriverState *bs" from nbd_negotiate() because
it is not used.
Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.fr>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5186
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 9 Sep 2008 19:02:49 +0000 (19:02 +0000)]
Implement ldxfsr/stxfsr, fix ld(x)fsr masks, convert to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5185
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 9 Sep 2008 18:56:59 +0000 (18:56 +0000)]
Add missing "static"
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5184
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Tue, 9 Sep 2008 17:15:28 +0000 (17:15 +0000)]
Add gitignore file
While QEMU officially uses SVN, there are a number of unofficial git
repositories that many developers use. Adding a .gitignore (derived from the
svn:ignore) will make their lives a lot easier.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5183
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Tue, 9 Sep 2008 14:49:02 +0000 (14:49 +0000)]
Fix up pxe boot (Glauber Costa)
As discussed in
http://lists.gnu.org/archive/html/qemu-devel/2008-08/msg00667.html,
current pxe boot is broken for some use cases. The problem
goes away if we reduce the number of allowed bits in the address space
to 32 (which has the side effect of reducing guest max mem size to 4Gb).
After digging for a while, it turns out that it happens because pxelinux
tries to access address 0x10009e9a6, which does not fit a 32-bit address.
A closer look, however, reveals this access is totally valid: It's just
0x9e9a6 with an add carry.
To avoid this, this patch casts the address passed to the POPL macro to
a 32-bit value. This is also done, although just theorectically, for
PUSHL too.
Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Reported-by: Chris Lalancette <clalance@redhat.com>
CC: Eduardo Habkost <ehabkost@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5182
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 7 Sep 2008 21:00:01 +0000 (21:00 +0000)]
alpha: only print debug information to the log file
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5181
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sun, 7 Sep 2008 18:07:39 +0000 (18:07 +0000)]
TCG: Use x86-64 zero extension instructions.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5180
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sun, 7 Sep 2008 17:45:15 +0000 (17:45 +0000)]
Implement TCG sign extension ops for x86-64.
Signed-off-by: Paul Brook <paul@codesourcery.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5179
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sun, 7 Sep 2008 16:42:53 +0000 (16:42 +0000)]
Fix libvdeplug link test.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5178
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 6 Sep 2008 17:54:01 +0000 (17:54 +0000)]
Fix a typo in fpsub32
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5177
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 6 Sep 2008 17:51:43 +0000 (17:51 +0000)]
Convert most env fields to TCG registers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5176
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 6 Sep 2008 17:50:16 +0000 (17:50 +0000)]
Silence gcc warning about constant overflow
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5175
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 6 Sep 2008 17:49:06 +0000 (17:49 +0000)]
Enable gcc flag -Wundef
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5174
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 6 Sep 2008 17:47:39 +0000 (17:47 +0000)]
Fix most warnings that would be caused by gcc flag -Wundef
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5173
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 6 Sep 2008 16:31:30 +0000 (16:31 +0000)]
Some little fixes on QEMU
- some vectors can be declared as "const"
- test on CONFIG_VNC_TLS is done for two times while just one is enough.
(Carlo Bramini)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5172
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 5 Sep 2008 19:07:53 +0000 (19:07 +0000)]
fix alpha cmovxx instruction
The CMOV instruction is defined by the alpha manual as:
CMOVxx Ra.rq,Rb.rq,Rc.wq !Operate format
CMOVxx Ra.rq,#b.ib,Rc.wq !Operate format
Operation:
IF TEST(Rav, Condition_based_on_Opcode) THEN
Rc ← Rbv
The current qemu behavior inverses Ra and Rb. This is fixed by this
patch.
Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5171
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 5 Sep 2008 17:17:55 +0000 (17:17 +0000)]
CRIS: Mask off the cache selection bit after MMU translations.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5170
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 5 Sep 2008 14:22:24 +0000 (14:22 +0000)]
Revert "TCG: enable debug"
This reverts commit 5166, commited by error.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5169
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 5 Sep 2008 14:19:51 +0000 (14:19 +0000)]
ppc: Convert op_subf to TCG
Replace op_subf with tcg_gen_sub_tl.
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5168
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 5 Sep 2008 14:19:43 +0000 (14:19 +0000)]
ppc: Convert op_add, op_addi to TCG
Replace op_add with tcg_gen_add_tl and op_addi with tcg_gen_addi_tl.
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5167
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 5 Sep 2008 14:19:35 +0000 (14:19 +0000)]
TCG: enable debug
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5166
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 5 Sep 2008 14:19:27 +0000 (14:19 +0000)]
TCG fixes for target-cris
This patch fixes TCG errors reported on the CRIS target when TCG_DEBUG
is enabled.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Edgar E. Iglesias <edgar@axis.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5165
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 5 Sep 2008 14:19:17 +0000 (14:19 +0000)]
TCG fixes for target-mips
This patch fixes TCG errors reported on the MIPS target when TCG_DEBUG
is enabled.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Thiemo Seufer <ths@networkno.de>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5164
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Fri, 5 Sep 2008 12:33:31 +0000 (12:33 +0000)]
Fix swapped mvz/mvs instructions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5163
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 20:34:31 +0000 (20:34 +0000)]
ppc: replace op_set_FT0 with tcg_gen_movi_i64
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5162
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 20:24:14 +0000 (20:24 +0000)]
alpha: add target-alpha/helper.h (missing from commit r5150)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5161
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 18:06:03 +0000 (18:06 +0000)]
ppc: Convert nip moves to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5160
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 17:16:41 +0000 (17:16 +0000)]
ppc: remove unused code
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5159
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 17:06:47 +0000 (17:06 +0000)]
ppc: Convert CRF moves to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5158
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 15:49:12 +0000 (15:49 +0000)]
ppc: fix fpr TCG registers creation
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5157
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 14:43:54 +0000 (14:43 +0000)]
ppc: Convert FPR moves to TCG
Replace op_{load,store}_fpr with tcg_gen_mov_i64.
Introduce i64 TCG variables cpu_fpr[0..31] and cpu_FT[0..2].
This obsoletes op_template.h for REG > 7.
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5156
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 14:43:45 +0000 (14:43 +0000)]
ppc: Convert Altivec register moves to TCG
Replace op_{load,store}_avr with helpers gen_{load,store}_avr.
Introduce two sets of i64 TCG variables, cpu_avr{h,l}[0..31], and
cpu_AVR{h,l}[0..2].
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5155
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 05:26:09 +0000 (05:26 +0000)]
ppc: cleanup register types
- use target_ulong for gpr and dyngen registers
- remove ppc_gpr_t type
- define 64-bit dyngen registers for GPE register on 32-bit targets
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5154
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 05:25:47 +0000 (05:25 +0000)]
ppc: Convert GPR moves to TCG
Replace op_load_gpr_{T0,T1,T2} and op_store_{T0,T1,T2} with tcg_gen_mov_tl.
Introduce TCG variables cpu_gpr[0..31].
For the SPE extension, assure that ppc_gpr_t is only uint64_t for ppc64.
Introduce TCG variables cpu_gprh[0..31] for upper 32 bits on ppc and helpers
gen_{load,store}_gpr64. Based on suggestions by Aurelien, Thiemo and Blue.
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5153
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 04:36:20 +0000 (04:36 +0000)]
alpha: convert a few more instructions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5152
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 04:36:00 +0000 (04:36 +0000)]
alpha: directly access ir registers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5151
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 04:35:40 +0000 (04:35 +0000)]
convert of few alpha insn to TCG
(based on a patch from Tristan Gingold)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5150
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 4 Sep 2008 04:35:20 +0000 (04:35 +0000)]
hw/pcnet: use qemu_socket.h
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5149
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 3 Sep 2008 17:32:10 +0000 (17:32 +0000)]
Implement no-fault loads
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5148
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Wed, 3 Sep 2008 14:40:17 +0000 (14:40 +0000)]
ETRAX-FS: Add support for DMA channel resets, needed for recent linux kernels.
* Correct numeric value for the RST state.
* Add emulation for reseting a DMA channel.
* Add a few sanity checks.
* Make it compile with debug enabled.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5147
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Wed, 3 Sep 2008 14:31:11 +0000 (14:31 +0000)]
CRIS: Avoid a few unecessary steps in the mmu.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5146
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Wed, 3 Sep 2008 14:30:27 +0000 (14:30 +0000)]
CRIS: Remove redundant code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5145
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 2 Sep 2008 23:55:28 +0000 (23:55 +0000)]
Delete unused variable.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5144
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 23:26:40 +0000 (23:26 +0000)]
[ppc] Convert op_moven_T2_T0 to TCG
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5143
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 23:26:32 +0000 (23:26 +0000)]
[ppc] Convert op_reset_T0, op_set_{T0, T1} to TCG
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5142
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 23:26:23 +0000 (23:26 +0000)]
SH4: R2D-PLUS FPGA: simply unassigned memory triggering
Use NULL to trigger unassigned memory error on 32-bit accesses instead
of assert(0) as suggested by Blue Swirl.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5141
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 23:26:13 +0000 (23:26 +0000)]
hw/pcnet.c: windows compile fix
(Eduardo Felipe)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5140
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Tue, 2 Sep 2008 17:39:45 +0000 (17:39 +0000)]
Build fix for gcc-3.3.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5139
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 2 Sep 2008 16:33:23 +0000 (16:33 +0000)]
Fix sign extension problems with smul and umul (Vince Weaver)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5138
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 16:19:05 +0000 (16:19 +0000)]
[ppc] Convert op_move_{T1,T2}_T0 to TCG
Attached patch replaces op_move_T1_T0 and op_move_T2_T0 with
tcg_gen_mov_tl.
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5137
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 16:18:55 +0000 (16:18 +0000)]
[ppc] Convert gen_set_{T0,T1} to TCG
The attached patch replaces gen_set_T0 and gen_set_T1 with
tcg_gen_movi_tl.
Signed-off-by: Andreas Faerber <andreas.faerber@web.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5136
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 16:18:46 +0000 (16:18 +0000)]
pcnet: add loopback mode emulation
This patch enhances the pcnet NIC emulation with better loopback mode
support, including CRC generation for looped-back packets in "raw" mode.
The patch has practically no impact on the normal RX and TX path.
Successfully tested against an ancient proprietary pcnet driver that
does a lot of hardware checks on boot-up and now works fine over qemu as
well.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5135
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 16:18:38 +0000 (16:18 +0000)]
sh4: Add R2D-PLUS FPGA support.
This adds trivial support for the R2D-PLUS FPGA, mostly just for the
versioning information that the kernel uses for IRL mappings, in addition
to handling the heartbeat and poweroff writes.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5134
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 16:18:28 +0000 (16:18 +0000)]
sh4: CPU versioning.
Trivial patch adding CPU listing and the ability to do per-subtype
CVR/PVR/PRR values. Presently SH7750R and SH7751R definitions are
provided, as these are the ones in present use in-tree.
The CVR value for SH7751R is intentionally restricted so the kernel
boots, though this will want to be switched to the proper CVR value
once system emulation has sufficiently stabilized.
This also makes it trivial to abstract subtype specific registers like
MMU_PTEA and to set up feature bits in line with the kernel probing for
things like conditionalizing FPU/DSP context.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5133
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 08:42:16 +0000 (08:42 +0000)]
SH4: fix a regression introduced in r5122
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5132
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 00:09:35 +0000 (00:09 +0000)]
Fix call_pal() prototype for alpha system emulation
(Hervé Poussineau)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5131
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 00:09:25 +0000 (00:09 +0000)]
x86: Fix powerdown for non-ACPI case
Trivial fix for a corner case: system_shutdown on isapc machines causes
qemu to segfaults due to accessing the uninitialized pm_state. Issue a
system shutdown instead.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5130
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 00:09:16 +0000 (00:09 +0000)]
Fix typo in console.c comment
Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5129
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 00:09:08 +0000 (00:09 +0000)]
Reset I32_APIC_BASE on system RESET
Should be done according to spec.
Signed-off-by: Gleb Natapov <gleb@qumranet.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5128
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 2 Sep 2008 00:08:58 +0000 (00:08 +0000)]
suppress a couple of spurious warnings in scsi-generic.c
This patch fixes two spurious `may be used uninitialised' warnings
when compiling with some compilers.
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5127
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 1 Sep 2008 22:12:14 +0000 (22:12 +0000)]
SH4: Remove dyngen leftovers
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5126
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 1 Sep 2008 22:12:06 +0000 (22:12 +0000)]
SH4: final conversion to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5125
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 1 Sep 2008 22:11:56 +0000 (22:11 +0000)]
SH4: convert floating-point ops to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5124
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 1 Sep 2008 19:35:29 +0000 (19:35 +0000)]
Fix y register loads and stores
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5123
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 1 Sep 2008 13:09:21 +0000 (13:09 +0000)]
SH4: Remove most uses of cpu_T[0] and cpu_T[1]
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5122
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 1 Sep 2008 13:09:14 +0000 (13:09 +0000)]
SH4: TCG optimisations
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5121
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 1 Sep 2008 13:09:06 +0000 (13:09 +0000)]
SH4: Convert remaining non-fp ops to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5120
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 30 Aug 2008 22:37:17 +0000 (22:37 +0000)]
SH4: Convert shift functions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5119
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 30 Aug 2008 22:07:52 +0000 (22:07 +0000)]
SH4: convert control/status register load/store to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5118
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 30 Aug 2008 22:07:44 +0000 (22:07 +0000)]
SH4: Convert memory loads/stores to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5117
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 30 Aug 2008 13:55:14 +0000 (13:55 +0000)]
SH4: convert some more arithmetics ops to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5116
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 30 Aug 2008 09:51:20 +0000 (09:51 +0000)]
Fix some warnings that would be generated by gcc -Wredundant-decls
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5115
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 30 Aug 2008 09:22:10 +0000 (09:22 +0000)]
Remove memcpy32() prototype leftover from r5109
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5114
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 30 Aug 2008 09:20:21 +0000 (09:20 +0000)]
Add correct stack bias if a 64 bit stack is used
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5113
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 23:01:41 +0000 (23:01 +0000)]
SH4: convert a few helpers to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5112
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 22:32:32 +0000 (22:32 +0000)]
SH4: convert branch/jump instructions to TCG
(Shin-ichiro KAWASAKI)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5111
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Fri, 29 Aug 2008 21:03:31 +0000 (21:03 +0000)]
Fix FCC handling for Sparc64 target, initial patch by Vince Weaver
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5110
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Fri, 29 Aug 2008 20:50:21 +0000 (20:50 +0000)]
Fix Sparc64 boot on i386 host:
- move do_interrupt() back to op_helper.c
- move non-helper prototypes from helper.h to exec.h
- move some prototypes from cpu.h to exec.h
- do not export either set_cwp() or cpu_set_cwp() from op_helper.c,
but instead provide inline functions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5109
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 20:12:18 +0000 (20:12 +0000)]
SH4: convert simple compare instructions to TCG
(Shin-ichiro KAWASAKI)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5108
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 16:32:18 +0000 (16:32 +0000)]
SH4: convert a few control or system register functions to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5107
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 16:08:38 +0000 (16:08 +0000)]
SH4: Fix bugs introduce in r5099
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5106
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 13:27:29 +0000 (13:27 +0000)]
SH4: fix xtrct Rm,Rn (broken in r5103)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5105
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 29 Aug 2008 13:10:00 +0000 (13:10 +0000)]
Fix a nit in exec.c, by Tristan Gingold.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5104
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 10:05:12 +0000 (10:05 +0000)]
SH4: convert logic and arithmetic ops to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5103
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 29 Aug 2008 00:48:50 +0000 (00:48 +0000)]
SH4: use TCG variables for gregs
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5102
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:37:53 +0000 (21:37 +0000)]
SH4: use uint32_t/i32 based types/ops
Use uint32_t/i32 based types/ops to stay consistent with previous dyngen
code. Thanks to Paul Brook for noticing that.
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5101
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:02:38 +0000 (21:02 +0000)]
SH4: Convert register moves to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5100
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:02:30 +0000 (21:02 +0000)]
SH4: Convert dyngen registers moves to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5099
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:02:19 +0000 (21:02 +0000)]
SH4: Convert immediate loads to TCG
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5098
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:02:08 +0000 (21:02 +0000)]
SH4: remove unused ops
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5097
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:02:00 +0000 (21:02 +0000)]
SH4: add support for TCG helpers
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5096
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:01:53 +0000 (21:01 +0000)]
SH4: Init TCG variables
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5095
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:01:45 +0000 (21:01 +0000)]
PPC: add support for TCG helpers
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5094
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Thu, 28 Aug 2008 21:01:36 +0000 (21:01 +0000)]
PPC: Init TCG variables
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5093
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Thu, 28 Aug 2008 20:05:14 +0000 (20:05 +0000)]
Do not try to use -net user as a default when slirp disabled (Jeremy Fitzhardinge)
When CONFIG_SLIRP is not defined, we should not try to use
-net user as a default.
Patch from Jeremy Fitzhardinge <jeremy@goop.org> (who is a Citrix
staff member).
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5092
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 27 Aug 2008 19:19:44 +0000 (19:19 +0000)]
Fix Sparc64 window handling problems detected by Vince Weaver
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5091
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 27 Aug 2008 18:43:53 +0000 (18:43 +0000)]
Revert a part of r5087 that didn't need fixing (thanks to malc for spotting)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5090
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 26 Aug 2008 17:07:04 +0000 (17:07 +0000)]
Revert broken part of r5044 (thanks to Igor Kovalenko for spotting)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5089
c046a42c-6fe2-441c-8c8c-
71466251a162
j_mayer [Mon, 25 Aug 2008 22:26:03 +0000 (22:26 +0000)]
Update maintainers list.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5088
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 25 Aug 2008 20:43:37 +0000 (20:43 +0000)]
Fix more bugs in r5044
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5087
c046a42c-6fe2-441c-8c8c-
71466251a162