Statistics
| Branch: | Revision:

root @ cbcc6336

# Date Author Comment
710fc4f5 01/24/2011 04:41 pm Jiri Denemark

configure: Fix spice probe

Non-existent $pkgconfig instead of $pkg_config was used when configure
probes for spice availability.

Signed-off-by: Jiri Denemark <>

cbcc6336 01/24/2011 04:41 pm Alon Levy

spice: add chardev (v5)

Adding a chardev backend for spice, where spice determines what
to do with it based on the name attribute given during chardev creation.
For usage by spice vdagent in conjunction with a properly named
virtio-serial device, and future smartcard channel usage....

17268d54 01/24/2011 04:15 pm Gerd Hoffmann

qxl: locking fix

One spice worker call lacks the unlock/relock calls,
which may lead to deadlocks, add them.

Signed-off-by: Gerd Hoffmann <>

99a0db9b 01/24/2011 04:13 pm Gerd Hoffmann

add migration state change notifiers

This patch adds functions to register and unregister notifiers for
migration state changes and a function to query the migration state.
The notifier is called on every state change. Once after establishing a
new migration object (which is in active state then) and once when the...

e866e239 01/24/2011 04:13 pm Gerd Hoffmann

spice/vnc: client migration.

Handle spice client migration, i.e. inform a spice client connected
about the new host and connection parameters, so it can move over the
connection automatically.

The monitor command has a not-yet used protocol argument simliar to...

7ee3bf03 01/24/2011 04:13 pm Gerd Hoffmann

spice: MAINTAINERS update

8d86e2bf 01/24/2011 04:13 pm Marc-André Lureau

vnc/spice: fix "never" and "now" expire_time

b67737a6 01/24/2011 04:13 pm Gerd Hoffmann

spice/qxl: zap spice 0.4 migration compatibility bits

Live migration from and to spice 0.4 qxl devices isn't going to work.
Rip out the bits which attempt to support that. Zap the subsection
logic which is obsolete now. Bumb the version to make a clean cut....

0bfe006c 01/23/2011 11:44 pm Kevin Wolf

multiboot: Fix upper memory size in multiboot info

The upper memory size field should exclude the first MB of RAM.

Signed-off-by: Kevin Wolf <>
Signed-off-by: Aurelien Jarno <>

64b85a8f 01/23/2011 06:21 pm Blue Swirl

Delete useless 'extern' qualifiers for functions

'extern' qualifier is useless for function declarations. Delete
them.

Signed-off-by: Blue Swirl <>

ba76a84d 01/23/2011 01:43 pm Blue Swirl

gdbstub-xml: avoid a warning from sparse

Include a header to get the declaration for xml_builtin. This
avoids a warning from sparse:
CC m68k-softmmu/gdbstub-xml.o
gdbstub-xml.c:244:12: warning: symbol 'xml_builtin' was not declared. Should it be static?...

225d02cd 01/23/2011 05:44 am Edgar E. Iglesias

Avoid deadlock whith iothread and icount

When using the iothread together with icount, make sure the
qemu_icount counter makes forward progress when the vcpu is
idle to avoid deadlocks.

Signed-off-by: Edgar E. Iglesias <>

5d0bb823 01/23/2011 04:52 am Edgar E. Iglesias

microblaze: cleanup helper_addkc

Remove unused addition and rename to helper_carry.

Signed-off-by: Edgar E. Iglesias <>

e0a42ebc 01/22/2011 01:39 pm Edgar E. Iglesias

microblaze: Improve subkc

Move code from the helper into the translator. The remaining
helper parts can reuse helper_addkc, making it possible to
remove helper_subkc entirely.

Signed-off-by: Edgar E. Iglesias <>

7e9e4330 01/22/2011 01:35 pm Edgar E. Iglesias

microblaze: Fix 3rd addkc arg when rd is r0

Signed-off-by: Edgar E. Iglesias <>

