]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/log
qemu-xen-3.3-testing.git
16 years agopci.c: restore bus-level pci interrupt state via pci_set_irq
Ian Jackson [Fri, 16 May 2008 16:04:57 +0000 (17:04 +0100)]
pci.c: restore bus-level pci interrupt state via pci_set_irq

This change abolishes pcibus_save.  Instead we use an invariant - that
device interrupts are supposed to be reflected in the bus interrupt
state - to restore the bus interrupt state.

This makes the code smaller and removes one way in which a savefile
could be corrupted (eg, if it had been generated by a buggy emulator).

It also means that systems which do some of their own PCI bus
emulation and thus reflect PCI bus state elsewhere (eg CPU acclerators
such as Xen) get notified of the PCI bus interrupt level, via
pci_set_irq's call to bus->set_irq.

16 years agoregister_savevm etc.: make save function optional
Ian Jackson [Fri, 16 May 2008 16:01:12 +0000 (17:01 +0100)]
register_savevm etc.: make save function optional

This allows a device to provide only a loading function, not a saving
function.

This is useful if a later version of an emulation restores its state
in some other way (eg by having a different device name, or by
exploiting invariants in the state); when this happens it is still
necessary to load or skip the information when it is found in old
savefiles.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
16 years agoFix loading of binary ROMs
blueswir1 [Tue, 13 May 2008 15:44:10 +0000 (15:44 +0000)]
Fix loading of binary ROMs

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

16 years agoFix compiler warning.
ths [Tue, 13 May 2008 14:35:34 +0000 (14:35 +0000)]
Fix compiler warning.

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

16 years agoCRIS: Improve TLB management and handle delayslots at page boundaries.
edgar_igl [Tue, 13 May 2008 10:59:14 +0000 (10:59 +0000)]
CRIS: Improve TLB management and handle delayslots at page boundaries.
* Dont flush the entire qemu tlb when the $pid changes. Instead we go through
  the guests TLB and choose entries that need to be flushed.
* Add env->dslot and handle delayslots at pageboundaries.
* Remove some unused code.

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

16 years agocompilation fix
bellard [Mon, 12 May 2008 22:55:35 +0000 (22:55 +0000)]
compilation fix

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

16 years agouse new helper name
bellard [Mon, 12 May 2008 22:05:33 +0000 (22:05 +0000)]
use new helper name

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

16 years agoconverted more helpers to TCG
bellard [Mon, 12 May 2008 22:05:13 +0000 (22:05 +0000)]
converted more helpers to TCG

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

16 years agoremoved unused code
bellard [Mon, 12 May 2008 22:03:14 +0000 (22:03 +0000)]
removed unused code

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

16 years agoFPU fixes
bellard [Mon, 12 May 2008 20:30:28 +0000 (20:30 +0000)]
FPU fixes

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

16 years agoconverted x87 FPU ops to TCG
bellard [Mon, 12 May 2008 19:10:44 +0000 (19:10 +0000)]
converted x87 FPU ops to TCG

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

16 years agoMove prototype back to avoid a compiler warning
blueswir1 [Mon, 12 May 2008 17:59:14 +0000 (17:59 +0000)]
Move prototype back to avoid a compiler warning

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

16 years agoRemove most uses of phys_ram_base (initial patch by Ian Jackson)
blueswir1 [Mon, 12 May 2008 17:22:13 +0000 (17:22 +0000)]
Remove most uses of phys_ram_base (initial patch by Ian Jackson)

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

16 years agoconverted SSE/MMX ops to TCG
bellard [Mon, 12 May 2008 16:47:36 +0000 (16:47 +0000)]
converted SSE/MMX ops to TCG

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

16 years agoWrap long lines
blueswir1 [Mon, 12 May 2008 16:13:33 +0000 (16:13 +0000)]
Wrap long lines

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

16 years agouse TCG for MMX/SSE memory accesses
bellard [Mon, 12 May 2008 13:55:27 +0000 (13:55 +0000)]
use TCG for MMX/SSE memory accesses

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

16 years agotemporary hack to handle register shortage with dyngen for qemu_st64()
bellard [Mon, 12 May 2008 13:49:14 +0000 (13:49 +0000)]
temporary hack to handle register shortage with dyngen for qemu_st64()

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

16 years ago2.6 kernels make int 5 a trap gate
bellard [Mon, 12 May 2008 12:23:31 +0000 (12:23 +0000)]
2.6 kernels make int 5 a trap gate

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

16 years agochar is only for strings
bellard [Mon, 12 May 2008 12:08:29 +0000 (12:08 +0000)]
char is only for strings

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

