qemu
15 years agoTry to avoid glibc global register mangling, again
blueswir1 [Sat, 26 Jul 2008 17:19:35 +0000 (17:19 +0000)]
Try to avoid glibc global register mangling, again

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

15 years agoAdd e1000 etherboot ROM from http://www.rom-o-matic.net
aliguori [Sat, 26 Jul 2008 16:53:22 +0000 (16:53 +0000)]
Add e1000 etherboot ROM from www.rom-o-matic.net

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoMap code buffers below 2G on Sparc64
blueswir1 [Sat, 26 Jul 2008 15:05:57 +0000 (15:05 +0000)]
Map code buffers below 2G on Sparc64

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

15 years agoRelax memory operations constraints
malc [Sat, 26 Jul 2008 11:21:03 +0000 (11:21 +0000)]
Relax memory operations constraints

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

15 years agoFix qemu_ld64 constraint list
malc [Sat, 26 Jul 2008 11:21:00 +0000 (11:21 +0000)]
Fix qemu_ld64 constraint list

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

15 years agoUse proper offset for LR save slot
malc [Sat, 26 Jul 2008 11:20:57 +0000 (11:20 +0000)]
Use proper offset for LR save slot

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

15 years agoReduce amount of space reserved for tb jump
malc [Sat, 26 Jul 2008 11:20:54 +0000 (11:20 +0000)]
Reduce amount of space reserved for tb jump

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

15 years agoFix and improve 64 bit immediate loading
malc [Sat, 26 Jul 2008 11:20:50 +0000 (11:20 +0000)]
Fix and improve 64 bit immediate loading

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

15 years agoFix EXTSW arguments
malc [Sat, 26 Jul 2008 11:20:44 +0000 (11:20 +0000)]
Fix EXTSW arguments

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

15 years agoCRIS: Correct condition for when to apply fast move flags evaluation. Correct single...
edgar_igl [Fri, 25 Jul 2008 21:20:21 +0000 (21:20 +0000)]
CRIS: Correct condition for when to apply fast move flags evaluation. Correct single-stepping over branches.

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

15 years agoFix OMAP GPMC register offsets and SYSCTL 8bit io (Kyungmin Park).
balrog [Fri, 25 Jul 2008 21:07:21 +0000 (21:07 +0000)]
Fix OMAP GPMC register offsets and SYSCTL 8bit io (Kyungmin Park).

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

15 years agoMake MAXTL dynamic, bounds check tl when indexing
blueswir1 [Fri, 25 Jul 2008 07:42:14 +0000 (07:42 +0000)]
Make MAXTL dynamic, bounds check tl when indexing

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

15 years agoUse proper value for TCG_TARGET_CALL_STACK_OFFSET
malc [Thu, 24 Jul 2008 22:56:21 +0000 (22:56 +0000)]
Use proper value for TCG_TARGET_CALL_STACK_OFFSET

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

15 years agoDo exit if test for hostlongbits on ppc64 fails
malc [Thu, 24 Jul 2008 17:51:36 +0000 (17:51 +0000)]
Do exit if test for hostlongbits on ppc64 fails

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

15 years agoEmit and use adhoc function descriptor for code_gen_prologue on PPC64
malc [Thu, 24 Jul 2008 17:37:09 +0000 (17:37 +0000)]
Emit and use adhoc function descriptor for code_gen_prologue on PPC64

Thus avoiding fragile inline assembly hackery to call into generated
code.

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

15 years agoSparc32: save/load all MMU registers, Sparc64: add CPU save/load
blueswir1 [Thu, 24 Jul 2008 11:28:51 +0000 (11:28 +0000)]
Sparc32: save/load all MMU registers, Sparc64: add CPU save/load

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

15 years agoFix 24 bit mode
blueswir1 [Thu, 24 Jul 2008 11:26:38 +0000 (11:26 +0000)]
Fix 24 bit mode

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

15 years agoFix detection of 15 bit display depth
blueswir1 [Thu, 24 Jul 2008 11:25:30 +0000 (11:25 +0000)]
Fix detection of 15 bit display depth

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

15 years agoRemove neg_i32 debugging leftover
malc [Wed, 23 Jul 2008 20:01:27 +0000 (20:01 +0000)]
Remove neg_i32 debugging leftover

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

