Statistics
| Branch: | Revision:

root @ 076d2471

# Date Author Comment
076d2471 01/08/2010 05:58 pm Paolo Bonzini

Use vpath directive

The vpath directive has two advantages over the VPATH variable:
1) it allows to skip searching of .o files; 2) the default semantics
are to append to the vpath, so there is no confusion between "VPATH=xyz"
and "VPATH+=xyz".

Since "vpath %.c %.h PATH" is not valid, I'm introducing a wrapper...

e726fe7d 01/08/2010 10:26 am malc

oss: workaround for cases when OSS_GETVERSION is not defined

Thanks to Juergen Lock.

Signed-off-by: malc <>

95372a39 01/07/2010 10:02 pm Blue Swirl

Sparc32: clear exception_index with -1 value

See also 821b19fe923ac49a24cdb4af902584fdd019cee6.

Spotted by Artyom Tarasenko and Igor Kovalenko.

Signed-off-by: Blue Swirl <>

0e8c9214 01/07/2010 08:08 pm Andreas Färber

Drop --whole-archive and static libraries

Juan has contributed a cool Makefile infrastructure that enables us to drop
static libraries completely:

Move shared obj-y definitions to Makefile.objs, prefixed {common-,hw-,user-},
and link those object files directly into the executables....

18cb1d85 01/07/2010 03:55 pm Anthony Liguori

vnc: Fix artifacts in hextile decoding

02c2b87 introduced a regression whereas the foreground color in a hextile
update was not being properly invalidated leading to artifacts.

It's still necessary to explicitly invalidate the foreground color with a
SubrectColoured tile even though we no longer send a foreground color as...

41ea49b3 01/07/2010 09:57 am Andreas Färber

Cocoa: Shutdown when window is closed

The application is not very useful once the guest window is closed.
QEMU is not a document-based application; terminating it automatically
saves the user another action and resembles SDL behavior.

v2:
- Use delegate method, suggested by Juha Riihimäki....

12381085 01/07/2010 09:57 am Andreas Färber

Cocoa: Suppress window resize animation

Disable the nice resize animation, to avoid drawing glitches
following a guest's screen size change.

Based on patch by Juha Riihimäki.

Signed-off-by: Andreas Färber <>
Cc: Juha Riihimäki <>...

561ef251 01/07/2010 09:57 am Andreas Färber

Cocoa: Use optimized drawing for the window

Default is NO.

Signed-off-by: Andreas Färber <>
Signed-off-by: malc <>

fd10a04e 01/07/2010 09:57 am Andreas Färber

Cocoa: Silence type warning

Add const for "qemu" character literal, to avoid:

warning: initialization discards qualifiers from pointer target type

An earlier patch by John proposed to use char5. Since we do not modify
the text and later copy it into malloc'ed memory, marking it as const...

38ec7b53 01/07/2010 09:57 am Andreas Färber

Cocoa: Fix compilation on Mac OS X v10.4 and earlier

NSView's enterFullScreenMode:withOptions: and
exitFullScreenModeWithOptions: are available on v10.5
and later only. Undefined methods raise warnings and
undefined constants result in errors.

Reported by Ryan Schmidt....

d50f71dc 01/07/2010 09:57 am Andreas Färber

Cocoa: Mark the View as opaque

Default is NO.

Cf. http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CustomViews.html

Based on patch by Juha Riihimäki.

Signed-off-by: Andreas Färber <>...

17ccbc27 01/07/2010 09:57 am Andreas Färber

Cocoa: Redraw the View asynchronously

Cf. http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaPerformance/Articles/CustomViews.html

Based on patch by Juha Riihimäki.

Signed-off-by: Andreas Färber <>
Cc: Juha Riihimäki <>...

f4918804 01/07/2010 09:57 am Andreas Färber

Cocoa: Don't unconditionally show the window

When QEMU was launched in no-graphic, Curses or VNC mode,
don't run it as a Cocoa application.

Based on patch by Alexander Graf.

v1:
- Avoid type mismatch warning for argv
- Drop noCocoa variable
- Coding Style changes...

