sdk/emulator/qemu.git
16 years agoSVM: added tsc_offset
bellard [Wed, 4 Jun 2008 17:39:33 +0000 (17:39 +0000)]
SVM: added tsc_offset

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

16 years agoExplicitly free temporaries.
ths [Wed, 4 Jun 2008 17:37:03 +0000 (17:37 +0000)]
Explicitly free temporaries.

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

16 years agoRemove the temporaries cache of the MIPS target.
ths [Wed, 4 Jun 2008 17:36:02 +0000 (17:36 +0000)]
Remove the temporaries cache of the MIPS target.

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

16 years agoFix pointer calculation for MIPS64 targets.
ths [Wed, 4 Jun 2008 17:34:54 +0000 (17:34 +0000)]
Fix pointer calculation for MIPS64 targets.

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

16 years agofixed exceptions for cpuid and invlpg
bellard [Wed, 4 Jun 2008 17:12:40 +0000 (17:12 +0000)]
fixed exceptions for cpuid and invlpg

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

16 years agoGIF flag handling fix (Alexander Graf)
bellard [Wed, 4 Jun 2008 17:07:08 +0000 (17:07 +0000)]
GIF flag handling fix (Alexander Graf)

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

16 years agoreworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8...
bellard [Wed, 4 Jun 2008 17:02:19 +0000 (17:02 +0000)]
reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2

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

16 years agoupdate
bellard [Wed, 4 Jun 2008 14:57:43 +0000 (14:57 +0000)]
update

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

16 years ago32 bit SVM fixes - INVLPG and INVLPGA updates
bellard [Wed, 4 Jun 2008 13:53:05 +0000 (13:53 +0000)]
32 bit SVM fixes - INVLPG and INVLPGA updates

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

16 years agoEFER loading fixes, including SVME bit
bellard [Wed, 4 Jun 2008 13:35:58 +0000 (13:35 +0000)]
EFER loading fixes, including SVME bit

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

16 years agoAdd sysrq to key names known by "sendkey".
balrog [Wed, 4 Jun 2008 10:14:16 +0000 (10:14 +0000)]
Add sysrq to key names known by "sendkey".

Adding sysrq keycode to the table enabling running sysrq debugging in
the guest via the monitor sendkey command, like:

(qemu) sendkey alt-sysrq-t

Tested on x86-64 target and Linux guest.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4658 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRefactor and fix do_sendkey (Jan Kiszka).
balrog [Wed, 4 Jun 2008 10:05:59 +0000 (10:05 +0000)]
Refactor and fix do_sendkey (Jan Kiszka).

Looking at the sendkey implementation, planning to enhance it with a
hold time argument, I found some potential out-of-bound access and not
very readable code. Here is a fix for the former and a (subjective)
improvement of the latter.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4657 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDelete duplicate code.
ths [Wed, 4 Jun 2008 04:21:01 +0000 (04:21 +0000)]
Delete duplicate code.

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

16 years agoSpelling fixes, by Stefan Weil.
ths [Tue, 3 Jun 2008 19:51:57 +0000 (19:51 +0000)]
Spelling fixes, by Stefan Weil.

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

16 years agoMultithreaded locking for mmap().
pbrook [Mon, 2 Jun 2008 16:16:42 +0000 (16:16 +0000)]
Multithreaded locking for mmap().

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

16 years agoFix location of futex.h.
pbrook [Mon, 2 Jun 2008 15:45:44 +0000 (15:45 +0000)]
Fix location of futex.h.

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

16 years agoFix type mismatch.
ths [Mon, 2 Jun 2008 09:35:46 +0000 (09:35 +0000)]
Fix type mismatch.

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

16 years agoFix argument order.
ths [Mon, 2 Jun 2008 08:24:41 +0000 (08:24 +0000)]
Fix argument order.

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

16 years agoProper sign extensions for 32-bit divisions, spotted by Richard Sandiford.
ths [Mon, 2 Jun 2008 07:15:18 +0000 (07:15 +0000)]
Proper sign extensions for 32-bit divisions, spotted by Richard Sandiford.

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

16 years agoFix ATAPI GET_CONFIGURATION function (Alexander Graf, Carlo Marcelo Arenas Belon).
balrog [Mon, 2 Jun 2008 03:12:06 +0000 (03:12 +0000)]
Fix ATAPI GET_CONFIGURATION function (Alexander Graf, Carlo Marcelo Arenas Belon).