15 years agoProvide extNs_M instructions
malc [Wed, 23 Jul 2008 20:01:23 +0000 (20:01 +0000)]
Provide extNs_M instructions

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

15 years agoRemove stray "i" from mul_i64
malc [Wed, 23 Jul 2008 20:01:19 +0000 (20:01 +0000)]
Remove stray "i" from mul_i64

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

15 years agoPreliminary PPC64/Linux host support
malc [Wed, 23 Jul 2008 19:17:46 +0000 (19:17 +0000)]
Preliminary PPC64/Linux host support

ppc64.ld from Heikki Lindholm's patch
http://marc.info/?l=qemu-devel&m=114086179024634&w=2

Issues:
x86_64 tripple faults shortly after decompressing the kernel
No immediate versions of most 64 bit operations
More...

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

15 years agoEnable VDE by default if library is present.
aliguori [Wed, 23 Jul 2008 18:14:33 +0000 (18:14 +0000)]
Enable VDE by default if library is present.

VDE isn't used unless the user explicitly asks for it so if the library is
present on the system, we should include support for it.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoAdd OneNAND Unlock All command (Kyungmin Park).
balrog [Wed, 23 Jul 2008 16:35:45 +0000 (16:35 +0000)]
Add OneNAND Unlock All command (Kyungmin Park).

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

15 years agoUse plain standard inline.
ths [Wed, 23 Jul 2008 16:16:31 +0000 (16:16 +0000)]
Use plain standard inline.

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

15 years agoLess hardcoding of TARGET_USER_ONLY.
ths [Wed, 23 Jul 2008 16:14:22 +0000 (16:14 +0000)]
Less hardcoding of TARGET_USER_ONLY.

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

15 years agoSave 3MB ioport table memory (Samuel Thibault)
aliguori [Wed, 23 Jul 2008 15:19:59 +0000 (15:19 +0000)]
Save 3MB ioport table memory (Samuel Thibault)

Save 1.5MB (32bit) or 3MB (64bit) memory by keeping ioport tables
sparse and use a test against NULL instead.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoFix task register type after reset (Avi Kivity)
aliguori [Wed, 23 Jul 2008 13:29:23 +0000 (13:29 +0000)]
Fix task register type after reset (Avi Kivity)

Obvious typo that breaks reboots.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoFix SDL problems with BGR displays (Avi Kivity)
aliguori [Wed, 23 Jul 2008 13:24:33 +0000 (13:24 +0000)]
Fix SDL problems with BGR displays (Avi Kivity)

revert qemu's sdl.c rev 1.40

this fixes problems with bgr displays.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoFix -daemonize option
aliguori [Wed, 23 Jul 2008 00:58:33 +0000 (00:58 +0000)]
Fix -daemonize option

When using -daemonize, we want to avoid chdir() until after we've opened the
block devices.  It's also perfectly fine to use -dameonize along with SDL.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoAdd T1 and T2 CPUs, add a Sun4v machine
blueswir1 [Tue, 22 Jul 2008 07:07:34 +0000 (07:07 +0000)]
Add T1 and T2 CPUs, add a Sun4v machine

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

15 years agoFix a bad comparison, spotted by Paul Brook.
balrog [Tue, 22 Jul 2008 01:57:42 +0000 (01:57 +0000)]
Fix a bad comparison, spotted by Paul Brook.

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

15 years agoA bunch of minor code improvements in the MIPS target.
ths [Mon, 21 Jul 2008 21:38:04 +0000 (21:38 +0000)]
A bunch of minor code improvements in the MIPS target.

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

15 years agoHandle on-chip DMA controllers in one place, convert OMAP DMA to use it.
balrog [Mon, 21 Jul 2008 20:40:22 +0000 (20:40 +0000)]
Handle on-chip DMA controllers in one place, convert OMAP DMA to use it.

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

15 years agoOmap DPLL & APLL locking logic.
balrog [Mon, 21 Jul 2008 19:52:54 +0000 (19:52 +0000)]
Omap DPLL & APLL locking logic.

Reset I2C fifo on new transfers.

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

