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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
edgar_igl [Sat, 3 May 2008 08:35:16 +0000 (08:35 +0000)]
CRIS: Reduce the number of tb dependent flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4305
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 3 May 2008 06:54:52 +0000 (06:54 +0000)]
CRIS: Do post-increment without going via T0.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4304
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:47:34 +0000 (22:47 +0000)]
Avoid a build warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4303
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:38:53 +0000 (22:38 +0000)]
ETRAX-FS board: Add more flash and internal memory. Select interrupt nr for the
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4302
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:32:02 +0000 (22:32 +0000)]
ETRAX timers: Improve the support for timer1 and let the board-setup choose irq nr.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4301
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:21:55 +0000 (22:21 +0000)]
ETRAX serial port:
* Simulate basic interrupt driven serial io.
* Connect to qemu char dev.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4300
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:16:17 +0000 (22:16 +0000)]
CRIS updates:
* Support both the I and D MMUs and improve the accuracy of the MMU model.
* Handle the automatic user/kernel stack pointer switching when leaving or entering user mode.
* Move the CCS evaluation into helper funcs.
* Make sure user-mode cannot change flags only writeable in kernel mode.
* More conversion of the translator into TCG.
* Handle exceptions while in a delayslot.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4299
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 21:13:21 +0000 (21:13 +0000)]
CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4298
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 21:08:33 +0000 (21:08 +0000)]
CRIS: Correct typo in test for moverm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4297
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 2 May 2008 02:24:55 +0000 (02:24 +0000)]
Audio endianness and mutex usage fixes (malc.git).
From http://repo.or.cz/w/qemu/malc.git?a=shortlog;h=refs/heads/audio :
Implicitly lock the mutex at startup of playback/capture threads, otherwise
pthread_mutex_destroy (in audio_pt_fini) fails with EBUSY.
Endianness fix.
Remove a c&p residue.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4296
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 2 May 2008 01:35:20 +0000 (01:35 +0000)]
Musicpal: convert to ram_addr_t
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4295
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 1 May 2008 19:05:12 +0000 (19:05 +0000)]
FDC: Fix data transfer len (Hervé Poussineau)
In floppy controller, transfer data len is not correctly calculated.
We should read up to the last sector specified by the caller, and not up to
the last sector of the floppy.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4294
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 1 May 2008 19:03:31 +0000 (19:03 +0000)]
FDC: Fix buffer overflow (Hervé Poussineau)
In floppy controller, programming PIO writes which are more than one sector
long leads to a buffer overflow of the fdtrl->fifo[] array.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4293
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 1 May 2008 18:21:46 +0000 (18:21 +0000)]
Improved large memory support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4292
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Thu, 1 May 2008 12:04:35 +0000 (12:04 +0000)]
Fix incorrect argument types.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4291
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:18:58 +0000 (16:18 +0000)]
FDC fix 10/10 (Hervé Poussineau):
- Replaces access to cur_drv field by macros.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4290
c046a42c-6fe2-441c-8c8c-
71466251a162