44e4c0ba 01/07/2010 09:57 am Andreas Färber

Cocoa: ppc64 host support

Fix integer usage in the Cocoa backend: NSInteger is long on LP64.

http://developer.apple.com/mac/library/documentation/Cocoa/Reference/ApplicationKit/Classes/NSView_Class/Reference/NSView.html#//apple_ref/doc/uid/20000014-BBCFHHCD...

77047bb7 01/07/2010 09:57 am Andreas Färber

Cocoa: Silence warning for cocoa_keycode_to_qemu

Make cocoa_keycode_to_qemu static, to avoid:

warning: no previous prototype for ‘cocoa_keycode_to_qemu’

Signed-off-by: Andreas Färber <>
Cc: John Arbuckle <>...

04afa4a8 01/07/2010 09:57 am Andreas Färber

Cocoa: Silence warning on Big Endian host

LITTLE_ENDIAN is undefined on Big Endian host.

Signed-off-by: Andreas Färber <>
Cc: John Arbuckle <>
Signed-off-by: malc <>

821b19fe 01/06/2010 07:35 pm Igor V. Kovalenko

sparc64: clear exception_index with -1 value

Signed-off-by: Igor V. Kovalenko <>
Signed-off-by: Blue Swirl <>

ea3fdd5d 01/06/2010 03:16 pm Anthony Liguori

Merge remote branch 'mst/for_anthony' into staging

dffbe217 01/03/2010 02:19 pm Igor V. Kovalenko

pass env to raise_exception if called outside of op_helper code

- this fixes stepping with gdb, where do_unassigned_access
may be called from gdb handler, outside of generated code

Signed-off-by: Igor V. Kovalenko <>
Signed-off-by: Blue Swirl <>

87f6d3f6 01/03/2010 02:16 pm Igor V. Kovalenko

sparc64: switch to MMU global registers in more MMU related traps

- extended range of MMU related traps which use MMU global registers,
as listed in Ultrasparc-IIi document
- no visible changes, since emulation do not cause added traps

Signed-off-by: Igor V. Kovalenko <>...

99596385 01/03/2010 04:14 am Aurelien Jarno

target-i386: Fix "call im" on x86_64 when executing 32-bit code

Similarly to what is done in 32938e127f50a40844a0fb9c5abb8691aeeccf7e
for "jmp im", trunc the immediate to 32-bit when not running in 64-bit
mode.

Reported-by: Kevin O'Connor <>...

3e372cf8 01/03/2010 04:14 am Aurelien Jarno

loader: don't call realloc(non_null, 0) when no symbols are present

According to C99, realloc(non_null, 0) != free(non_null), that's why
it is forbidden in QEMU.

When there are no symbols, nsyms equals to 0. Free the syms structure
and set it to NULL instead of reallocating it with a size of 0....

b430a225 12/30/2009 02:27 pm Blue Swirl

Sparc64: split DPRINTF into CPUIRQ and EBUS versions

Signed-off-by: Blue Swirl <>

302698e8 12/30/2009 02:26 pm Blue Swirl

Sparc64: fix compile with DEBUG_IRQ enabled

Signed-off-by: Blue Swirl <>

3caf2562 12/30/2009 03:26 am malc

sdl: print the reason why SDL thinks SDL_Init failed before exiting

Signed-off-by: malc <>

19e65b47 12/28/2009 04:22 pm Michael Tokarev

Add missing newline at the end of options list

In qemu-kvm this place looks even more "interesting":

-runas user     Change to user id user just before starting the VM.
-readconfig &lt;file&gt;
-writeconfig &lt;file&gt;
read/write config file-no-kvm disable KVM hardware virtualization...
60f67a9c 12/28/2009 01:37 pm Blue Swirl

Update Sparc64 OpenBIOS image to r649.

Signed-off-by: Blue Swirl <>

f6b6f1bc 12/27/2009 10:52 pm Blue Swirl

Sparc64: move APB PCI memory base to correct location

Signed-off-by: Blue Swirl <>

cf616802 12/27/2009 10:52 pm Blue Swirl