15 years agoUse MMU globals for some MMU traps
blueswir1 [Mon, 21 Jul 2008 18:43:32 +0000 (18:43 +0000)]
Use MMU globals for some MMU traps

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

15 years agoFix reset vector
blueswir1 [Mon, 21 Jul 2008 11:17:23 +0000 (11:17 +0000)]
Fix reset vector

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

15 years agoFix logging output for MIPS HI, LO registers, by Stefan Weil.
ths [Mon, 21 Jul 2008 07:46:03 +0000 (07:46 +0000)]
Fix logging output for MIPS HI, LO registers, by Stefan Weil.

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

15 years agoFix compiler warning, by Stefan Weil.
ths [Sun, 20 Jul 2008 19:13:19 +0000 (19:13 +0000)]
Fix compiler warning, by Stefan Weil.

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

15 years agoAdd missing const, by Stefan Weil.
ths [Sun, 20 Jul 2008 18:55:00 +0000 (18:55 +0000)]
Add missing const, by Stefan Weil.

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

15 years agoSimplify conditional FP moves.
ths [Sun, 20 Jul 2008 18:48:42 +0000 (18:48 +0000)]
Simplify conditional FP moves.

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

15 years agoPrint default and available CPU features separately
blueswir1 [Sun, 20 Jul 2008 18:23:50 +0000 (18:23 +0000)]
Print default and available CPU features separately

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

15 years agoMake UA200x features selectable, add MMU types
blueswir1 [Sun, 20 Jul 2008 18:22:16 +0000 (18:22 +0000)]
Make UA200x features selectable, add MMU types

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

15 years agoFix debug message address formats
blueswir1 [Sun, 20 Jul 2008 15:22:46 +0000 (15:22 +0000)]
Fix debug message address formats

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

15 years agoFix wrong function names in debug messages (Stefan Weil)
blueswir1 [Sun, 20 Jul 2008 15:21:50 +0000 (15:21 +0000)]
Fix wrong function names in debug messages (Stefan Weil)

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

15 years agoRemove unused variable
blueswir1 [Sat, 19 Jul 2008 18:35:29 +0000 (18:35 +0000)]
Remove unused variable

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

15 years agoImprove the audio driver check
malc [Sat, 19 Jul 2008 16:57:30 +0000 (16:57 +0000)]
Improve the audio driver check

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

15 years agoReject invalid audio drivers
malc [Sat, 19 Jul 2008 16:15:16 +0000 (16:15 +0000)]
Reject invalid audio drivers

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

15 years agoRevert "QEMU keyboard issue with Gujin-2.2" (Avi Kivity).
balrog [Sat, 19 Jul 2008 14:16:20 +0000 (14:16 +0000)]
Revert "QEMU keyboard issue with Gujin-2.2" (Avi Kivity).

This reverts commit r3421, which kills the mouse in SuSE Linux 9.1 (there
were other reports of breakage earlier also).

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoRevert "fix power management timer overflow handling" (Avi Kivity).
balrog [Sat, 19 Jul 2008 14:11:22 +0000 (14:11 +0000)]
Revert "fix power management timer overflow handling" (Avi Kivity).

The fix is bogus, causing sci to be deferred for longer and longer.

Noticed by Alex Williamson.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoForce screen resize if no buffer set (Avi Kivity).
balrog [Sat, 19 Jul 2008 14:09:20 +0000 (14:09 +0000)]
Force screen resize if no buffer set (Avi Kivity).

This is a hack to get screen_dump to work, we should start using a global
screen_dump method.

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoImplement nucleus quad ldda
blueswir1 [Sat, 19 Jul 2008 13:25:28 +0000 (13:25 +0000)]
Implement nucleus quad ldda

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

15 years agoPretend to be the active console while a screendump takes place (Avi Kivity).
balrog [Sat, 19 Jul 2008 13:04:26 +0000 (13:04 +0000)]
Pretend to be the active console while a screendump takes place (Avi Kivity).

Signed-off-by: Avi Kivity <avi@qumranet.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

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

15 years agoARMv6: fix SIMD add/sub carry flags (Vincent Palatin).
balrog [Sat, 19 Jul 2008 10:46:13 +0000 (10:46 +0000)]
ARMv6: fix SIMD add/sub carry flags (Vincent Palatin).

