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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

16 years agoide: Enable byte&word access to DMA address register
aurel32 [Tue, 6 May 2008 09:55:56 +0000 (09:55 +0000)]
ide: Enable byte&word access to DMA address register

(Jan Kiszka)

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

16 years agoTeach the CRIS disassembler to stay within the provided buffer.
edgar_igl [Tue, 6 May 2008 08:45:10 +0000 (08:45 +0000)]
Teach the CRIS disassembler to stay within the provided buffer.

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

16 years agoMake sure we flush cached blocks from the tb-jmp-cache when we replace valid tlb...
edgar_igl [Tue, 6 May 2008 08:44:21 +0000 (08:44 +0000)]
Make sure we flush cached blocks from the tb-jmp-cache when we replace valid tlb entries.

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

16 years agoMake the paged properties of the tb-jmp-cache hash function work for TARGET_PAGE_BITS...
edgar_igl [Tue, 6 May 2008 08:38:22 +0000 (08:38 +0000)]
Make the paged properties of the tb-jmp-cache hash function work for TARGET_PAGE_BITS != 12.

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

16 years agoMore TCG updates for CRIS
edgar_igl [Tue, 6 May 2008 08:30:15 +0000 (08:30 +0000)]
More TCG updates for CRIS
* Convert parts of the jump logic to TCG.
* Stores no longer have to go via T0/T1.
* Use the byte and halfword ldx_code variants when appropriate for insn fetching.
* Do not disassemble beyond the translation block.

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

16 years agoCRIS MMU Updates
edgar_igl [Tue, 6 May 2008 08:04:40 +0000 (08:04 +0000)]
CRIS MMU Updates
* Add support for exec faults and for the k protection bit.
* Abort if search_pc causes recursive mmu faults.

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

16 years agoReally really revert commit r4343
aurel32 [Mon, 5 May 2008 21:42:19 +0000 (21:42 +0000)]
Really really revert commit r4343

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

16 years agoReally revert commit r4343
aurel32 [Mon, 5 May 2008 21:35:09 +0000 (21:35 +0000)]
Really revert commit r4343

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

16 years agoRevert commit r4342 and r4343, wasn't intended to be committed
aurel32 [Mon, 5 May 2008 21:33:45 +0000 (21:33 +0000)]
Revert commit r4342 and r4343, wasn't intended to be committed

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

16 years agoPPC: fix isel opcode decoding
aurel32 [Mon, 5 May 2008 21:27:18 +0000 (21:27 +0000)]
PPC: fix isel opcode decoding

(Tristan Gingold)

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

16 years agohw/pc.c: fix warning
aurel32 [Mon, 5 May 2008 21:27:10 +0000 (21:27 +0000)]
hw/pc.c: fix warning

(Jan Kiszka)

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

16 years agoDon't stop translation for mtc0 compare
aurel32 [Mon, 5 May 2008 21:27:01 +0000 (21:27 +0000)]
Don't stop translation for mtc0 compare

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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

16 years agoDisable debug code for production.
aurel32 [Mon, 5 May 2008 21:26:52 +0000 (21:26 +0000)]
Disable debug code for production.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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

16 years agoqemu: generate signals on tap I/O
aurel32 [Mon, 5 May 2008 21:26:43 +0000 (21:26 +0000)]
qemu: generate signals on tap I/O

Currently tap does not generate signals on I/O; this causes
network latency to be dependent on the timer tick (1ms without
dyntick, guest dependent with dyntick).  By generating a signal
on I/O, we can inform the guest immediately that a packet has
arrived.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

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

16 years agoCVE-2007-1320 - Cirrus LGD-54XX "bitblt" heap overflow
aurel32 [Mon, 5 May 2008 21:26:31 +0000 (21:26 +0000)]
CVE-2007-1320 - Cirrus LGD-54XX "bitblt" heap overflow

I have just noticed that patch for CVE-2007-1320 has never been applied
to the QEMU CVS. Please find it below.

