ths
b7ef7bf225
Fix MIPS64 branches. Funny how this survived testing.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4355 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-06 10:03:16 +00:00
aurel32
5b9a1293be
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
2008-05-06 09:55:56 +00:00
edgar_igl
bfaf9a43a5
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
2008-05-06 08:45:10 +00:00
edgar_igl
5c751e99c3
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
2008-05-06 08:44:21 +00:00
edgar_igl
b5e19d4ce7
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
2008-05-06 08:38:22 +00:00
edgar_igl
17ac975463
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
2008-05-06 08:30:15 +00:00
edgar_igl
ef29a70d18
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
2008-05-06 08:04:40 +00:00
aurel32
4586f9e9a1
Really really revert commit r4343
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4348 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-05 21:42:19 +00:00
aurel32
e34d2d62a3
Really revert commit r4343
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4347 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-05 21:35:09 +00:00
aurel32
cb7cca1a1c
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
2008-05-05 21:33:45 +00:00
aurel32
fd501a05c6
PPC: fix isel opcode decoding
...
(Tristan Gingold)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4345 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-05 21:27:18 +00:00
aurel32
cfa2af1fe1
hw/pc.c: fix warning
...
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4344 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-05 21:27:10 +00:00
aurel32
d478990a52
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
2008-05-05 21:27:01 +00:00
aurel32
a366649c80
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
2008-05-05 21:26:52 +00:00
aurel32
603d3e79b2
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
2008-05-05 21:26:43 +00:00
aurel32
b2eb849d4b
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
2008-05-05 21:26:31 +00:00
blueswir1
cbf5c748e2
Fix Sparc64 serial device breakage
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4339 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-05 17:37:44 +00:00
aurel32
64b7b7334b
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
2008-05-05 10:05:31 +00:00
aurel32
f2bf094ee7
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
2008-05-05 06:00:27 +00:00
aurel32
b6cd0ea120
8250: Customized base baudrate
...
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4336 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 21:42:11 +00:00
aurel32
6936bfe514
8250: throttle TX-completion IRQs
...
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4335 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 21:42:00 +00:00
aurel32
7caa33f7be
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
2008-05-04 20:11:44 +00:00
aurel32
0ecdffbb60
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
2008-05-04 20:11:34 +00:00
balrog
4001a81e8e
MusicPal mono playback support.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4332 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 15:47:15 +00:00
balrog
54585ffec7
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
2008-05-04 15:26:28 +00:00
aurel32
4c54e87568
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
2008-05-04 13:15:24 +00:00
aurel32
50bf72b384
PPC UIC: Remove interrupt polarity code
...
(Hollis Blanchard)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4329 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 13:15:15 +00:00
aurel32
1534272158
Fix spurious VGA updates
...
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4328 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 13:11:53 +00:00
aurel32
8dd3dca351
remove target ifdefs from vl.c
...
(Glauber Costa)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4327 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 13:11:44 +00:00
balrog
91834991f6
Remove debug sample rate slowdown.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4326 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 12:18:51 +00:00
balrog
af83e09e9e
Use external clock in wm8750 slave mode.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4325 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 12:15:51 +00:00
blueswir1
762abf6774
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
2008-05-04 12:00:16 +00:00
blueswir1
7fa76c0bf3
Complete the TCG conversion
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4323 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 11:58:45 +00:00
balrog
db502b6126
Update volume for WM8750 input voices.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4322 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 10:55:25 +00:00
balrog
683efdcbdb
First cut at WM8750 volume control (Jan Kiszka).
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4321 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 10:21:03 +00:00
ths
3945462805
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
2008-05-04 08:16:10 +00:00
ths
f730fd27b8
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
2008-05-04 08:14:08 +00:00
blueswir1
653ccb8099
Avoid some brconds
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4318 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 08:06:33 +00:00
blueswir1
b5fc09ae52
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
2008-05-04 06:38:18 +00:00
aurel32
c75a823c80
Set default console size
...
(Stefan Weil)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4316 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-04 00:50:34 +00:00
aurel32
a40e56d570
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
2008-05-04 00:50:25 +00:00
aurel32
f76b45bae5
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
2008-05-04 00:50:17 +00:00
edgar_igl
aae6b32ae6
CRIS: Convert divide step to TCG.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4313 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-03 21:34:39 +00:00
blueswir1
4d07272d80
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
2008-05-03 20:52:26 +00:00
blueswir1
6f551262b3
Use memory based registers in functions containing brconds
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4311 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-03 20:51:00 +00:00
blueswir1
e0b8d65a97
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
2008-05-03 17:51:24 +00:00
edgar_igl
d059c17270
CRIS: Convert lz (leading zeros) to TCG.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4309 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-03 17:11:36 +00:00
edgar_igl
7dd7c987a8
Correct broken test for fixed file mmaps.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4308 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-03 15:55:42 +00:00
ths
5b2808bfc0
Fix MIPS MT GPR accesses, thanks Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4307 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-03 11:06:59 +00:00
edgar_igl
50cfa95cbd
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
2008-05-03 08:36:16 +00:00