The current implementation of GET_CONFIGURATION in the ATAPI stack of qemu
replies a different length depending on the buffer, the data should be
written into.

On the other hand the SCSI spec defines that length information has to be
consistent and independent of return buffer lengths.

This patch makes the ATAPI emulation behave according to the spec and fixes
the Darwin DVD driver.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Kevin Wolf <kwolf@suse.de>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4649 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMark a dead_tmp as such in ARM msr.
balrog [Mon, 2 Jun 2008 02:29:26 +0000 (02:29 +0000)]
Mark a dead_tmp as such in ARM msr.

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

16 years agoImprove dependencies generation (malc).
balrog [Mon, 2 Jun 2008 02:09:09 +0000 (02:09 +0000)]
Improve dependencies generation (malc).

Seems to work also for TCG now.

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

16 years agoMusicPal: Restore display size after invalidation (Jan Kiszka).
balrog [Mon, 2 Jun 2008 02:04:56 +0000 (02:04 +0000)]
MusicPal: Restore display size after invalidation (Jan Kiszka).

Make sure that the MusicPal display is set to the correct size again
after some other console may have used a different size.

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4646 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix smbus_eeprom.c compile with DEBUG (spotted by Duilio Protti).
balrog [Mon, 2 Jun 2008 01:48:27 +0000 (01:48 +0000)]
Fix smbus_eeprom.c compile with DEBUG (spotted by Duilio Protti).

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

16 years agoDon't forget to save VNC FB dimensions after resize (Brad Campbell).
balrog [Mon, 2 Jun 2008 01:40:29 +0000 (01:40 +0000)]
Don't forget to save VNC FB dimensions after resize (Brad Campbell).

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

16 years agoProvide basic emulation for Sharp SL-6000 PDA (Tosa), Dmitry Baryshkov.
balrog [Mon, 2 Jun 2008 01:33:11 +0000 (01:33 +0000)]
Provide basic emulation for Sharp SL-6000 PDA (Tosa), Dmitry Baryshkov.

This adds basic support for emulating Sharp Zaurus SL-6000 PDA (tosa).
Currently it provides only basic support: no kbd/lcd, sound, ts, etc.
But it's able at least to boot Linux from CF.

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4643 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFactor out common SharpSL PDA code (Dmitry Baryshkov).
balrog [Mon, 2 Jun 2008 01:20:15 +0000 (01:20 +0000)]
Factor out common SharpSL PDA code (Dmitry Baryshkov).

Factor out to sharpsl code to support devices that are present not only
in spitz-family PDAs but also in outher Sharp Zaurus PDAs

Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4642 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRestore ARM signal handler compilation on glibc < 2.5 (Blue Swirl).
balrog [Mon, 2 Jun 2008 01:01:18 +0000 (01:01 +0000)]
Restore ARM signal handler compilation on glibc < 2.5 (Blue Swirl).

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

16 years agoEnable SD card on creation.
balrog [Mon, 2 Jun 2008 00:55:08 +0000 (00:55 +0000)]
Enable SD card on creation.

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

16 years agoMake -mtdblock optional again.
balrog [Mon, 2 Jun 2008 00:39:30 +0000 (00:39 +0000)]
Make -mtdblock optional again.

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

16 years agoFix compilation warning
blueswir1 [Sun, 1 Jun 2008 12:49:32 +0000 (12:49 +0000)]
Fix compilation warning

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

16 years agoMark host brk() area as reserved.
pbrook [Sat, 31 May 2008 16:33:53 +0000 (16:33 +0000)]
Mark host brk() area as reserved.

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

16 years agoAdd TLS sections.
pbrook [Sat, 31 May 2008 16:21:33 +0000 (16:21 +0000)]
Add TLS sections.

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

16 years agoMake signal queues per thread.
pbrook [Sat, 31 May 2008 16:11:38 +0000 (16:11 +0000)]
Make signal queues per thread.

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

16 years agoFix usermode build.
pbrook [Sat, 31 May 2008 12:14:21 +0000 (12:14 +0000)]
Fix usermode build.

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

16 years agoAdd more SuperSparcs
blueswir1 [Sat, 31 May 2008 11:33:20 +0000 (11:33 +0000)]
Add more SuperSparcs

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

16 years agoCopy siginfo.si_code.
pbrook [Fri, 30 May 2008 22:57:20 +0000 (22:57 +0000)]
Copy siginfo.si_code.

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

