Hardware convenience library
The only target dependency for most hardware is sizeof(target_phys_addr_t).Build these files into a convenience library, and use that instead ofbuilding for every target.
Remove and poison various target specific macros to avoid bogus target...
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>
Only define __llseek if it is going to be used
Avoid implicit truncation compiler warnings
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.
Only shutdown video subsytem in sdl_cleanup
Depending on the order in which atexit handlers are called SDL mighttry to join on an audio thread without said thread ever being notifiedthat it must stop, hence QEMU will forever block in pthread_join call....
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.
support ELF_HWCAP for PPPC
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>Signed-off-by: malc <av1474@comtv.ru>
linux-user: ppc signal handling
Implement setup_{,rt_}frame and do_{,rt_}sigreturn for PPC 32-bit. Usethe same TARGET_QEMU_ESIGRETURN hack as for MIPS to avoid clobberingregister state on a sigreturn.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>...
target-ppc: expose cpu capability flags
Do this so other pieces of code can make decisions based on thecapabilities of the CPU we're emulating.
ETRAX: Correct passing of kernel command line.
fix ARMv7 data processing instructions
ARMv7 defines a new behavior for ARM data processing instructionscompared to earlier architecture revisions; when the destinationregister is R15, a Branch and Exchange operation is executed ratherthan a simple Branch to the target address. This patch corrects the...
Modernize parts of target-arm/translate.c in preparation for themodifications in the subsequent patch in this patch set. This is donein order to avoid writing new code to target-arm/translate.c thatwould use deprecated methods and/or variables....
Fix module initialization when more than 1 class is in use
Now that we're using enums for module types, it makes no sense to bother keepinga list of module types when we know exactly how many they are.
Switching to an array simplifies the code and eliminates the aforementioned bug....
Syborg (Symbian Virtual Platform) board
A virtual reference platform for SymbianOS development/debugging.
Fix warning on WIN32
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Fix build on Solaris and WIN32
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
Move block drivers into their own directory
Convert block infrastructure to use new module init functionality
Constructor support
Allow devices/drivers to register themselves via constructors.Destructors are not needed (can be registered from a constructor)and "priority" has been renamed and changed to an enum for clarity.
Signed-off-by: Paul Brook <paul@codesourcery.com>...
Add a --disable-docs to configure to allow doc build to be disabled
Remove duplicate block objects.
Remove any pretense that there can be more than one AudioState
Remove redundant pcnet.o
Add tool_osdep.c
osdep.c is built in both as a toplevel target independant object, andas a per-target object because of kqemu dependencies. Under somecircumstances make picks up the wrong one.
Build the former as tool-osdep to avoid this conflict.
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
Fix kqemu build failure.
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.
Fix typo that leads to out of bounds array access on big endian systems
ETRAX: Correct setting of ethernet station address.
Follow coding conventions.
More structure renaming.
CRIS: Fix bmi.
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....
Update docs on dynamic condition code calculation
Convert mulscc
Convert udiv/sdiv
Convert tagged ops
Convert logical operations and umul/smul
Convert sub
Convert subx
Convert addx
Convert add
Use dynamical computation for condition codes