PCI: Fix bus address conversion

Pass physical addresses to map functions instead of PCI bus addresses.

Signed-off-by: Blue Swirl <>

6bb4ca57 12/27/2009 08:25 pm Blue Swirl

sparc: make command line available also via firmware configuration device

Signed-off-by: Blue Swirl <>

ff44c2f3 12/27/2009 11:09 am Richard Henderson

tcg: Add tcg_unsigned_cond.

Returns an unsigned version of a signed condition;
returns the original condition otherwise.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

ecbe1576 12/25/2009 09:27 pm Blue Swirl

block/bochs: improve format checking

Signed-off-by: Blue Swirl <>

114cdfa9 12/25/2009 08:19 pm Kirill A. Shutemov

block.c: fix warning with _FORTIFY_SOURCE

CC    block.o
cc1: warnings being treated as errors
block.c: In function 'bdrv_open2':
block.c:400: error: ignoring return value of 'realpath', declared with attribute warn_unused_result

Signed-off-by: Kirill A. Shutemov <>...

00ccf932 12/25/2009 08:19 pm Kirill A. Shutemov

block/bochs.c: fix warning with _FORTIFY_SOURCE

CC    block/bochs.o
cc1: warnings being treated as errors
block/bochs.c: In function 'seek_to_sector':
block/bochs.c:202: error: ignoring return value of 'read', declared with attribute warn_unused_result...
5fdb3aa1 12/25/2009 08:19 pm Kirill A. Shutemov

savevm.c: fix warning with _FORTIFY_SOURCE

CC    savevm.o
cc1: warnings being treated as errors
savevm.c: In function 'file_put_buffer':
savevm.c:342: error: ignoring return value of 'fwrite', declared with attribute warn_unused_result
make: *** [savevm.o] Error 1...
f0d98b05 12/25/2009 08:19 pm Kirill A. Shutemov

slirp/misc.c: fix warning with _FORTIFY_SOURCE

CC    slirp/misc.o
cc1: warnings being treated as errors
slirp/misc.c: In function 'fork_exec':
slirp/misc.c:209: error: ignoring return value of 'write', declared with attribute warn_unused_result
make: *** [slirp/misc.o] Error 1...
5a41ecc5 12/25/2009 08:19 pm Kirill A. Shutemov

hw/pc.c: fix warnings with _FORTIFY_SOURCE

CC    i386-softmmu/pc.o
cc1: warnings being treated as errors
/usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c: In function 'load_multiboot':
/usr/src/RPM/BUILD/qemu-0.11.92/hw/pc.c:614: error: ignoring return value of 'fread', declared with attribute warn_unused_result...
34ba360f 12/25/2009 08:19 pm Kirill A. Shutemov

path.c fix warning with _FORTIFY_SOURCE

CC    libuser/path.o
cc1: warnings being treated as errors
/usr/src/RPM/BUILD/qemu-0.11.92/path.c: In function 'new_entry':
/usr/src/RPM/BUILD/qemu-0.11.92/path.c:49: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result...
c71b5b4a 12/25/2009 08:18 pm Blue Swirl

PCI: partially revert 2e01c8cf4b076b05013c87723e3fc710b50a0a7a

Bus address conversion was not correct.

Signed-off-by: Blue Swirl <>

2e01c8cf 12/25/2009 06:50 pm Blue Swirl

PCI: make pci_mem_base private

Make pci_mem_base private to PCIBus. Add a function to set it.

Signed-off-by: Blue Swirl <>

2fe0ee97 12/25/2009 06:12 pm Blue Swirl

Fix Sparse error: dubious one-bit signed bitfield

Signed-off-by: Blue Swirl <>

f6dc18df 12/25/2009 06:12 pm Blue Swirl

Fix Sparse warning: dubious: !x & y

Signed-off-by: Blue Swirl <>

545557d4 12/25/2009 06:11 pm Blue Swirl

scsi: fix Sparse warning: Initializer entry defined twice

Both REWIND and REZERO_UNIT use 0x01, READ_POSITION and PRE_FETCH
share 0x34.

Signed-off-by: Blue Swirl <>