After a quick code review, it seems to be a bad cut-n-paste between
16-bit and 8-bit UADD/USUB, indeed UADD8/USUB8 tries to set GE bits by
pair instead of one at a time.
Besides, the addition operations (UADD8/UADD16) set GE bits to "NOT
carry" instead of "carry" (probably once again due to a copy of the
substraction code which sets flags to "NOT borrow")

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

15 years agoARM: fix CPS masks (Vincent Palatin).
balrog [Sat, 19 Jul 2008 10:34:35 +0000 (10:34 +0000)]
ARM: fix CPS masks (Vincent Palatin).

According to ARM Reference Manual (DDI0100 A4.1.16),
bit 5 is fixed to 0 (bit 4 is the MSB of the mode), so the instruction mask
should be  0x0ff10020 not 0x0ff10010.
Besides, mmod flag is bit 17 (b14 is SBZ)

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

15 years agoFix smlald, smlsld, pkhtp, pkhbt, ssat, usat, umul, smul... (Laurent Desnogues).
balrog [Sat, 19 Jul 2008 10:12:22 +0000 (10:12 +0000)]
Fix smlald, smlsld, pkhtp, pkhbt, ssat, usat, umul, smul... (Laurent Desnogues).

helper.c
 - copy reference c0_c2 to runtime c0_c2 and not c0_c1

op_helper.c
 - remove old code (PARAM1, probably some left over from old dyngen)
   that broke do_[us]sat

translate.c
 - gen_smul_dual should sign-extend from 16 bit to 32 bit and not from
   8 to 32
 - disas_arm_insn:
   * smlalxy:  that was completely wrong;  now the addition is
     performed as for smlald
   * pkhtb:  optional ASR not taken into account (similar
   * to [us]sat)
   * pkhtb/pkhbt: tmp2 is dead
   * smlald, smlsld, smuad, smusd, smlad, smlsd: rd
   * and rn swapped

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

15 years agoUpdate TLB miss addresses
blueswir1 [Sat, 19 Jul 2008 10:04:48 +0000 (10:04 +0000)]
Update TLB miss addresses

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

15 years agoAdd Virtual Distributed Ethernet native support, by Luca Bigliardi.
ths [Sat, 19 Jul 2008 09:56:24 +0000 (09:56 +0000)]
Add Virtual Distributed Ethernet native support, by Luca Bigliardi.

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

15 years agolinux-user: Fix target_statfs[64] on 64-bit hosts
balrog [Sat, 19 Jul 2008 09:38:52 +0000 (09:38 +0000)]
linux-user: Fix target_statfs[64] on 64-bit hosts

Testing qemu-x86_64, I happen to run df and came across these mistakes
in the target_statfs/target_statfs64 structure definitions (reference:
linux/include/asm-x86/statfs.h).

Signed-off-by: Jan Kiszka <jan.kiszka@web.de>

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

15 years agoSpecial Mask Mode for i8259 PIC (Sebastian Reichelt).
balrog [Sat, 19 Jul 2008 09:18:48 +0000 (09:18 +0000)]
Special Mask Mode for i8259 PIC (Sebastian Reichelt).

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

15 years agoAllow qemu-nbd --version to show the application name dynamically, by
ths [Fri, 18 Jul 2008 18:06:23 +0000 (18:06 +0000)]
Allow qemu-nbd --version to show the application name dynamically, by
Carlo Marcelo Arenas Belon.

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

15 years agoVarious NICs: Fix suspend/resume of multiple instances, by Jan Kiszka.
ths [Fri, 18 Jul 2008 18:02:34 +0000 (18:02 +0000)]
Various NICs: Fix suspend/resume of multiple instances, by Jan Kiszka.

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

15 years agoSmall cleanup of gen_intermediate_code(_internal), by Laurent Desnogues.
ths [Fri, 18 Jul 2008 18:01:29 +0000 (18:01 +0000)]
Small cleanup of gen_intermediate_code(_internal), by Laurent Desnogues.

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

15 years agoide: enable single word DMA, by Stefano Stabellini.
ths [Fri, 18 Jul 2008 16:49:42 +0000 (16:49 +0000)]
ide: enable single word DMA, by Stefano Stabellini.

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