| Multiple heap-based buffer overflows in the cirrus_invalidate_region
| function in the Cirrus VGA extension in QEMU 0.8.2, as used in Xen and
| possibly other products, might allow local users to execute arbitrary
| code via unspecified vectors related to "attempting to mark
| non-existent regions as dirty," aka the "bitblt" heap overflow.

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

16 years agoFix Sparc64 serial device breakage
blueswir1 [Mon, 5 May 2008 17:37:44 +0000 (17:37 +0000)]
Fix Sparc64 serial device breakage

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

16 years agoPut Pseudo-TTY in rawmode for char devices
aurel32 [Mon, 5 May 2008 10:05:31 +0000 (10:05 +0000)]
Put Pseudo-TTY in rawmode for char devices

(Daniel P. Berrange)

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

16 years agoQemu 32-bit i386, gcc >= 3.4 spill error fix
aurel32 [Mon, 5 May 2008 06:00:27 +0000 (06:00 +0000)]
Qemu 32-bit i386, gcc >= 3.4 spill error fix

(Ben Taylor)

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

16 years ago8250: Customized base baudrate
aurel32 [Sun, 4 May 2008 21:42:11 +0000 (21:42 +0000)]
8250: Customized base baudrate

(Jan Kiszka)

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

16 years ago8250: throttle TX-completion IRQs
aurel32 [Sun, 4 May 2008 21:42:00 +0000 (21:42 +0000)]
8250: throttle TX-completion IRQs

(Jan Kiszka)

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

16 years agoCorrectly save and restore env->a20_mask now that it is a 64-bit
aurel32 [Sun, 4 May 2008 20:11:44 +0000 (20:11 +0000)]
Correctly save and restore env->a20_mask now that it is a 64-bit
variable. Noticed by Erik de Castro Lopo.

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

16 years agoAllow bootdevice change from the monitor
aurel32 [Sun, 4 May 2008 20:11:34 +0000 (20:11 +0000)]
Allow bootdevice change from the monitor

(Gildas Le Nadan)

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

16 years agoMusicPal mono playback support.
balrog [Sun, 4 May 2008 15:47:15 +0000 (15:47 +0000)]
MusicPal mono playback support.

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

16 years agoOMAP STI/XTI console.
balrog [Sun, 4 May 2008 15:26:28 +0000 (15:26 +0000)]
OMAP STI/XTI console.

Add a dummy serial to receive the output from STI console (OMAP
debugging/emulation interface).
Add some more OMAP UART dummy registers.

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

16 years agoRemember the state of level-triggered interrupts
aurel32 [Sun, 4 May 2008 13:15:24 +0000 (13:15 +0000)]
Remember the state of level-triggered interrupts

(Hollis Blanchard)

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

16 years agoPPC UIC: Remove interrupt polarity code
aurel32 [Sun, 4 May 2008 13:15:15 +0000 (13:15 +0000)]
PPC UIC: Remove interrupt polarity code

(Hollis Blanchard)

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

16 years agoFix spurious VGA updates
aurel32 [Sun, 4 May 2008 13:11:53 +0000 (13:11 +0000)]
Fix spurious VGA updates

(Samuel Thibault)

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

16 years agoremove target ifdefs from vl.c
aurel32 [Sun, 4 May 2008 13:11:44 +0000 (13:11 +0000)]
remove target ifdefs from vl.c

(Glauber Costa)

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

16 years agoRemove debug sample rate slowdown.
balrog [Sun, 4 May 2008 12:18:51 +0000 (12:18 +0000)]
Remove debug sample rate slowdown.

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

16 years agoUse external clock in wm8750 slave mode.
balrog [Sun, 4 May 2008 12:15:51 +0000 (12:15 +0000)]
Use external clock in wm8750 slave mode.

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

16 years agoComplete the TCG conversion (and delete some files, too)
blueswir1 [Sun, 4 May 2008 12:00:16 +0000 (12:00 +0000)]
Complete the TCG conversion (and delete some files, too)

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