40cbf5b7 01/22/2011 01:02 pm Edgar E. Iglesias

microblaze: Improve addkc

  • Optimize handling when carry is not updated.
  • Optimize handling for adds with nop semantics.
  • Move code from helper_addkc to the translator making
    helper_addkc PURE and CONST.

Signed-off-by: Edgar E. Iglesias <>

2accfb5f 01/22/2011 01:00 pm Edgar E. Iglesias

microblaze: Remove debug leftovers.

No functional changes.

Signed-off-by: Edgar E. Iglesias <>

ee8b246f 01/22/2011 12:57 pm Edgar E. Iglesias

microblaze: Reorganize for future patches

No functional changes.

Signed-off-by: Edgar E. Iglesias <>

5823947f 01/22/2011 12:12 am Edgar E. Iglesias

ppc: Correct BookE tlb reads

Call the tlb read helper (and not the write helper) for tlb
reads.

Signed-off-by: Edgar E. Iglesias <>

789f88d0 01/21/2011 07:32 pm Jan Kiszka

checkpatch: Fix bracing false positives on #else

Signed-off-by: Jan Kiszka <>
Signed-off-by: Blue Swirl <>

b947c12c 01/21/2011 06:56 pm Aurelien Jarno

Merge branch 'usb.4' of git://anongit.freedesktop.org/spice/qemu

  • 'usb.4' of git://anongit.freedesktop.org/spice/qemu: (32 commits)
    usb: zap pdev from usbport
    usb: rewrite fw path, fix numbering
    usb: add port property.
    usb: keep track of physical port address....
543c4c94 01/21/2011 06:56 pm Aurelien Jarno

sm501: fix screen redraw

Due to signed/unsigned comparison, the dirty bits are never reset, and
the screen redrawn each time. Fix that by only using ram_addr_t types,
and looking for page_min != addr_max instead.

Signed-off-by: Aurelien Jarno <>

b6469683 01/20/2011 10:58 pm Blue Swirl

checkpatch: adjust to QEMUisms

Change checkpatch.pl for QEMU use:
- Root directory detection
- Forbid tabs
- Indent at 4 spaces
- Allow typedefs
- Enforce brace use even for single statement blocks
- Don't suggest nonexistent cleanup tools

Mention the script in CODING_STYLE....

1ec3f6f9 01/20/2011 10:54 pm Blue Swirl

Add checkpatch.pl from Linux kernel

Unchanged import from
http://www.kernel.org/pub/linux/kernel/people/apw/checkpatch/checkpatch.pl-0.31

Signed-off-by: Blue Swirl <>

4c3b5a48 01/20/2011 10:54 pm Blue Swirl

Add scripts directory

Move build and user scripts into scripts directory.

Signed-off-by: Blue Swirl <>

8e5977e5 01/20/2011 10:40 pm Aurelien Jarno

gt64xxx: set isa_mem_base during registration

isa_mem_base is computed from registers during reset, but due to QEMU
limitations some devices (e.g. VGA card) need to know it earlier when
they are registered.

Workaround this by setting the value during registration instead of...

730986e4 01/20/2011 06:20 pm Peter Maydell

hw/pl190.c: Fix writing of default vector address

The PL190 implementation keeps the default vector address
in vect_addr16, but we weren't using this for writes to
the DEFVECTADDR register. As a result of this fix the
default_addr structure member is unused and we can delete it....

5dbbda34 01/20/2011 05:05 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

d788b570 01/20/2011 04:11 pm Aurelien Jarno

target-ppc: fix wrong NaN tests

Some tests in FPU emulation code were wrongly using float64_is_nan()
before commit 185698715dfb18c82ad2a5dbc169908602d43e81, and wrongly
using float64_is_quiet_nan() after. Fix them by using float64_is_any_nan()
instead.

Reviewed-by: Nathan Froyd <>...

96912e39 01/20/2011 04:11 pm Aurelien Jarno