ad674e53 12/24/2009 08:40 pm Aurelien Jarno

MAC DBDMA: store register values in native endianness

Store the register values in native endianness, by dropping all the
endianness conversion functions, and converting the endianness in
dbdma_readl/dbdma_writel instead.

Also guard the endianness conversion with TARGET_WORDS_BIGENDIAN to...

c84bd4f1 12/24/2009 08:39 pm Gleb Natapov

Intel CPUs starting from pentium have apic

Intel CPUs starting from pentium have apic. Lets advertise it.

Signed-off-by: Gleb Natapov <>
Signed-off-by: Aurelien Jarno <>

f21a59c2 12/24/2009 08:30 pm Aurelien Jarno

loader: more ignores for rom intended to be loaded by the bios

Similarly to what has been done in e405a2ba91b68817cae2a428de55fe9616a4cf37,
ignore rom intended to be loaded by the bios in find_rom() and rom_copy().

Signed-off-by: Aurelien Jarno <>

e405a2ba 12/24/2009 09:33 am Avi Kivity

Don't load options roms intended to be loaded by the bios in qemu

The first such option rom will load at address 0, which isn't very nice,
and the second will report a conflict and abort, which is horrible.

Signed-off-by: Avi Kivity <>
Signed-off-by: Aurelien Jarno <>

502e64fe 12/24/2009 01:18 am Aurelien Jarno

target-arm: fix strexd

Signed-off-by: Aurelien Jarno <>

f7001a3b 12/24/2009 01:17 am Aurelien Jarno

linux-user: fix build with gcc-4.1

Signed-off-by: Aurelien Jarno <>

58e3e400 12/24/2009 12:47 am Juan Quintela

linuxboot.bin is a generated file

Signed-off-by: Juan Quintela <>
Signed-off-by: Aurelien Jarno <>

22ff51ee 12/23/2009 05:45 pm Blue Swirl

qemu-nbd: fix OpenBSD linker warning

Signed-off-by: Blue Swirl <>

2758aa52 12/23/2009 05:40 pm Michael S. Tsirkin

e1000: add link to data sheet

Link to data sheet at intel.com so people can find it.

Signed-off-by: Michael S. Tsirkin <>
Signed-off-by: Blue Swirl <>

6474bd69 12/23/2009 05:35 pm Blue Swirl

qemu-io: suppress a warning with gcc 4.0.2

Signed-off-by: Blue Swirl <>

2bff4b6f 12/23/2009 05:34 pm Blue Swirl

Compile qemu-nbd also on OpenBSD and Solaris

basename() needs #include <libgen.h>.

No prototype for daemon() is available on Solaris, but link
succeeds.

Signed-off-by: Blue Swirl <>

4da5fcd3 12/23/2009 04:35 pm Isaku Yamahata

piix_pci: use range helper function

use range helper function in i440fx_write_config().

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

56594fe3 12/23/2009 04:35 pm Isaku Yamahata

piix_pci: add link to i440fx data sheet.

add link to i440fx data sheet.

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

1cd9656f 12/23/2009 04:35 pm Michael S. Tsirkin

list MST as pci layer maintainer

List MST as PCI maintainer so that people know
whom to Cc on patches.

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

e6c4cfd5 12/23/2009 04:35 pm Michael S. Tsirkin

ne2000: switch to symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

0b5b3547 12/23/2009 04:35 pm Michael S. Tsirkin

rtl: switch to symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

97526229 12/23/2009 04:35 pm Michael S. Tsirkin

pcnet: switch to symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

d577679e 12/23/2009 04:35 pm Michael S. Tsirkin

pci: add more status bits

will be used by eepro100.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

508cc6b4 12/23/2009 04:35 pm Michael S. Tsirkin

eepro100: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change in meaningful ways.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

1e68f8c4 12/23/2009 04:35 pm Michael S. Tsirkin

piix: symbolic constants

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

409570a7 12/23/2009 04:35 pm Michael S. Tsirkin

cmd646: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

3fa0f955 12/23/2009 04:35 pm Michael S. Tsirkin