15 years agoDo not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.
ths [Fri, 18 Jul 2008 16:35:27 +0000 (16:35 +0000)]
Do not call fcntl(, O_NONBLOCK) pointlessly, by Ian Jackson.

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

15 years agoDo not disturb old fd flags (eg O_APPEND) when setting nonblock, by
ths [Fri, 18 Jul 2008 16:34:43 +0000 (16:34 +0000)]
Do not disturb old fd flags (eg O_APPEND) when setting nonblock, by
Ian Jackson.

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

15 years agowrhpr hstick_cmpr is a store, not a load
blueswir1 [Fri, 18 Jul 2008 10:26:07 +0000 (10:26 +0000)]
wrhpr hstick_cmpr is a store, not a load

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

15 years agoOMAP2 EAC module.
balrog [Fri, 18 Jul 2008 07:50:20 +0000 (07:50 +0000)]
OMAP2 EAC module.

Not yet hooked up to any CODEC.

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

15 years agoRemove the NIC from vlan on usb destroy.
balrog [Thu, 17 Jul 2008 21:00:05 +0000 (21:00 +0000)]
Remove the NIC from vlan on usb destroy.

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

15 years agoAdd CDC-Ethernet usb NIC (original patch from Thomas Sailer).
balrog [Thu, 17 Jul 2008 20:47:13 +0000 (20:47 +0000)]
Add CDC-Ethernet usb NIC (original patch from Thomas Sailer).

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

15 years agoFix saving and loading of trap state
blueswir1 [Thu, 17 Jul 2008 19:17:19 +0000 (19:17 +0000)]
Fix saving and loading of trap state

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

15 years agoSupport for address masking
blueswir1 [Thu, 17 Jul 2008 12:53:05 +0000 (12:53 +0000)]
Support for address masking

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

15 years agoFix MMU registers, add more E-cache ASIs
blueswir1 [Wed, 16 Jul 2008 16:58:49 +0000 (16:58 +0000)]
Fix MMU registers, add more E-cache ASIs

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

15 years agoFix MMU miss traps
blueswir1 [Wed, 16 Jul 2008 16:55:52 +0000 (16:55 +0000)]
Fix MMU miss traps

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

15 years agoDisable OMAP2 combined-io-entries hack now that more regions are allowed.
balrog [Wed, 16 Jul 2008 13:06:53 +0000 (13:06 +0000)]
Disable OMAP2 combined-io-entries hack now that more regions are allowed.

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

15 years agoe1000: only use TSE if enabled for current packet (Anthony Xu).
balrog [Wed, 16 Jul 2008 12:39:45 +0000 (12:39 +0000)]
e1000: only use TSE if enabled for current packet (Anthony Xu).

Previously, all data descriptors used TSE context descriptor by default,
It's not correct, per spec, data descriptor uses TSE bit to indicate
whether use TSE,
Legacy data descripter never use TSE.
This patch fixed this bug.

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

15 years agoFix a bunch of type mismatch-related warnings (Jan Kiszka).
balrog [Wed, 16 Jul 2008 12:13:52 +0000 (12:13 +0000)]
Fix a bunch of type mismatch-related warnings (Jan Kiszka).

Fix a typo in my previous comming (spotted by Laurent Desnouges).

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

15 years agoFlushw can generate exceptions, so save PC & NPC
blueswir1 [Wed, 16 Jul 2008 11:51:15 +0000 (11:51 +0000)]
Flushw can generate exceptions, so save PC & NPC

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

15 years agoRemove unintended dereference, kills a warning (Jan Kiszka).
balrog [Wed, 16 Jul 2008 11:31:11 +0000 (11:31 +0000)]
Remove unintended dereference, kills a warning (Jan Kiszka).

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

15 years agoProperly byte-swap values in VMware SVGA (malc).
balrog [Wed, 16 Jul 2008 04:45:12 +0000 (04:45 +0000)]
Properly byte-swap values in VMware SVGA (malc).

Makes PPC host happy.  Also use the right type for a memory offset.

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