target-ppc: fix sNaN propagation

The current FPU code returns 0.0 if one of the operand is a
signaling NaN and the VXSNAN exception is disabled.

fload_invalid_op_excp() doesn't return a qNaN in case of a VXSNAN
exception as the operand should be propagated instead of a new...

e10990c3 01/20/2011 03:44 pm Isaku Yamahata

pci: use qemu_malloc() in pcibus_get_dev_path()

use qemu_malloc() instead of direct use of malloc().

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

e407bf13 01/20/2011 03:33 pm Isaku Yamahata

msix: simplify write config

use pci_device_deassert_intx().

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

59369b08 01/20/2011 03:33 pm Isaku Yamahata

msi: simplify write config a bit.

use pci_device_deassert_intx().

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Michael S. Tsirkin <>

4c92325b 01/20/2011 03:33 pm Isaku Yamahata

pci: deassert intx on reset.

deassert intx on device reset.
So far pci_device_reset() is used for system reset.
In that case, interrupt controller is reset at the same time so that
all irq is are deasserted.
But now pci bus reset/flr is supported, and in that case irq needs to be...

cf154394 01/20/2011 01:37 pm Aurelien Jarno

sh_pci: qdev conversion

Signed-off-by: Aurelien Jarno <>

c2dd2a23 01/20/2011 01:37 pm Aurelien Jarno

gt64xxx: qdev conversion

Signed-off-by: Aurelien Jarno <>

ac49d750 01/20/2011 01:37 pm Peter Maydell

pl190: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

a796d0ac 01/20/2011 01:37 pm Peter Maydell

vpb_sic: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

b5ad0ae7 01/20/2011 01:37 pm Peter Maydell

arm_sysctl: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

d6ac172a 01/20/2011 01:37 pm Peter Maydell

pl050: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

0dc5595c 01/20/2011 01:37 pm Peter Maydell

pl031: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

8c60d065 01/20/2011 01:37 pm Peter Maydell

pl110: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

ff175853 01/20/2011 01:37 pm Peter Maydell

pl080: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

3ac59434 01/20/2011 01:37 pm Peter Maydell

stc91c111: Implement save/restore

Signed-off-by: Peter Maydell <>
Signed-off-by: Aurelien Jarno <>

2a3c633c 01/20/2011 01:37 pm Fred Boiteux

add bepo (french dvorak) keyboard layout

I'm using the Qemu program with VNC I/O, and I had some problems with
my keyboard layout, so I've prepared a definition to be included in
Qemu, built from Xorg description.

Signed-off-by: Frédéric Boiteux <>...

f75d216a 01/20/2011 01:37 pm Dmitry Eremin-Solenikov

mainstone: fix name of the allocated memory for roms

Mainstone board has two flash chips (emulated by two ram regions), however
currently code tries to allocate them with the same name, which fails.
Fix that to make mainstone emulation work again.

Signed-off-by: Dmitry Eremin-Solenikov <>...

aa9438d9 01/20/2011 01:37 pm Dmitry Eremin-Solenikov

scoop: fix access to registers from second instance

Second instance of scoop contains registers shifted to 0x40 from the start
of the page. Instead of messing with register mapping, just limit register
address to 0x00..0x3f.

Signed-off-by: Dmitry Eremin-Solenikov <>...

f69866ea 01/20/2011 01:37 pm Dmitry Eremin-Solenikov

pxa2xx: fix vmstate_pxa2xx_i2c

vmstate_pxa2xx_i2c incorrectly recursed to itself instead of going
to store slave device. Fix that stop stop qemu from segfaulting
during savevm for pxa2xx-based devices.

Signed-off-by: Dmitry Eremin-Solenikov <>...

b2bf03a9 01/20/2011 01:37 pm Dmitry Eremin-Solenikov

pxa2xx_lcd: restore updating of display