16 years agothe double/triple fault handling was not tested in user mode.
bellard [Mon, 12 May 2008 12:04:40 +0000 (12:04 +0000)]
the double/triple fault handling was not tested in user mode.

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

16 years agoremoved unused code
bellard [Mon, 12 May 2008 12:00:46 +0000 (12:00 +0000)]
removed unused code

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

16 years agoCRIS: Remove some old dyngen T0/T1 fiddle. More usage of the results from the x flag...
edgar_igl [Mon, 12 May 2008 07:57:23 +0000 (07:57 +0000)]
CRIS: Remove some old dyngen T0/T1 fiddle. More usage of the results from the x flag liveness analysis.

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

16 years agoDebugger single step without interrupts (Jason Wessel).
edgar_igl [Mon, 12 May 2008 07:44:23 +0000 (07:44 +0000)]
Debugger single step without interrupts (Jason Wessel).

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

16 years agoRemove someexplicit alignment checks (initial patch by Fabrice Bellard)
blueswir1 [Sun, 11 May 2008 19:24:10 +0000 (19:24 +0000)]
Remove someexplicit alignment checks (initial patch by Fabrice Bellard)

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

16 years agoUpdate the etrax machine.
edgar_igl [Sun, 11 May 2008 15:07:19 +0000 (15:07 +0000)]
Update the etrax machine.
* Use CFI-0002 flashes.
* Connect one of the ethernet blocks.
* Simplified irq numbering.

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

16 years agoAdd limited support for the etrax ethernet controller.
edgar_igl [Sun, 11 May 2008 15:04:22 +0000 (15:04 +0000)]
Add limited support for the etrax ethernet controller.

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

16 years agoAdd support for parts of the etraxfs dma controller.
edgar_igl [Sun, 11 May 2008 15:03:06 +0000 (15:03 +0000)]
Add support for parts of the etraxfs dma controller.

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

16 years agoCorrect interrupt masking for etrax timers.
edgar_igl [Sun, 11 May 2008 14:58:19 +0000 (14:58 +0000)]
Correct interrupt masking for etrax timers.

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

16 years agoAdd TCG native negation op.
pbrook [Sun, 11 May 2008 14:35:37 +0000 (14:35 +0000)]
Add TCG native negation op.

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

16 years agoCRIS: Add support for the pseudo randomized set that the mmu provides with TLB refill...
edgar_igl [Sun, 11 May 2008 14:28:14 +0000 (14:28 +0000)]
CRIS: Add support for the pseudo randomized set that the mmu provides with TLB refill faults. This makes linux guests use the four way TLB set associativty.

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

16 years agoAdd zero extension (pseudo-)ops.
pbrook [Sun, 11 May 2008 12:22:01 +0000 (12:22 +0000)]
Add zero extension (pseudo-)ops.

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

16 years agoFix parallel build (broken by commit r4407)
aurel32 [Sat, 10 May 2008 23:51:24 +0000 (23:51 +0000)]
Fix parallel build (broken by commit r4407)

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

16 years agoFix argument description for -loadvm option
aurel32 [Sat, 10 May 2008 23:28:26 +0000 (23:28 +0000)]
Fix argument description for -loadvm option

(Sebastian Herbszt)

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

16 years agoFix broken PPC user space single stepping
aurel32 [Sat, 10 May 2008 23:28:14 +0000 (23:28 +0000)]
Fix broken PPC user space single stepping

(Jason Wessel)

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

16 years agoREXB optimization cannot be done at this level
bellard [Sat, 10 May 2008 21:58:28 +0000 (21:58 +0000)]
REXB optimization cannot be done at this level

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

16 years agoadded missing return (Mike Frysinger)
bellard [Sat, 10 May 2008 21:51:02 +0000 (21:51 +0000)]
added missing return (Mike Frysinger)

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

16 years agofixed qemu_st8 insn - prologue saved too many registers
bellard [Sat, 10 May 2008 21:42:05 +0000 (21:42 +0000)]
fixed qemu_st8 insn - prologue saved too many registers

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

16 years agoCorrect a formatting issue (Carlo Marcelo Arenas Belon).
edgar_igl [Sat, 10 May 2008 19:37:44 +0000 (19:37 +0000)]
Correct a formatting issue (Carlo Marcelo Arenas Belon).

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

16 years agoCRIS: helper_dummy no longer needed as barrier for qemu_ld/st.
edgar_igl [Sat, 10 May 2008 19:20:33 +0000 (19:20 +0000)]
CRIS: helper_dummy no longer needed as barrier for qemu_ld/st.

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