16 years agoTranslate whole of target_sigset. Use host sigset accessors.
pbrook [Fri, 30 May 2008 22:37:07 +0000 (22:37 +0000)]
Translate whole of target_sigset.  Use host sigset accessors.

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

16 years agoFix structure type in sigtimedwait syscall.
pbrook [Fri, 30 May 2008 21:53:38 +0000 (21:53 +0000)]
Fix structure type in sigtimedwait syscall.

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

16 years agosupport of long calls for PPC (malc)
bellard [Fri, 30 May 2008 20:56:52 +0000 (20:56 +0000)]
support of long calls for PPC (malc)

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

16 years agokqemu API change - allow use of kqemu with 32 bit QEMU on a 64 bit host
bellard [Fri, 30 May 2008 20:48:25 +0000 (20:48 +0000)]
kqemu API change - allow use of kqemu with 32 bit QEMU on a 64 bit host

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

16 years agoHandle NULL argp/envp in execve syscall.
pbrook [Fri, 30 May 2008 18:24:00 +0000 (18:24 +0000)]
Handle NULL argp/envp in execve syscall.

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

16 years agoImplement waitid syscall.
pbrook [Fri, 30 May 2008 18:20:05 +0000 (18:20 +0000)]
Implement waitid syscall.

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

16 years agoPerform target->host signal mapping for *kill syscalls.
pbrook [Fri, 30 May 2008 18:05:19 +0000 (18:05 +0000)]
Perform target->host signal mapping for *kill syscalls.

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

16 years agoFix typo.
pbrook [Fri, 30 May 2008 17:54:15 +0000 (17:54 +0000)]
Fix typo.

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

16 years agoMove clone() register setup to target specific code. Handle fork-like clone.
pbrook [Fri, 30 May 2008 17:22:15 +0000 (17:22 +0000)]
Move clone() register setup to target specific code.  Handle fork-like clone.

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

16 years agoFix for 32-bit MIPS.
ths [Fri, 30 May 2008 00:12:52 +0000 (00:12 +0000)]
Fix for 32-bit MIPS.

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

16 years agoAvoid qemu SIGFPE for MIPS DIV, by Richard Sandiford.
ths [Thu, 29 May 2008 18:29:05 +0000 (18:29 +0000)]
Avoid qemu SIGFPE for MIPS DIV, by Richard Sandiford.

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

16 years agoFix truncate/extend reversal in MIPS DIV{, U} handling, by Richard Sandiford.
ths [Thu, 29 May 2008 18:28:07 +0000 (18:28 +0000)]
Fix truncate/extend reversal in MIPS DIV{, U} handling, by Richard Sandiford.

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

16 years agoFix modulus result from MIPS DDIV & avoid overflowing division,
ths [Thu, 29 May 2008 18:23:31 +0000 (18:23 +0000)]
Fix modulus result from MIPS DDIV & avoid overflowing division,
by Richard Sandiford.

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

16 years agoMicroSparc I didn't have fsmuld op
blueswir1 [Thu, 29 May 2008 18:20:36 +0000 (18:20 +0000)]
MicroSparc I didn't have fsmuld op

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

16 years agoRemove unused (for now) reg_REGWPTR (original patch by Glauber Costa)
blueswir1 [Thu, 29 May 2008 16:38:41 +0000 (16:38 +0000)]
Remove unused (for now) reg_REGWPTR (original patch by Glauber Costa)

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

16 years agoNPTL host detection and futex syscall passthrough.
pbrook [Thu, 29 May 2008 14:34:11 +0000 (14:34 +0000)]
NPTL host detection and futex syscall passthrough.

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

16 years agoFix rounding error.
pbrook [Thu, 29 May 2008 13:56:10 +0000 (13:56 +0000)]
Fix rounding error.

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

16 years agoStrace fallback for unknown syscalls.
pbrook [Thu, 29 May 2008 13:49:09 +0000 (13:49 +0000)]
Strace fallback for unknown syscalls.

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

16 years agoImplement clock_nanosleep.
pbrook [Thu, 29 May 2008 13:43:29 +0000 (13:43 +0000)]
Implement clock_nanosleep.

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

16 years agoPush common interrupt variables to cpu-defs.h (Glauber Costa)
bellard [Thu, 29 May 2008 10:08:06 +0000 (10:08 +0000)]
Push common interrupt variables to cpu-defs.h (Glauber Costa)

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