Recently PXA2xx lcd have stopped to be updated incrementally (picture
frozen). This patch fixes that by passing non min/max x/y, but rather
(correctly) x/y and w/h.

Signed-off-by: Dmitry Eremin-Solenikov <>...

de4af5f7 01/20/2011 01:37 pm Aurelien Jarno

softfloat: fix floatx80_is_{quiet,signaling}_nan()

floatx80_is_{quiet,signaling}_nan() functions are incorrectly detecting
the type of NaN, depending on SNAN_BIT_IS_ONE, one of the two is
returning the correct value, and the other true for any kind of NaN....

373dfc44 01/20/2011 01:37 pm Aurelien Jarno

usb-hid: modifiers should generate an event

When a modifier key is pressed or released, the USB HID keyboard still
answers NAK, unless another key is also pressed or released.

The patch fixes that by calling usb_hid_changed() when a modifier key
is pressed or released....

b7277ac2 01/20/2011 01:37 pm Aurelien Jarno

sh_serial: remove one level of indirection

The indirection functions are empty since commit
8da3ff180974732fc4272cb4433fef85c1822961.

Signed-off-by: Aurelien Jarno <>

b7d2b020 01/20/2011 01:37 pm Aurelien Jarno

sh_serial: process all received characters

When operating on the SCIF, process all the received characters, as long
as the FIFO can handle them.

Signed-off-by: Aurelien Jarno <>

3a34dfd7 01/20/2011 01:16 pm Edgar E. Iglesias

tcg: README, name deposit second argument len/LEN

Signed-off-by: Edgar E. Iglesias <>

c832e3de 01/20/2011 01:16 pm Richard Henderson

target-i386: Use deposit operation.

Use this for assignment to the low byte or low word of a register.

Acked-by: Aurelien Jarno <>
Signed-off-by: Richard Henderson <>
Signed-off-by: Edgar E. Iglesias <>

b7767f0f 01/20/2011 01:16 pm Richard Henderson

tcg: Define "deposit" as an optional operation.

Signed-off-by: Richard Henderson <>
Signed-off-by: Edgar E. Iglesias <>

9f8beb66 01/20/2011 12:18 am Edgar E. Iglesias

microblaze: Add support for load/store reversed

Load/store reversed (lwr/swr) are insns that endian translate
the sub-word part of the address and byteswap the data lanes.

Signed-off-by: Edgar E. Iglesias <>

9ef55357 01/19/2011 11:48 pm Edgar E. Iglesias

microblaze: Tweak comment, fast cases -> common cases

Signed-off-by: Edgar E. Iglesias <>

2991181a 01/19/2011 09:18 pm Michael S. Tsirkin

pci: fix device paths