vmware_vga: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

5845f0e5 12/23/2009 04:35 pm Michael S. Tsirkin

lsi: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

5d89715b 12/23/2009 04:35 pm Michael S. Tsirkin

pci: add another devsel macro

will be used by ensoniq emulation

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

d3e2f135 12/23/2009 04:35 pm Michael S. Tsirkin

es1370: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

fcce95e2 12/23/2009 04:35 pm Michael S. Tsirkin

wdt_i6300esb: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

4468fb63 12/23/2009 04:35 pm Michael S. Tsirkin

ac97: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

db579e9e 12/23/2009 04:35 pm Michael S. Tsirkin

usb-uhci: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

d74dbb94 12/23/2009 04:35 pm Michael S. Tsirkin

usb-ohci: symbolic names for pci registers

No functional changes. I verified that the generated binary
does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

b81ebc69 12/23/2009 04:35 pm Michael S. Tsirkin

pci: remove unused macro

PCI_STATUS_DEVSEL is unused, and it also
has a different name in pci_regs.h
Remove.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

b8ba4176 12/23/2009 04:35 pm Isaku Yamahata

pci: remove PCIBus::config_reg.

PCIBus::config_reg isn't used anymore, so remove it.

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

3d09c490 12/23/2009 04:35 pm Isaku Yamahata

pci: s/PCI_SUBVENDOR_ID/PCI_SUBSYSTEM_VENDOR_ID/g

To match Linux PCI register definition,
rename PCI_SUBVENDOR_ID to PCI_SUBSYSTEM_VENDOR_ID.

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

cb67beb1 12/23/2009 04:35 pm Isaku Yamahata

pci: import Linux pci_regs.h

Import Linux pci_regs.h. Later PCI register definitions in pci.h
will be eliminated.

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

fb58a897 12/23/2009 04:35 pm Isaku Yamahata

pci: use pci_regs.h

include pci_regs.h and remove duplicated defines.
And remove unused PCI_REVISION and PCI_SUBDEVICE_ID.

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

e0fe0204 12/23/2009 04:35 pm Isaku Yamahata

gt64xxx: remove gt64120_{read, write}_config().

They call only pci_default_{read, write}_config().
So they aren't necessary.

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

a40e3411 12/23/2009 04:35 pm Isaku Yamahata

acpi: use range helper function.

use range helper function in pm_write_config().

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

98a3cb02 12/23/2009 04:35 pm Isaku Yamahata

msix: use range helper function.

use range helper function in msix_write_config().

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

f2c688bb 12/23/2009 04:35 pm Isaku Yamahata

piix_pci: define symbolic value for PAM0, PAM6 and SMRAM.

Define symbolic value in i440fx configuration space
for 0x59, 0x5f and 0x7f and use them.

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

a9cbacb0 12/23/2009 04:34 pm Michael S. Tsirkin

e1000: switch to symbolic names for pci registers

No functional changes. I verified that the generated
object binary does not change.

Signed-off-by: Michael S. Tsirkin <>
Acked-by: Juan Quintela <>
Acked-by: Glauber Costa <>

a7b15a5c 12/23/2009 04:33 pm Michael S. Tsirkin

Revert "Revert "pci: interrupt disable bit support""

This reverts commit d587e0787153f0224a6140c5015609963ceaabfb.

59d1c1c2 12/23/2009 08:25 am Scott Tsai

USB: Improve usbdevice error messages

When an non-existent USB device is specified on the command line,
print "qemu: could not add USB device 'X'".
Likewise for the usb_{add,del} monitor commands.

Signed-off-by: Scott Tsai <>
Signed-off-by: Aurelien Jarno <>

2edd07ef 12/23/2009 08:13 am Richard Henderson

target-alpha: Initialize fpcr

Linux, at least, disables exceptions by default.

Signed-off-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

56f4927e 12/21/2009 10:52 pm Richard Henderson

tcg-sparc: Implement brcond2.

Split out tcg_out_cmp and properly handle immediate arguments.
Fix constraints on brcond to match what SUBCC accepts.
Add tcg_out_brcond2_i32 for 32-bit host.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