16 years agoFix DEBUG_TCGV.
pbrook [Sat, 10 May 2008 18:43:02 +0000 (18:43 +0000)]
Fix DEBUG_TCGV.

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

16 years agoFix ppcemb-softmmu (Stuart Brady)
blueswir1 [Sat, 10 May 2008 17:23:18 +0000 (17:23 +0000)]
Fix ppcemb-softmmu (Stuart Brady)

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

16 years agofixed do_restore_state()
bellard [Sat, 10 May 2008 15:42:17 +0000 (15:42 +0000)]
fixed do_restore_state()

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

17 years agoRename CONFIG_NO_DYNGEN_OP to CONFIG_DYNGEN_OP to avoid double negatives
blueswir1 [Sat, 10 May 2008 12:27:33 +0000 (12:27 +0000)]
Rename CONFIG_NO_DYNGEN_OP to CONFIG_DYNGEN_OP to avoid double negatives

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

17 years agoRemove duplicated field
blueswir1 [Sat, 10 May 2008 12:25:46 +0000 (12:25 +0000)]
Remove duplicated field

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

17 years agoAdd a TODO file
blueswir1 [Sat, 10 May 2008 12:09:24 +0000 (12:09 +0000)]
Add a TODO file

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

17 years agono need to define global registers in cpu-exec.c
bellard [Sat, 10 May 2008 11:01:31 +0000 (11:01 +0000)]
no need to define global registers in cpu-exec.c

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

17 years agosuppressed fixed registers
bellard [Sat, 10 May 2008 10:58:20 +0000 (10:58 +0000)]
suppressed fixed registers

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

17 years agoinitial global prologue/epilogue implementation
bellard [Sat, 10 May 2008 10:55:51 +0000 (10:55 +0000)]
initial global prologue/epilogue implementation

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

17 years agofixed global variable handling with qemu load/stores - initial global prologue/epilog...
bellard [Sat, 10 May 2008 10:52:05 +0000 (10:52 +0000)]
fixed global variable handling with qemu load/stores - initial global prologue/epilogue implementation

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

17 years agoFix compiler warnings in common files
blueswir1 [Sat, 10 May 2008 10:14:22 +0000 (10:14 +0000)]
Fix compiler warnings in common files

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

17 years agoFix compiler warnings
blueswir1 [Sat, 10 May 2008 10:12:00 +0000 (10:12 +0000)]
Fix compiler warnings

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

17 years agoupdate
bellard [Sat, 10 May 2008 09:47:37 +0000 (09:47 +0000)]
update

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

17 years agoSpecial-case CTL_ALIAS instead of CTL_DNS in udp loopback test.
balrog [Sat, 10 May 2008 01:49:53 +0000 (01:49 +0000)]
Special-case CTL_ALIAS instead of CTL_DNS in udp loopback test.

At the same time remove a bogus test (tested by Jason Wessel).
Quiet some gcc4 warnings from slirp compilation.

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

17 years agoImprove tsc2005 touchscreen usability.
balrog [Fri, 9 May 2008 22:17:18 +0000 (22:17 +0000)]
Improve tsc2005 touchscreen usability.

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

17 years agoAdd the LM8323-based keyboard of N810.
balrog [Fri, 9 May 2008 22:16:11 +0000 (22:16 +0000)]
Add the LM8323-based keyboard of N810.

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

17 years agoCPU feature selection support
blueswir1 [Fri, 9 May 2008 20:13:43 +0000 (20:13 +0000)]
CPU feature selection support

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

17 years agoMove #include to speed up compilation
blueswir1 [Fri, 9 May 2008 20:12:09 +0000 (20:12 +0000)]
Move #include to speed up compilation

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

17 years agoSH4 serial controler improvements
aurel32 [Fri, 9 May 2008 18:46:04 +0000 (18:46 +0000)]
SH4 serial controler improvements

(Shin-ichiro KAWASAKI)

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

17 years agoSH4 MMU improvements
aurel32 [Fri, 9 May 2008 18:45:55 +0000 (18:45 +0000)]
SH4 MMU improvements

(Shin-ichiro KAWASAKI)

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

17 years agoMove #include "softfloat.h" to cpu-all.h
aurel32 [Fri, 9 May 2008 18:45:47 +0000 (18:45 +0000)]
Move #include "softfloat.h" to cpu-all.h

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

17 years agox86_64 and better i386 support
bellard [Fri, 9 May 2008 14:40:22 +0000 (14:40 +0000)]
x86_64 and better i386 support

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