16 years agoComplete the TCG conversion
blueswir1 [Sun, 4 May 2008 11:58:45 +0000 (11:58 +0000)]
Complete the TCG conversion

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

16 years agoUpdate volume for WM8750 input voices.
balrog [Sun, 4 May 2008 10:55:25 +0000 (10:55 +0000)]
Update volume for WM8750 input voices.

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

16 years agoFirst cut at WM8750 volume control (Jan Kiszka).
balrog [Sun, 4 May 2008 10:21:03 +0000 (10:21 +0000)]
First cut at WM8750 volume control (Jan Kiszka).

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

16 years agoSimplify mips branch handling. Retire T2 from use. Use TCG for branches.
ths [Sun, 4 May 2008 08:16:10 +0000 (08:16 +0000)]
Simplify mips branch handling. Retire T2 from use. Use TCG for branches.

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

16 years agoAdd helpers and shorthands for mul and muli operations.
ths [Sun, 4 May 2008 08:14:08 +0000 (08:14 +0000)]
Add helpers and shorthands for mul and muli operations.

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

16 years agoAvoid some brconds
blueswir1 [Sun, 4 May 2008 08:06:33 +0000 (08:06 +0000)]
Avoid some brconds

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

16 years agoFix crash due to invalid env->current_tb (Adam Lackorzynski, Paul Brook, me)
blueswir1 [Sun, 4 May 2008 06:38:18 +0000 (06:38 +0000)]
Fix crash due to invalid env->current_tb (Adam Lackorzynski, Paul Brook, me)

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

16 years agoSet default console size
aurel32 [Sun, 4 May 2008 00:50:34 +0000 (00:50 +0000)]
Set default console size

(Stefan Weil)

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

16 years agoAdd ${ARCH_CFLAGS} when testing for libbrlapi
aurel32 [Sun, 4 May 2008 00:50:25 +0000 (00:50 +0000)]
Add ${ARCH_CFLAGS} when testing for libbrlapi

(Samuel Thibault, Ben Taylor)

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

16 years agoconfigure: silence test for brlapi
aurel32 [Sun, 4 May 2008 00:50:17 +0000 (00:50 +0000)]
configure: silence test for brlapi

(Carlo Marcelo Arenas Belon)

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

16 years agoCRIS: Convert divide step to TCG.
edgar_igl [Sat, 3 May 2008 21:34:39 +0000 (21:34 +0000)]
CRIS: Convert divide step to TCG.

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

16 years agoSkip register moves when the target and the source are the same
blueswir1 [Sat, 3 May 2008 20:52:26 +0000 (20:52 +0000)]
Skip register moves when the target and the source are the same

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

16 years agoUse memory based registers in functions containing brconds
blueswir1 [Sat, 3 May 2008 20:51:00 +0000 (20:51 +0000)]
Use memory based registers in functions containing brconds

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

16 years agoDo not attempt to set page flags for pages outside target address space
blueswir1 [Sat, 3 May 2008 17:51:24 +0000 (17:51 +0000)]
Do not attempt to set page flags for pages outside target address space

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

16 years agoCRIS: Convert lz (leading zeros) to TCG.
edgar_igl [Sat, 3 May 2008 17:11:36 +0000 (17:11 +0000)]
CRIS: Convert lz (leading zeros) to TCG.

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

16 years agoCorrect broken test for fixed file mmaps.
edgar_igl [Sat, 3 May 2008 15:55:42 +0000 (15:55 +0000)]
Correct broken test for fixed file mmaps.

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

16 years agoFix MIPS MT GPR accesses, thanks Stefan Weil.
ths [Sat, 3 May 2008 11:06:59 +0000 (11:06 +0000)]
Fix MIPS MT GPR accesses, thanks Stefan Weil.

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

16 years agoCRIS: Eliminate a few unneeded moves to/from T0/T1.
edgar_igl [Sat, 3 May 2008 08:36:16 +0000 (08:36 +0000)]
CRIS: Eliminate a few unneeded moves to/from T0/T1.

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