Disable >4G ram support on 32-bit targets
If the target only has a 32-bit physical address space thenthe code to map >4G ram breaks horribly, and causes compiler warnings.
Signed-off-by: Paul Brook <paul@codesourcery.com>
Remove obsolete BIOS_SIZE from sysemu.h
BIOS_SIZE is no longer needed by vl.c, so there's no point having it insysemu.h.
cris: First shot at qdev for CRIS interrupts.
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
etrax: Don't keep the passed irq pointer.
Copy passed irq object at channel connect.
etrax: Remove unused eth irq line.
The ethernet blocks irq line to report errors is unimplemented in QEMU.Remove it for now.
Syborg virtio bindings.
Implement Syborg device bindings for virtio-net.
Separate virtio PCI code
Split the PCI host bindings from the VRing transport implementation.
Consistently use uint64_t for int properties
I apparently failed to do this properly on the first attempt.
ETRAX-PIC: Untabify.
ETRAX-TIMER: qdevify.
ETRAX-TIMER: Untabify.
ETRAX-SER: Untabify.
ETRAX-SER: qdevify.
ETRAX: Simplify PIC interface.
Instead of exporting a custom structure to represent differentinterrupt types, just export the irq array and have the topelements point to the NMI lines.
ETRAX: Correct passing of kernel command line.
Syborg (Symbian Virtual Platform) board
A virtual reference platform for SymbianOS development/debugging.
Stellaris I2C qdev conversion
SSP bus framework
Stellaris SSI qdev conversion
PXA SSI qdev conversion
PL080 qdev conversion
Virtio-blk qdev conversion
Virtio-balloon qdev conversion
Virtio-console conversion
ARM PCI host qdev conversion
ARM GIC qdev conversion
MusicPal qdev conversion
I2C qdev support
SSD0303 qdev conversion
MAX7310 I2C qdev conversion
LM832x qdev conversion
PXA2xx I2C slave qdev conversion
TMP105 qdev conversion
WM8750 qdev coversion
TWL92230 qdev conversion
TOSC DAC i2c qdev voncersion
SMBus qdev conversion
Remove bogus omap i2c slave code
I2C cleanup
PCI qdev support
qdev scsi bus infrastructure
PL110 qdev conversion
PL011 qdev conversion
PL050 qdev conversion
LSI SCSI qdev conversion
PCI network qdev conversion
Virtio-net qdev conversion
Stellaris ethernet qdev conversion
PL031 qdev conversion
PL181 qdev conversion
Integrator/CP core qdev conversion
ARM timers qdev conversion
smc91c111 qdev conversion
ESP SCSI qdev conversion
PL190 qdev conversion
Versatile/PB core qdev conversion
ARM RealView sytem controller qdev conversion
Basic qdev infrastructure.
qdev child bus support
Remove any pretense that there can be more than one AudioState
Include assert.h from qemu-common.h
Include assert.h from qemu-common.h and remove other direct uses.cpu-all.h still need to include it because of the dyngen-exec.h hacks
Replace gcc variadic macro extension with C99 version (missed one)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Replace gcc variadic macro extension with C99 version
Remove vga_ram_size
The vga_ram_size argument to machine init functions always has the samevalue, and is ignored by many machines (including SPARC32 which has anobsolete ifdef for VGA_RAM_SIZE).
Remove it and push VGA_RAM_SIZE into vga_int.h.
ETRAX: Correct setting of ethernet station address.
Follow coding conventions.
More structure renaming.
Push AUD_init down to devices
Now we can safely call AUD_init multiple times we can push it down toindividual audio devices, rather than having to pass it from the boardinit.
Make AUD_init failure fatal
Failure to initialize the audio subsystem is not handled consistently.Where it is handled it has guest visible effects, which is wrong.We already have a "nosound" audio driver as a last resort, so trying toproceed without an audio backend seems pointless....
Follow coding conventions
Remove explicit struct qualifiers and rename structure types.
vga: Replace VGA_COMMON with a structure
All VGA devices share a common field subset; currently they do so bya macro which defines the common fields inline their state structures,relying on the the common state being placed at offset 0 in the structure....
register reset handler for option_roms
Currently, boot options are not preserved across a system reset.option roms can modify themselves, or can for instance restore the realint 0x19 vector after they tried to boot from it.
To properly do that, we need a reset handler registered to deal with option...
reset state for load_linux
The linux loader is just an option rom like any other, just withsome special requirements. Right now, our option rom resettingmechanism is not being applied to it. As a result, users using-kernel will not be able to successfully reboot their machines...
e1000: Do not reinit pci config space to 0
pci_register_device already mallocs the pci config space buffer filledwith zeroes.
Doing this again breaks some default config space writes likesetting the subsystem vendor id and subsystem device id.
Signed-off-by: Amit Shah <amit.shah@redhat.com>...
Remove superfluous #includes.
Use target_phys_addr_t, not target_ulong.
Replace cpu_abort with hw_error
Fix PL110 framebuffer byteswapping in 32bpp mode.
ETRAX: Simplify serport control logic.
ETRAX: Drop _t for the serial type.
ETRAX: Use NULL for subwidth serport reg accesses.
ETRAX: Drop the _t for the internal PIC type.
ETRAX: Simplify the interrupt controller model.
ETRAX: Simplify interrupt signaling.
minor fix of pci_register_bus()
keep first_bus linked list correct.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
use PCI_HEADER_TYPE.
use symbolic value instead of 0x0e and related value.
Handle NULL bdrv.
Fix hw/acpi.c build w/ DEBUG enabled
Trivial build warning/fixes when the local DEBUG define is enabled.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>Signed-off-by: Avi Kivity <avi@qumranet.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Pci nic: pci_register_device can fail
The pci_register_device() call in PCI nic initialization routines canfail. Handle this failure and propagate a meaningful error message tothe user instead of generating a SEGV.
Cc: Marcelo Tosatti <mtosatti@redhat.com>...
Hardware watchdog
Here is an updated hardware watchdog patch, which should fixeverything that was raised about the previous version ...
Signed-off-by: Richard W.M. Jones <rjones@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
fix virtio_blk_inhdr comment
The inhdr is at the end of the S/G list, not the beginning.
Signed-off-by: Christoph Hellwig <hch@lst.de>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
suport device driver initialization model
According to PnP specification, Appendix B, Option ROMsthat support DDIM (device driver initialization model) shouldhave their memory space writeable.
KVM deviates from us here, by removing the IO_MEM_ROM flag,...
virtio-blk: add SGI_IO passthru support
[had the qemu list address wrong the first time, reply to this message, not the previous if you were on Cc]
Add support for SG_IO passthru (packet commands) to the virtio-blkbackend. Conceptually based on an older patch from Hannes Reinecke...
Remove redundant cirrus vga ram functions.
Remove vga LFB accessor hacks.
These are redundant now that we remap the LFB ram area.
Synch to VGA
[RESEND] Fix vga segfaults or screen corruption with large memory guests
page0 and friends are ram addresses; a smaller size will overflow andcause a segfault or random corruption.
Change them to ram_addr_t.
Signed-off-by: Avi Kivity <avi@redhat.com>
Fix compilation when x86_64 is defined
Fix warning
qemu: create helper for event notification (Marcelo Tosatti)
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7236 c046a42c-6fe2-441c-8c8c-71466251a162
Fix typo, thanks to Andreas Faerber for spotting
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7235 c046a42c-6fe2-441c-8c8c-71466251a162