16 years agokeep static code gen buffer for user mode - mark user mode reserved pages after all...
bellard [Thu, 29 May 2008 09:35:57 +0000 (09:35 +0000)]
keep static code gen buffer for user mode - mark user mode reserved pages after all big allocations

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

16 years agoImplement ARM magic kernel page and TLS register.
pbrook [Thu, 29 May 2008 00:20:44 +0000 (00:20 +0000)]
Implement ARM magic kernel page and TLS register.

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

16 years agomoved halted field to CPU_COMMON
bellard [Wed, 28 May 2008 17:14:10 +0000 (17:14 +0000)]
moved halted field to CPU_COMMON

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

16 years agosvn:ignore qemu-nbd and qemu-nbd.8
pbrook [Wed, 28 May 2008 16:49:25 +0000 (16:49 +0000)]
svn:ignore qemu-nbd and qemu-nbd.8

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

16 years agoDon't link usermode emulation against libqemu_common.a
pbrook [Wed, 28 May 2008 16:44:57 +0000 (16:44 +0000)]
Don't link usermode emulation against libqemu_common.a

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

16 years agoforce bit 1 in eflags load
bellard [Wed, 28 May 2008 16:25:20 +0000 (16:25 +0000)]
force bit 1 in eflags load

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

16 years agoSVM rework
bellard [Wed, 28 May 2008 16:16:54 +0000 (16:16 +0000)]
SVM rework

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

16 years agoHonour current_tc for MIPS M{T,F}{HI,LO}, by Richard Sandiford.
ths [Wed, 28 May 2008 13:37:19 +0000 (13:37 +0000)]
Honour current_tc for MIPS M{T,F}{HI,LO}, by Richard Sandiford.

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

16 years agoconsistent naming for i386 TCG helper file
bellard [Wed, 28 May 2008 12:51:20 +0000 (12:51 +0000)]
consistent naming for i386 TCG helper file

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

16 years agoupdate
bellard [Wed, 28 May 2008 12:35:42 +0000 (12:35 +0000)]
update

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

16 years agomore tests
bellard [Wed, 28 May 2008 12:34:49 +0000 (12:34 +0000)]
more tests

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

16 years agovariable dynamic translation buffer size
bellard [Wed, 28 May 2008 12:30:31 +0000 (12:30 +0000)]
variable dynamic translation buffer size

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

16 years agoAlign file accesses with cache=off (O_DIRECT) (Kevin Wolf, Laurent Vivier)
bellard [Wed, 28 May 2008 09:51:09 +0000 (09:51 +0000)]
Align file accesses with cache=off (O_DIRECT) (Kevin Wolf, Laurent Vivier)

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

16 years agoremoved unused code
bellard [Tue, 27 May 2008 21:18:39 +0000 (21:18 +0000)]
removed unused code

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

16 years agoCRIS: Re-add the X flag to the tb flags, it allows for better code generation and...
edgar_igl [Tue, 27 May 2008 21:15:56 +0000 (21:15 +0000)]
CRIS: Re-add the X flag to the tb flags, it allows for better code generation and is practially always cleared.

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

16 years agoqemu-nbd tool (Anthony Liguori)
bellard [Tue, 27 May 2008 21:13:40 +0000 (21:13 +0000)]
qemu-nbd tool (Anthony Liguori)

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

16 years agoCRIS: Use $eda to instead of debug1 (removed) for fault addr.
edgar_igl [Tue, 27 May 2008 21:12:09 +0000 (21:12 +0000)]
CRIS: Use $eda to instead of debug1 (removed) for fault addr.

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

16 years agoCRIS: Restructure the translator to allow for better code generation.
edgar_igl [Tue, 27 May 2008 21:10:56 +0000 (21:10 +0000)]
CRIS: Restructure the translator to allow for better code generation.

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

16 years agoETRAX: Avoid compiler warning.
edgar_igl [Tue, 27 May 2008 21:05:21 +0000 (21:05 +0000)]
ETRAX: Avoid compiler warning.

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

16 years agoETRAX: Allow boot from flash. Support the watchdog timer and resets through it.
edgar_igl [Tue, 27 May 2008 21:04:41 +0000 (21:04 +0000)]
ETRAX: Allow boot from flash. Support the watchdog timer and resets through it.

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

16 years agoFree temps
blueswir1 [Tue, 27 May 2008 19:39:12 +0000 (19:39 +0000)]
Free temps

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