a212ea75 12/21/2009 10:52 pm Richard Henderson

tcg-sparc: Use TCG_TARGET_REG_BITS in conditional compilation.

The test TCG_TARGET_REG_BITS==64 is exactly the feature that we
are checking for, whereas something involving sparc_v9 or
sparc_v8plus should be reserved for something ISA related,
as with SMULX....

43172207 12/21/2009 10:52 pm Richard Henderson

tcg-sparc: Improve tcg_out_movi for sparc64.

Generate sign-extended 32-bit constants with SETHI+XOR.
Otherwise tidy the routine to avoid the need for
conditional compilation and code duplication with movi_imm32.

Signed-off-by: Richard Henderson <>...

4a09aa89 12/21/2009 10:49 pm Richard Henderson

tcg-sparc: Fix imm13 check in movi.

We were unnecessarily restricting imm13 constants to 12 bits.

Signed-off-by: Richard Henderson <>
Signed-off-by: Blue Swirl <>

21a88941 12/21/2009 10:19 pm Paul Brook

ARM PBX-A9 memory map tweaks

Add core tile memeory to the RealView PBX-A9 board. Document the
memeory maps that are known to work with the qemu bootloader.

Signed-off-by: Paul Brook <>

209bf965 12/21/2009 05:06 pm Paul Brook

LAN9118 improvements

Implement LAN9118 general purpose timer and PHY interrupts. Fix global
interrupt status bit.

Signed-off-by: Paul Brook <>

73b01960 12/21/2009 05:03 pm Alexander Graf

PPC: Make DCR uint32_t

For what I know DCR is always 32 bits wide, so we should also use uint32_t to
pass it along the stacks.

This fixes a warning when compiling qemu-system-ppc64 with KVM enabled, making
it compile without --disable-werror

Signed-off-by: Alexander Graf <>...

b711de95 12/21/2009 02:52 pm Aurelien Jarno

PPC64: Fix alternate timebase

Fix the alternate time base the same way as the default timebase. SPR_ATBL
should return a 64-bit value on 64 bit implementations.

Signed-off-by: Aurelien Jarno <>

e3ea6529 12/21/2009 02:42 pm Alexander Graf

PPC64: Fix timebase

On PPC we have a 64-bit time base. Usually (PPC32) this is accessed using
two separate 32 bit SPR accesses to SPR_TBU and SPR_TBL.

On PPC64 the SPR_TBL register acts as 64 bit though, so we get the full
64 bits as return value. If we only take the lower ones, fine. But Linux...

c4b3be39 12/21/2009 12:29 pm Richard Henderson

target-alpha: Emit tcg debug_insn_start.

Signed-off-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

a3b3912a 12/21/2009 12:29 pm Richard Henderson

linux-user: Add aliases for some Alpha syscalls

Alpha always used 32-bit uids, but never renamed the syscalls
to match i386 when 32-bit uids were added there. This enables
the proper bits in syscall.c.

Signed-off-by: Richard Henderson <>...

4f7836b7 12/21/2009 12:10 pm Aurelien Jarno

Update OpenBIOS PPC image to revision 647

Signed-off-by: Aurelien Jarno <>

46214a27 12/21/2009 11:04 am Andreas Färber

ppc64: Change default machine to mac99

Also change the New World default CPU to 970FX for ppc64,
since the G4 is a 32-bit CPU.

Signed-off-by: Andreas Färber <>
Acked-by: Alexander Graf <>
Signed-off-by: Aurelien Jarno <>

9706c06d 12/20/2009 10:18 pm Aurelien Jarno

cpu-all.h: fix cpu_get_real_ticks() #ifdef

Reported-by: Hervé Poussineau <>

Signed-off-by: Aurelien Jarno <>

935effc2 12/19/2009 10:49 pm Kevin Wolf

Multiboot support: Fix rom_copy

ROMs need to be loaded if they are anywhere in the requested area, not
only at the very beginning. This fixes Multiboot with ELF kernels that
have more than one program header.

Signed-off-by: Kevin Wolf <>...