blueswir1 [Sat, 24 May 2008 18:09:50 +0000 (18:09 +0000)]
Implement 64-bit constant loads
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4561
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 24 May 2008 18:06:35 +0000 (18:06 +0000)]
Use sethi and arith functions, fix comment
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4560
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 24 May 2008 16:41:17 +0000 (16:41 +0000)]
Fix stack offsets and alignment
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4559
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 24 May 2008 16:03:59 +0000 (16:03 +0000)]
ETRAX: Correct check for second nic.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4558
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 24 May 2008 16:00:05 +0000 (16:00 +0000)]
Dont try to keep the tlb and the jmp cache synchronized.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4557
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 24 May 2008 14:48:38 +0000 (14:48 +0000)]
Fix A20 debug dumps.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4556
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 24 May 2008 13:56:15 +0000 (13:56 +0000)]
Dynamically allocate tbs. Avoids branch range problems on RISC hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4555
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 24 May 2008 05:36:16 +0000 (05:36 +0000)]
Define stack offsets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4554
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 24 May 2008 02:24:25 +0000 (02:24 +0000)]
More TCGv type fixes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4553
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 24 May 2008 02:22:00 +0000 (02:22 +0000)]
Fix ARM conditional branch bug.
Add tcg_gen_brcondi.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4552
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Sat, 24 May 2008 02:12:32 +0000 (02:12 +0000)]
Fix helper operand type mismatch.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4551
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Fri, 23 May 2008 23:16:42 +0000 (23:16 +0000)]
Fix bogus test syntax.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4550
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 23 May 2008 19:19:55 +0000 (19:19 +0000)]
Fix parallel builds for dyngen, by Jason Wessel.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4549
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 23 May 2008 18:51:15 +0000 (18:51 +0000)]
Comment non-obvious calculation. Don't clobber r3 in qemu_st64.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4548
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 23 May 2008 18:50:44 +0000 (18:50 +0000)]
A branch insn must not overwrite the branch target before relocation.
When a branch to label is translated it generates a reloc that is filled in
when the label is translated. However, when handling an exception and
searching for the pc we abort the translation early and we sometimes
translate the branch but not the corresponding label and so no relocation
is done. When the block is executed again the branch points to no-where.
It seems tcg/sparc/ is going to suffer from the same issue.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4547
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 23 May 2008 18:10:51 +0000 (18:10 +0000)]
Swithc some MIPS CP0 accesses to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4546
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 23 May 2008 18:06:27 +0000 (18:06 +0000)]
Switch MIPS movf/movt to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4545
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Fri, 23 May 2008 17:33:39 +0000 (17:33 +0000)]
added tcg_temp_free() and improved the handling of constants
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4544
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Fri, 23 May 2008 16:06:43 +0000 (16:06 +0000)]
Fix build failure with old kernel headers (loop.h is incompatible with
glibc headers).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4543
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 23 May 2008 12:55:11 +0000 (12:55 +0000)]
Fix qemu_ld/st for mem_index > 0 on arm host.
offsetof(CPUState, tlb_table[mem_index][0].addr_read) with mem_index > 0
was larger than max immediate offset for ldr and str (12-bit) so insert an
additional insn to add the mem_index offset.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4542
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 23 May 2008 12:47:22 +0000 (12:47 +0000)]
Define TCG_TARGET_CALL_STACK_OFFSET on arm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4541
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Fri, 23 May 2008 11:58:32 +0000 (11:58 +0000)]
compilation fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4540
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Fri, 23 May 2008 11:56:45 +0000 (11:56 +0000)]
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4539
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Fri, 23 May 2008 09:57:34 +0000 (09:57 +0000)]
TCG profiler clean up
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4538
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Fri, 23 May 2008 09:52:20 +0000 (09:52 +0000)]
profiler clean up
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4537
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Fri, 23 May 2008 01:31:57 +0000 (01:31 +0000)]
Fix build failure for MIPS64 targets on 64-bit hosts.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4536
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Thu, 22 May 2008 20:42:15 +0000 (20:42 +0000)]
Delete dead code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4535
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 22 May 2008 18:16:25 +0000 (18:16 +0000)]
Register op helpers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4534
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Thu, 22 May 2008 17:46:10 +0000 (17:46 +0000)]
Switch MIPS branch handling to TCG, and clean out pointless wrapper
functions/macros.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4533
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 17:00:49 +0000 (17:00 +0000)]
use debug_insn_start to have nicer debug traces
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4532
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 16:56:05 +0000 (16:56 +0000)]
added debug_insn_start debug instruction
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4531
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 16:11:04 +0000 (16:11 +0000)]
proper helper definition registering (all targets must do that)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4530
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 16:08:32 +0000 (16:08 +0000)]
debug output: write helper names
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4529
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 14:59:57 +0000 (14:59 +0000)]
more generic call codegen
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4528
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 14:39:25 +0000 (14:39 +0000)]
fixed zero shifts (64 bit case)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4527
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Thu, 22 May 2008 13:51:48 +0000 (13:51 +0000)]
Fix block-vmdk.c:vmdk_close() use-after-free, by Ed Maste.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4526
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 13:25:14 +0000 (13:25 +0000)]
small shift opts
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4525
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 12:36:31 +0000 (12:36 +0000)]
optimization of shifts by a constant
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4524
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 10:13:38 +0000 (10:13 +0000)]
lahf/sahf cpuid test
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4523
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 09:52:38 +0000 (09:52 +0000)]
cmpxchg8b fix - added cmpxchg16b
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4522
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 09:36:08 +0000 (09:36 +0000)]
cmpxchg 64 bit fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4521
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Thu, 22 May 2008 09:20:43 +0000 (09:20 +0000)]
fxsave/fxrstor 64 bit fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4520
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 19:17:29 +0000 (19:17 +0000)]
disabled dyngen for x86 target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4519
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 19:16:45 +0000 (19:16 +0000)]
converted conditional jumps, SET and CMOVx to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4518
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 19:12:19 +0000 (19:12 +0000)]
removed unused defines
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4517
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 17:16:11 +0000 (17:16 +0000)]
converted env access to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4516
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 17:07:20 +0000 (17:07 +0000)]
convert eflags manipulation insns to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4515
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 16:34:06 +0000 (16:34 +0000)]
convert remaining segment handling to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4514
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 16:25:27 +0000 (16:25 +0000)]
converted LSL/LAR/VERW/VERR to TCG - force 16 bit memory access for LSL/LAR
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4513
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 16:24:20 +0000 (16:24 +0000)]
fixed dead global variable update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4512
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 13:34:27 +0000 (13:34 +0000)]
suppressed no longer used ops
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4511
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 13:29:45 +0000 (13:29 +0000)]
converted INTO/CMPXCHG8B to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4510
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 13:24:30 +0000 (13:24 +0000)]
converted BCD ops to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4509
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Wed, 21 May 2008 10:12:54 +0000 (10:12 +0000)]
converted MUL/IMUL to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4508
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Wed, 21 May 2008 02:04:15 +0000 (02:04 +0000)]
Switch MIPS clo/clz and the condition tests to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4507
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Wed, 21 May 2008 02:02:39 +0000 (02:02 +0000)]
Switch MIPS movn/movz to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4506
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 20 May 2008 19:36:22 +0000 (19:36 +0000)]
Remove currently unnecessary alignment masking
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4505
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Tue, 20 May 2008 11:28:35 +0000 (11:28 +0000)]
Fix 8-bit signed load/store and a typo.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4504
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Tue, 20 May 2008 11:26:40 +0000 (11:26 +0000)]
Implement neg_i32, clean-up.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4503
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Tue, 20 May 2008 00:07:58 +0000 (00:07 +0000)]
Prevent SEGV in VNC server for old clients (Anthony Liguori).
If the client does not support the DesktopResize pseudo-encoding, then
vs->{width,height} may be smaller than ds->{width,height}. dirty_row is
sized according to vs->{width,height}, not ds->{width,height}.
This patch makes sure to bound the update region to vs->{width,height} to
avoid a possible SEGV.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Reported-by: Marcelo Tosatti <mtosatti@redhat.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4502
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Tue, 20 May 2008 00:01:55 +0000 (00:01 +0000)]
Remove dyngen ARM code, which did't build.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4501
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Mon, 19 May 2008 23:59:38 +0000 (23:59 +0000)]
ARM host support for TCG targets.
Updated from previous version to use the tcg prologue/epilogue mechanism, may be slower than direct call.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4500
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 19 May 2008 17:20:01 +0000 (17:20 +0000)]
Fix Sparc32 compilation broken by r4484
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4499
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 19 May 2008 16:32:18 +0000 (16:32 +0000)]
Better solution for the alignment problem
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4498
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 18 May 2008 23:39:23 +0000 (23:39 +0000)]
Add file left out from previous commit.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4497
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 18 May 2008 22:50:49 +0000 (22:50 +0000)]
Switch most MIPS logical and arithmetic instructions to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4496
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 18 May 2008 22:15:12 +0000 (22:15 +0000)]
Fix local register cache handling.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4495
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sun, 18 May 2008 19:28:26 +0000 (19:28 +0000)]
converted string OPs and LOOP insns to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4494
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sun, 18 May 2008 19:19:57 +0000 (19:19 +0000)]
fixed INC/DEC condition codes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4493
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 18 May 2008 13:58:19 +0000 (13:58 +0000)]
Boot tags setup needed by N800 proprietary bootloader.
This code is needed to make NOLO bootloader happy. It is mostly guesses.
The tags are normally written by some early boot code that runs before NOLO.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4492
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 18 May 2008 13:14:29 +0000 (13:14 +0000)]
N810 keyboard slide open by default, add more comments.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4491
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 18 May 2008 13:01:40 +0000 (13:01 +0000)]
Add N810 to allowed -M values, add documentation part for N8x0.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4490
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 18 May 2008 12:14:41 +0000 (12:14 +0000)]
Collapse omap peripherals on L4 bus into one io entry (temporarily).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4489
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sun, 18 May 2008 08:51:28 +0000 (08:51 +0000)]
ETRAX: Connect both ethernet controllers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4488
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sun, 18 May 2008 08:50:32 +0000 (08:50 +0000)]
ETRAX: Add support for the ethernet receivers dest addr filters.
* Support the station address filters MA0 and MA1.
* Model the group address bloom filter.
* Indentation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4487
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 18 May 2008 08:11:14 +0000 (08:11 +0000)]
Fix constant checks on Sparc64 host
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4486
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 18 May 2008 07:49:05 +0000 (07:49 +0000)]
Fix TCG alignment problems on Sparc64 host
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4485
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 18 May 2008 06:40:16 +0000 (06:40 +0000)]
Fix Sparc64 host signal handling
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4484
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 17 May 2008 22:20:53 +0000 (22:20 +0000)]
Support signal reception in user-mode. Handle when the peer terminates or aborts the connection.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4483
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 17 May 2008 19:55:28 +0000 (19:55 +0000)]
Try to fix USB HID and make the HID reports readable.
Decode HID report Items in the comments.
Invert mouse wheel direction as per Alexander Graf's report and as we already do in the tablet.
Clamp the Relative values to -127:127 as we claimed in the HID descriptors.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4482
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 19:24:07 +0000 (19:24 +0000)]
converted sign extension ops to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4481
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 17 May 2008 19:11:14 +0000 (19:11 +0000)]
Use tcg_gen_not.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4480
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 19:05:28 +0000 (19:05 +0000)]
MONITOR insn address generation fix - converted XLAT to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4479
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 17 May 2008 18:58:29 +0000 (18:58 +0000)]
Add support for the 'k' (kill) and 'D' (detach) packets (Jason Wessel).
Implement the 'k' gdbserial packet which kills the qemu instance via
the debugger stub.
Implement the 'D' detach packet for the gdb stub such that you can
disconnect gdb with the "detach" command. This required implementing
a cpu_breakpoint_remove_all() and a cpu_watchpoint_remove_all()
function to cleanup all the breakpoints and watchpoints prior to
leaving the gdb stub else simulation can stop with no debugger
attached.
On a '?' packet remove all the breakpoints and watchpoints. This is
considered more of a safety net in case you force killed gdb or it
crashed and you are reconnecting. The identical behavior exists for
kgdb in the linux kernel.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4478
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 18:44:58 +0000 (18:44 +0000)]
BSR/BSF TCG conversion
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4477
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 17 May 2008 18:18:04 +0000 (18:18 +0000)]
musicpal: Improve button handling (Jan Kiszka).
Looking at the hold-button-on-powerup thing, I came across some
improvable parts in the MusicPal's button handling. This patch allows
for repeated wheel events by keying the arrow keys pressed, corrects
some constant name, and introduces an explicitly maintained GPIO_ISR
state.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4476
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 17 May 2008 18:15:04 +0000 (18:15 +0000)]
Remove arm's local not_i32 tcg op now that there's one in tcg.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4475
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 17 May 2008 18:07:00 +0000 (18:07 +0000)]
Missing include for Slirp on win32 (Eduardo Felipe).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4474
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 16:10:38 +0000 (16:10 +0000)]
converted bit test operations to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4473
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 13:57:33 +0000 (13:57 +0000)]
moved eflags computation outside op.c
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4472
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 13:50:02 +0000 (13:50 +0000)]
converted adc, sbb, cmpxchg to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4471
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 12:44:31 +0000 (12:44 +0000)]
converted condition code supprot to TCG - converted shift ops to TCG
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4470
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 12:42:15 +0000 (12:42 +0000)]
added 'pure' function attribute - fixed indirect function calls
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4469
c046a42c-6fe2-441c-8c8c-
71466251a162
bellard [Sat, 17 May 2008 12:40:44 +0000 (12:40 +0000)]
added not pseudo op - more _tl macros
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4468
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 17 May 2008 09:43:12 +0000 (09:43 +0000)]
Generate better code for Sparc32 shifts
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4467
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 17 May 2008 09:41:14 +0000 (09:41 +0000)]
Fix qemu_ld/st branches, constification, use orcc for tst synthetic op
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4466
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 17 May 2008 07:38:10 +0000 (07:38 +0000)]
Improved workaround for the annoying glibc global register mangling bug
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4465
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 17 May 2008 06:08:15 +0000 (06:08 +0000)]
Update TODO
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4464
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Fri, 16 May 2008 20:15:58 +0000 (20:15 +0000)]
Implement qemu_ld/st, fix brcond, handle more corner cases
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4463
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Thu, 15 May 2008 19:54:00 +0000 (19:54 +0000)]
Always process real timers regardless of singlestep mode (Jason Wessel).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4462
c046a42c-6fe2-441c-8c8c-
71466251a162