17 years agolist of maintainers
bellard [Fri, 9 May 2008 09:39:00 +0000 (09:39 +0000)]
list of maintainers

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

17 years agoRemove x86-64 specific reg fillers.
edgar_igl [Fri, 9 May 2008 08:50:01 +0000 (08:50 +0000)]
Remove x86-64 specific reg fillers.

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

17 years agoDebugger single step without interrupts (Jason Wessel).
edgar_igl [Fri, 9 May 2008 08:25:14 +0000 (08:25 +0000)]
Debugger single step without interrupts (Jason Wessel).

This patch allows the qemu backend debugger to single step an
instruction without running the hardware interrupts.

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

17 years agoAdd x86_64 gdb stub for qemu (Jason Wessel).
edgar_igl [Fri, 9 May 2008 08:23:19 +0000 (08:23 +0000)]
Add x86_64 gdb stub for qemu (Jason Wessel).

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

17 years agoCRIS: Concistent use of btarget and make it possible to single-step over delayslots.
edgar_igl [Fri, 9 May 2008 08:14:05 +0000 (08:14 +0000)]
CRIS: Concistent use of btarget and make it possible to single-step over delayslots.

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

17 years agoMake a safer guess for max generated ops per guest insn (spotted by Jan Kiszka).
edgar_igl [Fri, 9 May 2008 05:55:18 +0000 (05:55 +0000)]
Make a safer guess for max generated ops per guest insn (spotted by Jan Kiszka).

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

17 years agoCFI-0002 linux MTD compatibility.
edgar_igl [Thu, 8 May 2008 21:02:43 +0000 (21:02 +0000)]
CFI-0002 linux MTD compatibility.
* Add an extended table area.
* Clear buffer write timeouts to indicate that we dont support it.
* Correct device size.

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

17 years agocirrusfb: proper "Attribute Controller Toggle Readback" register behaviour
aurel32 [Thu, 8 May 2008 12:21:27 +0000 (12:21 +0000)]
cirrusfb: proper "Attribute Controller Toggle Readback" register behaviour

(Marcelo Tosatti)

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

17 years agoUpdate ARM non-rt sigframe layout.
pbrook [Wed, 7 May 2008 23:22:46 +0000 (23:22 +0000)]
Update ARM non-rt sigframe layout.

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

17 years agoBe more economical with local temporaries.
ths [Wed, 7 May 2008 18:18:09 +0000 (18:18 +0000)]
Be more economical with local temporaries.

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

17 years agoSimplify some constant loads
blueswir1 [Wed, 7 May 2008 18:04:29 +0000 (18:04 +0000)]
Simplify some constant loads

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

17 years agoFix potential condition code problems
blueswir1 [Wed, 7 May 2008 18:03:02 +0000 (18:03 +0000)]
Fix potential condition code problems

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

17 years agoMention missing CPU save/restore.
ths [Wed, 7 May 2008 15:39:12 +0000 (15:39 +0000)]
Mention missing CPU save/restore.

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

17 years agoCRIS: Disable softfloat and dyngen ops.
edgar_igl [Wed, 7 May 2008 15:33:57 +0000 (15:33 +0000)]
CRIS: Disable softfloat and dyngen ops.

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

17 years agoDelete redundant prototype.
ths [Wed, 7 May 2008 15:29:58 +0000 (15:29 +0000)]
Delete redundant prototype.

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

17 years agoCRIS: Remove X flag from tb flags.
edgar_igl [Wed, 7 May 2008 15:27:14 +0000 (15:27 +0000)]
CRIS: Remove X flag from tb flags.

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

17 years agoRevert 4367
blueswir1 [Wed, 7 May 2008 15:26:22 +0000 (15:26 +0000)]
Revert 4367

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

17 years agoCRIS: More TCG conversion.
edgar_igl [Wed, 7 May 2008 15:24:53 +0000 (15:24 +0000)]
CRIS: More TCG conversion.
* Convert moves to/from support function regs (including TLB updates) to TCG.
* SCC no longer requires T0 to strictly be 0 or 1, relaxed to 0 or non-zero.
* Convert the the condition code evaluation to TCG.
* Convert rfe into a helper and TCG.
* Convert evaluate_bcc and setf to TCG.
* Convert clrf to TCG.
* Convert CRIS exception raising to TCG.
* Convert btst to TCG.

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

17 years agoAdd a file missing from the previous commit.
balrog [Wed, 7 May 2008 14:41:37 +0000 (14:41 +0000)]
Add a file missing from the previous commit.

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