Patch a6a7005d14b3c32d4864a718fb1cb19c789f58a5 generated
broken device paths. We snprintf with a length shorter
than the output, so the last character is discarded and replaced
by the null byte. Fix it up by snprintf to a buffer
which is larger by 1 byte and then memcpy the data (without...

1b5f56b1 01/18/2011 11:34 pm Blue Swirl

sparc: fix NaN handling

Fix several bugs in NaN handling: * e in fcmpe* only changes qNaN handling * FCC is unchanged if an exception is raised * clear previous FTT before setting it

Reported-by: Mateusz Loskot <>
Signed-off-by: Blue Swirl <>

5642463a 01/18/2011 04:23 pm Peter Maydell

target-arm: Log instruction start in TCG code

Add support for logging the start of instructions in TCG
code debug dumps for ARM targets.

Signed-off-by: Peter Maydell <>
Signed-off-by: Edgar E. Iglesias <>

55807224 01/18/2011 01:32 pm Edgar E. Iglesias

mips: Break TBs after mfc0_count

Break the TB after reading the count register. This makes it
possible to take timer interrupts immediately after a read of
a possibly expired timer.

Signed-off-by: Edgar E. Iglesias <>

e027e1f0 01/18/2011 01:28 pm Edgar E. Iglesias

mips: Expire late timers when reading cp0_count

When reading cp0_count from a timer with a late trigger that should
already have expired, expire it and raise the timer irq.

This makes it possible for guest code (e.g, Linux) that first read
cp0_count, then compare it with cp0_compare and check for raised...

b1dfe643 01/18/2011 01:27 pm Edgar E. Iglesias

mips: Break out cpu_mips_timer_expire

Reorganize for future patches, no functional change.

Acked-by: Aurelien Jarno <>
Signed-off-by: Edgar E. Iglesias <>

4a6648f4 01/17/2011 10:26 pm Blue Swirl

Replace 'extern inline' with 'static inline'

Acked-by: Edgar E. Iglesias <>
Signed-off-by: Blue Swirl <>

29718712 01/17/2011 10:23 pm Stefan Weil

bsd-user: Fix possible memory leaks and wrong realloc call

These errors were reported by cppcheck:

[bsd-user/elfload.c:1108]: (error) Common realloc mistake: "syms" nulled but not freed upon failure
[bsd-user/elfload.c:1076]: (error) Memory leak: s
[bsd-user/elfload.c:1079]: (error) Memory leak: syms...

07d8a50c 01/17/2011 08:29 pm Aurelien Jarno

sm501: add 2D engine copyrect support

Linux kernel started to use the SM501 2D engine for the console, and
especially the copyrect operation.

Implement this operation so that recent kernels can be used with QEMU.

Signed-off-by: Aurelien Jarno <>

dc912121 01/17/2011 06:22 pm Alex Williamson

savevm: Fix no_migrate

The no_migrate save state flag is currently only checked in the
last phase of migration. This means that we potentially waste
a lot of time and bandwidth with the live state handlers before
we ever check the no_migrate flags. The error message printed...

9e8a69cf 01/17/2011 05:49 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

668643b0 01/17/2011 05:30 pm Marcelo Tosatti

acpi_piix4: expose no_hotplug attribute via i/o port

Expose no_hotplug attribute via I/O port, so ACPI BIOS can indicate
removability status to guest OS.

An updated seabios is required to make use of this feature (seabios.git
commit ID 3c241edf3d7ef29c21)....

9c046d96 01/17/2011 05:29 pm Marcelo Tosatti

document QEMU<->ACPIBIOS PCI hotplug interface

Document how QEMU communicates with ACPI BIOS for PCI hotplug.

Signed-off-by: Marcelo Tosatti <>
Signed-off-by: Michael S. Tsirkin <>

51f9b84e 01/16/2011 11:15 pm Hervé Poussineau

m48t59: Fix a wrong opaque passed to nvram read and write routines

This fixes boot on PPC prep.

Signed-off-by: Hervé Poussineau <>
Signed-off-by: Aurelien Jarno <>

e2af15b2 01/16/2011 09:56 pm Fabien Chouteau

gdbstub: Close connection in gdb_exit

On Windows, this is required to flush the remaining data in the IO stream,
otherwise Gdb do not receive the last packet.

Version 2:
Fix linux-user build error.

Signed-off-by: Fabien Chouteau <>...

a8fb7ff3 01/16/2011 08:52 pm Michael Tokarev

USB keyboard emulation key mapping error

The USB keyboard emulation's translation table in hw/usb-hid.c doesn't
match the codes actually sent for the Logo (a.k.a. "Windows") or Menu
keys. This results in the guest OS not being able to receive these keys
at all when the USB keyboard emulation is being used....

2411fde9 01/16/2011 02:19 pm Aurelien Jarno

target-sh4: use rotl/rotr when possible

Signed-off-by: Aurelien Jarno <>

b2d9eda5 01/16/2011 02:19 pm Aurelien Jarno

target-sh4: implement negc using TCG

Using setcond it's now possible to generate a relatively short negc
instruction in TCG.

Signed-off-by: Aurelien Jarno <>

4cd31ad2 01/16/2011 10:32 am Blue Swirl

tcg/sparc64: fix segfault

With current OpenBSD, code_gen_buffer was mapped 8GB away from
text segment. Then any helpers were beyond the 2GB range of call
instruction genereated by TCG and so the calls would go nowhere,
leading to a segfault.

Fix by specifying an address for the code_gen_buffer,...

0c16e71e 01/15/2011 02:50 pm Aurelien Jarno

target-sh4: correct use of ! and &

Fix wrong usage of ! and & in MMU related functions. Thanks to Blue
Swirl for reporting the issue.

Reported-by: Blue Swirl <>
Signed-off-by: Aurelien Jarno <>

2d5b5074 01/15/2011 10:31 am Blue Swirl

monitor: fix a typo

Fix usage of wrong variable, spotted by clang:
/src/qemu/monitor.c:2278:36: warning: The left operand of '&' is a garbage value
prot = pde & (PG_USER_MASK | PG_RW_MASK |

Signed-off-by: Blue Swirl <>

0601740a 01/15/2011 12:00 am Stefan Weil

make_device_config: Fix non-fatal error message with dash and other shells

ORS=" " adds a blank to the name of the include file.
Some shells (e.g. dash) don't accept input redirection
(tr -d '\r' < $f) when $f ends with a blank, so they
print an error message instead of reading pci.mak....

5df8bac1 01/14/2011 09:39 pm Peter Maydell

target-arm: Translate with VFP-enabled from TB flags, not CPUState

When translating code, whether the VFP unit is enabled for this TB
is stored in a bit in the TB flags. Use this rather than incorrectly
reading the FPEXC from the CPUState passed to translation....

69d1fc22 01/14/2011 09:39 pm Peter Maydell

target-arm: Translate with VFP len/stride from TB flags, not CPUState

When translating, the VFP vector length and stride for this TB are encoded
in the TB flags; the CPUState copies may be different and must not be used.

Signed-off-by: Peter Maydell <>...

7204ab88 01/14/2011 09:39 pm Peter Maydell

target-arm: Translate with Thumb state from TB flags, not CPUState

The Thumb/ARM state for the TB being translated should come from
the TB flags, not the CPUState.

Signed-off-by: Peter Maydell <>
Reviewed-by: Aurelien Jarno <>...

98eac7ca 01/14/2011 09:39 pm Peter Maydell

target-arm: Translate with condexec bits from TB flags, not CPUState

When translating, the condexec bits for the TB are in the TB flags;
the CPUState condexec bits may be different.

This patch fixes https://bugs.launchpad.net/bugs/604872 where we might
segfault if we took an exception in the middle of a TB with an IT...

05ed9a99 01/14/2011 09:39 pm Peter Maydell

target-arm: Set privileged bit in TB flags correctly for M profile

M profile ARM cores don't have a CPSR mode field. Set the bit in the
TB flags that indicates non-user mode correctly for these cores.

Signed-off-by: Peter Maydell <>...

61f74d6a 01/14/2011 09:39 pm Peter Maydell

target-arm: Translate with user-state from TB flags, not CPUState

When translating, get the user/priv state from the TB flags, not
the CPUState.

Signed-off-by: Peter Maydell <>
Reviewed-by: Aurelien Jarno <>
Signed-off-by: Aurelien Jarno <>

5de3a9d3 01/14/2011 09:39 pm Peter Maydell

target-arm: Remove redundant setting of IT bits before Thumb SWI

Remove a redundant call to gen_set_condexec() in the translation of Thumb
mode SWI. (SWI and WFI generate "exceptions" which happen after the
execution of the instruction, ie when PC and IT bits have updated....

bc4a0de0 01/14/2011 09:39 pm Peter Maydell

target-arm: Refactor translation of exception generating instructions

Create a new function which does the common sequence of gen_set_condexec,
gen_set_pc_im, gen_exception, set is_jmp to DISAS_JUMP.

Signed-off-by: Peter Maydell <>...

964413d9 01/14/2011 09:39 pm Peter Maydell

linux-user: ARM: clear the IT bits when invoking a signal handler

When invoking a signal handler for an ARM target, make sure the IT
bits in the CPSR are cleared. (This would otherwise cause incorrect
execution if the IT state was non-zero when an exception occured....

e12ce78d 01/14/2011 09:39 pm Peter Maydell

target-arm: Restore IT bits when resuming after an exception

We were not correctly restoring the IT bits when resuming execution
after taking an unexpected exception in the middle of an IT block.
Fix this by tracking them along with PC changes and restoring in...

afcacd53 01/14/2011 09:39 pm Aurelien Jarno

MAINTAINERS: fix typos

Signed-off-by: Aurelien Jarno <>

ddb13561 01/14/2011 09:39 pm Aurelien Jarno

MAINTAINERS: Change MIPS and SH4 maintainers

Since nobody else seems interested in maintaining MIPS and SH4 targets,
and as I have done most of the recent code changes, let officialize
that.

Signed-off-by: Aurelien Jarno <>

42f5a7e9 01/14/2011 09:39 pm Aurelien Jarno

MAINTAINERS: add entries for TCG

The MAINTAINERS file was lacking entries concerning the TCG code, add
them based on the git history.

For the common TCG code, is probably better to keep
as this code can break easily, so it's better to get it reviewed by a few...

3bd4be3a 01/14/2011 09:39 pm Aurelien Jarno

lsi53c895a: fix endianness issues

lsi_ram_read*() and lsi_ram_write*() are not consistent, one uses
leXX_to_cpu() the other uses nothing. As the comment above the RAM
declaration says: "Script ram is stored as 32-bit words in host
byteorder.", remove the leXX_to_cpu() calls....

6f3300ad 01/14/2011 09:39 pm Peter Maydell

softfloat: Add float32_is_zero_or_denormal() function

Add a utility function to softfloat to test whether a float32
is zero or denormal.

Signed-off-by: Peter Maydell <>
Reviewed-by: Aurelien Jarno <>
Signed-off-by: Aurelien Jarno <>

9ea62f57 01/14/2011 09:39 pm Peter Maydell

target-arm: Fix implementation of VRSQRTS

The implementation of the ARM VRSQRTS instruction (which calculates
(3 - op1 * op2) / 2) was missing the division operation. It also
did not handle the special cases of (0,inf) and (inf,0).

Signed-off-by: Peter Maydell <>...

3a492f3a 01/14/2011 09:39 pm Peter Maydell

target-arm: Add support for 'Standard FPSCR Value' as used by Neon

Add support to the ARM helper routines for a second fp_status value
which should be used for operations which the ARM ARM indicates use
"ARM standard floating-point arithmetic" rather than being controlled...

71826966 01/14/2011 09:39 pm Peter Maydell

target-arm: Use the standard FPSCR value for VRSQRTS

VSQRTS always uses the standard FPSCR value as it is a Neon instruction.

Signed-off-by: Peter Maydell <>
Reviewed-by: Aurelien Jarno <>
Signed-off-by: Aurelien Jarno <>

39ea3d4e 01/14/2011 09:39 pm Peter Maydell

target-arm: Don't generate code specific to current CPU mode for SRS

When translating the SRS instruction, handle the "store registers
to stack of current mode" case in the helper function rather than
inline. This means the generated code does not make assumptions...

a1705768 01/14/2011 09:39 pm Peter Maydell

target-arm: Add symbolic constants for bitfields in TB flags

Add symbolic constants for the bitfields we use in the TB flags.

Signed-off-by: Peter Maydell <>
Reviewed-by: Aurelien Jarno <>
Signed-off-by: Aurelien Jarno <>