16 years agoMove non-op functions from op_helper.c to helper.c and vice versa.
blueswir1 [Tue, 27 May 2008 17:35:30 +0000 (17:35 +0000)]
Move non-op functions from op_helper.c to helper.c and vice versa.
Rearrange interrupt handling to match other targets.

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

16 years agoMore TCG type fixes
blueswir1 [Mon, 26 May 2008 19:42:42 +0000 (19:42 +0000)]
More TCG type fixes

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

16 years agoFix signed/unsigned issues of immediate version of brcond (malc)
bellard [Mon, 26 May 2008 19:11:07 +0000 (19:11 +0000)]
Fix signed/unsigned issues of immediate version of brcond (malc)

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

16 years agoFix cas on i386
blueswir1 [Mon, 26 May 2008 17:53:41 +0000 (17:53 +0000)]
Fix cas on i386

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

16 years agofixed x86_64 regression
bellard [Sun, 25 May 2008 21:01:05 +0000 (21:01 +0000)]
fixed x86_64 regression

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

16 years agoppc dyngen fix (malc)
bellard [Sun, 25 May 2008 19:01:05 +0000 (19:01 +0000)]
ppc dyngen fix (malc)

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

16 years agoppc TCG target (malc)
bellard [Sun, 25 May 2008 18:59:57 +0000 (18:59 +0000)]
ppc TCG target (malc)

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

16 years agojump simplification
bellard [Sun, 25 May 2008 18:49:06 +0000 (18:49 +0000)]
jump simplification

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

16 years agojump optimizations
bellard [Sun, 25 May 2008 18:41:58 +0000 (18:41 +0000)]
jump optimizations

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

16 years agoupdate
bellard [Sun, 25 May 2008 18:24:40 +0000 (18:24 +0000)]
update

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

16 years agosuppressed unused macro handling
bellard [Sun, 25 May 2008 18:21:31 +0000 (18:21 +0000)]
suppressed unused macro handling

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

16 years agoremove absolete function
bellard [Sun, 25 May 2008 18:01:40 +0000 (18:01 +0000)]
remove absolete function

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

16 years agoremove absolete function
bellard [Sun, 25 May 2008 18:01:24 +0000 (18:01 +0000)]
remove absolete function

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

16 years agotransformed TN into temporaries - add local temporaries usage when needed - optimized...
bellard [Sun, 25 May 2008 17:26:41 +0000 (17:26 +0000)]
transformed TN into temporaries - add local temporaries usage when needed - optimized fcmovX

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

16 years agoadded local temporaries
bellard [Sun, 25 May 2008 17:24:00 +0000 (17:24 +0000)]
added local temporaries

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

16 years agoIgnore duplicate timer run requests.
pbrook [Sun, 25 May 2008 14:05:47 +0000 (14:05 +0000)]
Ignore duplicate timer run requests.

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

16 years agoImplement byte swapping accesses
blueswir1 [Sun, 25 May 2008 11:19:24 +0000 (11:19 +0000)]
Implement byte swapping accesses

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

16 years agoNicer debug output
blueswir1 [Sun, 25 May 2008 11:17:46 +0000 (11:17 +0000)]
Nicer debug output

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

16 years agoRemove bogus DisplayState member.
pbrook [Sun, 25 May 2008 10:10:12 +0000 (10:10 +0000)]
Remove bogus DisplayState member.

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

16 years agoFix VNC update regoin height.
balrog [Sun, 25 May 2008 00:38:47 +0000 (00:38 +0000)]
Fix VNC update regoin height.

'h' actually is the coordinate of bottom of the rectangle and not height.

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

16 years agoFix off-by-one unwinding error.
pbrook [Sun, 25 May 2008 00:36:06 +0000 (00:36 +0000)]
Fix off-by-one unwinding error.

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

16 years agoInvalidate VNC framebuffer on every resize.
balrog [Sun, 25 May 2008 00:14:34 +0000 (00:14 +0000)]
Invalidate VNC framebuffer on every resize.

On a resize, vncviewer keeps the image in the upper-left part of the screen
unmodified and fills the right end of the lines with black colour.  vnc.c       keeps the first n bytes of the framebuffer unmodified instead - meaning that
the client's image doesn't match the image in framebuffer and checking
for dirty rows gives wrong results.  We can either invalidate the whole
buffer or implement the same transformation as the client.

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