17 years agoNokia N810 basic system emulation.
balrog [Wed, 7 May 2008 14:30:38 +0000 (14:30 +0000)]
Nokia N810 basic system emulation.

Add TSC2005 touchscreen controller.
Add N810 machine definition.
Unify N800 and N810 ATAG list generation.
Pass a word length parameter on every SPI transfer.

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

17 years agoAvoid arithmetics on void * in MusicPal audio code (Jan Kiszka).
balrog [Wed, 7 May 2008 13:52:48 +0000 (13:52 +0000)]
Avoid arithmetics on void * in MusicPal audio code (Jan Kiszka).

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

17 years agoDelete more obsolete dyngen ops.
ths [Wed, 7 May 2008 13:47:01 +0000 (13:47 +0000)]
Delete more obsolete dyngen ops.

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

17 years agoMusicPal docs snippet (Jan Kiszka) and reshuffle ChangeLog.
balrog [Wed, 7 May 2008 12:23:32 +0000 (12:23 +0000)]
MusicPal docs snippet (Jan Kiszka) and reshuffle ChangeLog.

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

17 years agoDelete obsolete MIPS dyngen ops.
ths [Wed, 7 May 2008 09:56:06 +0000 (09:56 +0000)]
Delete obsolete MIPS dyngen ops.

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

17 years agoConvert some MIPS load/store instructions to TCG.
ths [Tue, 6 May 2008 21:40:48 +0000 (21:40 +0000)]
Convert some MIPS load/store instructions to TCG.

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

17 years agoEnable 64-bit FPU only for NewABI. Spotted by Vince Weaver.
ths [Tue, 6 May 2008 20:48:02 +0000 (20:48 +0000)]
Enable 64-bit FPU only for NewABI. Spotted by Vince Weaver.

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

17 years agoAlign file accesses with cache=off (Kevin Wolf, Laurent Vivier)
blueswir1 [Tue, 6 May 2008 17:26:59 +0000 (17:26 +0000)]
Align file accesses with cache=off (Kevin Wolf, Laurent Vivier)

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

17 years agoECC updated based on information released recently by Sun (Robert Reif)
blueswir1 [Tue, 6 May 2008 16:33:45 +0000 (16:33 +0000)]
ECC updated based on information released recently by Sun (Robert Reif)

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

17 years agoUpdate ARM rt_frame layout.
pbrook [Tue, 6 May 2008 15:36:17 +0000 (15:36 +0000)]
Update ARM rt_frame layout.

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

17 years agoDisable the temporary timer slowdown for etrax.
edgar_igl [Tue, 6 May 2008 15:01:19 +0000 (15:01 +0000)]
Disable the temporary timer slowdown for etrax.

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

17 years agoMusicPal: fix gcc4 build (Jan Kiszka).
balrog [Tue, 6 May 2008 15:01:12 +0000 (15:01 +0000)]
MusicPal: fix gcc4 build (Jan Kiszka).

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

17 years agoPPC: fix efstst* instructions
aurel32 [Tue, 6 May 2008 14:58:23 +0000 (14:58 +0000)]
PPC: fix efstst* instructions

(Tristan Gingold)

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

17 years agoPPC: fix definition of msr_spe
aurel32 [Tue, 6 May 2008 14:58:15 +0000 (14:58 +0000)]
PPC: fix definition of msr_spe

(Tristan Gingold)

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

17 years agoFix OMAP1 MPU-timer rate on 32-bit hosts.
balrog [Tue, 6 May 2008 14:50:15 +0000 (14:50 +0000)]
Fix OMAP1 MPU-timer rate on 32-bit hosts.

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

17 years agoFix signal handler compilation on __arm__.
balrog [Tue, 6 May 2008 14:47:19 +0000 (14:47 +0000)]
Fix signal handler compilation on __arm__.

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

17 years agoForce correct evaluation order in a a == b != c condition.
balrog [Tue, 6 May 2008 14:45:30 +0000 (14:45 +0000)]
Force correct evaluation order in a a == b != c condition.

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

17 years agoFix i64 remainder calculation copy-paste error.
balrog [Tue, 6 May 2008 14:40:28 +0000 (14:40 +0000)]
Fix i64 remainder calculation copy-paste error.

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

17 years agoUse TCG for MIPS GPR moves.
ths [Tue, 6 May 2008 10:57:59 +0000 (10:57 +0000)]
Use TCG for MIPS GPR moves.

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

17 years agoFix MIPS64 branches. Funny how this survived testing.
ths [Tue, 6 May 2008 10:03:16 +0000 (10:03 +0000)]
Fix MIPS64 branches. Funny how this survived testing.

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