15 years agoMake Bochs VBE work with VMWare SVGA (malc).
balrog [Wed, 16 Jul 2008 04:38:32 +0000 (04:38 +0000)]
Make Bochs VBE work with VMWare SVGA (malc).

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

15 years agoDon't overwrite VMwareSVGA's memory region start addresses (malc).
balrog [Wed, 16 Jul 2008 04:36:48 +0000 (04:36 +0000)]
Don't overwrite VMwareSVGA's memory region start addresses (malc).

This was correct also in the Anthony Liguori's patch, but not in mine.

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

15 years agoInitialize the VMware VGA console after vga_init (Alexander Graf).
balrog [Wed, 16 Jul 2008 04:31:20 +0000 (04:31 +0000)]
Initialize the VMware VGA console after vga_init (Alexander Graf).

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

15 years agoAdd idprom
blueswir1 [Tue, 15 Jul 2008 14:54:01 +0000 (14:54 +0000)]
Add idprom

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

15 years agoReally fix cas
blueswir1 [Tue, 15 Jul 2008 14:52:09 +0000 (14:52 +0000)]
Really fix cas

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

15 years agoTerminate TB immediately after v7-M exception return.
pbrook [Fri, 11 Jul 2008 00:27:19 +0000 (00:27 +0000)]
Terminate TB immediately after v7-M exception return.

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

15 years agoLink ARM prologue closer to code segment to avoid a build failure
blueswir1 [Thu, 10 Jul 2008 17:21:31 +0000 (17:21 +0000)]
Link ARM prologue closer to code segment to avoid a build failure

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

15 years agoFix coprocessor register types.
pbrook [Thu, 10 Jul 2008 17:17:54 +0000 (17:17 +0000)]
Fix coprocessor register types.

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

15 years agoRestore old value of buffer_size
malc [Wed, 9 Jul 2008 19:25:30 +0000 (19:25 +0000)]
Restore old value of buffer_size

This brings latency down to acceptable levels when using dmix

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

15 years agoWarn about rejected buffer/period size/time when it was specified by the user
malc [Wed, 9 Jul 2008 19:25:28 +0000 (19:25 +0000)]
Warn about rejected buffer/period size/time when it was specified by the user

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

15 years agoCall proper function when trying to set period size
malc [Wed, 9 Jul 2008 19:25:24 +0000 (19:25 +0000)]
Call proper function when trying to set period size

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

15 years agoAvoid decremented overflow.
pbrook [Wed, 9 Jul 2008 15:31:50 +0000 (15:31 +0000)]
Avoid decremented overflow.

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

15 years agoUse temporary registers for the MIPS FPU emulation.
ths [Wed, 9 Jul 2008 11:05:10 +0000 (11:05 +0000)]
Use temporary registers for the MIPS FPU emulation.

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

15 years agoFix typo
malc [Tue, 8 Jul 2008 18:57:05 +0000 (18:57 +0000)]
Fix typo

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

15 years agoFix r4641 (invalid token "=<" in a preprocessor expression)
blueswir1 [Tue, 8 Jul 2008 18:35:02 +0000 (18:35 +0000)]
Fix r4641 (invalid token "=<" in a preprocessor expression)

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

15 years agoImplement some Ultrasparc cache ASIs used by SILO
blueswir1 [Tue, 8 Jul 2008 15:51:32 +0000 (15:51 +0000)]
Implement some Ultrasparc cache ASIs used by SILO

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

15 years agoEliminate spurous screen updates.
pbrook [Mon, 7 Jul 2008 23:01:25 +0000 (23:01 +0000)]
Eliminate spurous screen updates.

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

15 years agofix cvtsq2s[sd] (Juergen Lock)
bellard [Mon, 7 Jul 2008 20:25:41 +0000 (20:25 +0000)]
fix cvtsq2s[sd] (Juergen Lock)

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

15 years ago64 bit signed comparison fix (Juergen Lock)
bellard [Mon, 7 Jul 2008 20:15:54 +0000 (20:15 +0000)]
64 bit signed comparison fix (Juergen Lock)

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

15 years agoFix 64 bit constant generation
blueswir1 [Mon, 7 Jul 2008 19:34:45 +0000 (19:34 +0000)]
Fix 64 bit constant generation

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