Juha Riihimäki [Tue, 24 Feb 2009 07:32:54 +0000 (09:32 +0200)]
Update [v2] cocoa.m to match new DisplayState code
Samuel Benson's patch from qemu-devel mailing list for updating Cocoa frontend to match new DisplayState code. Reportedly there are some issues with the patch under certain conditions but for the time being it's the best thing we have to get Cocoa frontend compiling and working.
Riku Voipio [Fri, 20 Feb 2009 10:52:24 +0000 (12:52 +0200)]
port omap3 code to post-displaystate
Riku Voipio [Thu, 19 Feb 2009 16:20:58 +0000 (18:20 +0200)]
fix merge conflict
Riku Voipio [Thu, 19 Feb 2009 16:17:50 +0000 (18:17 +0200)]
make omap_dss work on both omap2 and omap3
Riku Voipio [Thu, 19 Feb 2009 15:32:21 +0000 (17:32 +0200)]
Revert "Add BGR format host frame buffer support in Epson LCD controller emulation"
This reverts commit
7384e7f8cd34dac587e947fe94745aacfda4dd0d.
Riku Voipio [Thu, 19 Feb 2009 15:03:56 +0000 (17:03 +0200)]
revert multi-omap for omap1/omap2
Riku Voipio [Thu, 19 Feb 2009 15:03:56 +0000 (17:03 +0200)]
revert multi-omap for omap1/omap2
Riku Voipio [Thu, 19 Feb 2009 14:52:18 +0000 (16:52 +0200)]
Merge branch 'upstream' into maemo-test
Resolve conflicts
Conflicts:
.gitignore
hw/omap_dss.c
linux-user/main.c
linux-user/syscall.c
Riku Voipio [Thu, 19 Feb 2009 11:58:35 +0000 (13:58 +0200)]
Merge branch 'juha-devel'
Riku Voipio [Wed, 18 Feb 2009 15:30:40 +0000 (17:30 +0200)]
clear ERRI bit in MMCHS_STAT so it accurately reflects the rest error bits
Juha Riihimäki [Wed, 18 Feb 2009 13:49:42 +0000 (15:49 +0200)]
Dummy support for CMD_TYPE bits in OMAP3 MMC CMD register
This allows the Linux kernel to boot a bit further as it is issuing CMD12 with "I/O Abort" CMD_TYPE. However as this is not correctly emulated yet it seems the kernel gets trash instead of the real stuff...
Juha Riihimäki [Wed, 18 Feb 2009 13:03:11 +0000 (15:03 +0200)]
Fix for OMAP3 MMC FIFO handling
DMA transfers are now stopped correctly.
Juha Riihimäki [Wed, 18 Feb 2009 12:22:22 +0000 (14:22 +0200)]
Fix DMA channel numbers for OMAP3
All DMA channel numbers were off by one... :)
Juha Riihimäki [Wed, 18 Feb 2009 10:32:16 +0000 (12:32 +0200)]
OMAP DMA debug printout fix, part2
Fix per-channel register number printouts also for omap_dma4_read function.
Juha Riihimäki [Wed, 18 Feb 2009 10:24:03 +0000 (12:24 +0200)]
Fix OMAP DMA4 debug printouts
Illegal access in per-channel register region prints out the register numbers relative to channel number, which is not printed out. Changed printing to display register numbers relative to the DMA controller region.
Juha Riihimäki [Wed, 18 Feb 2009 09:28:59 +0000 (11:28 +0200)]
Fix block count for OMAP3 MMC emulation
Block count was extracted wrongly from a write to MMCHS_BLK register. Also rearranged the code a bit to resemble more the similar implementation done for OMAP2.
Juha Riihimäki [Wed, 18 Feb 2009 06:30:33 +0000 (08:30 +0200)]
Disable extensive SD debug printouts
Enough is enough and too much is too much
Juha Riihimäki [Wed, 18 Feb 2009 06:06:35 +0000 (08:06 +0200)]
Merge commit 'origin/riku-devel' into juha-devel
Juha Riihimäki [Wed, 18 Feb 2009 06:05:11 +0000 (08:05 +0200)]
Enable debug traces in SD emulation
Added some more debug information in the SD emulation and fixed OMAP3 MMC2/3 initialization with correct NULL values.
Riku Voipio [Tue, 17 Feb 2009 16:16:26 +0000 (18:16 +0200)]
do not pretend to support low voltage operation
eliminate "mmc0: SD card claims to support the incompletely defined 'low voltage
range'. This will be ignored." warning
Juha Riihimäki [Tue, 17 Feb 2009 12:35:36 +0000 (14:35 +0200)]
Yet-Another-Fix for OMAP3 I2C interrupt emulation
It Is Now Fixed(tm).
Juha Riihimäki [Tue, 17 Feb 2009 11:15:54 +0000 (13:15 +0200)]
Fix XRDY/RRDY/XDR/RDR interrupt generation for OMAP3 I2C
Patch for XRDY/RRDY/XDR/RDR interrupt generation in the OMAP3 I2C emulation.
Juha Riihimäki [Tue, 17 Feb 2009 08:42:25 +0000 (10:42 +0200)]
OMAP3 HS MMC emulation interrupt fix and other small stuff
The OMAP3 HS MMC controller interrupt state is now correctly updated after a write to STAT register. Hardcoded OMAP SDRC to always return "no address error" to an error query. Changed CR+LF line terminators to LF in a number of files.
Riku Voipio [Mon, 16 Feb 2009 15:59:33 +0000 (17:59 +0200)]
more gpio clocks and rtc stub
Riku Voipio [Mon, 16 Feb 2009 15:01:35 +0000 (17:01 +0200)]
Merge commit 'juri/juha-devel' into test
Riku Voipio [Mon, 16 Feb 2009 15:01:26 +0000 (17:01 +0200)]
more twl regs
Juha Riihimäki [Mon, 16 Feb 2009 14:44:03 +0000 (16:44 +0200)]
OMAP3 I2C patch for FIFO draining feature handling
XDR/RDR STAT bits are set only when corresponding IE bits are set. Therefore polling for XDR/RDR bits is now impossible. However this seems to make the Linux kernel feel better.
Juha Riihimäki [Mon, 16 Feb 2009 13:25:52 +0000 (15:25 +0200)]
Merge commit 'origin/riku-devel' into juha-devel
Riku Voipio [Mon, 16 Feb 2009 13:20:11 +0000 (15:20 +0200)]
Merge commit 'juri/riku-devel' into test
Juha Riihimäki [Mon, 16 Feb 2009 13:19:47 +0000 (15:19 +0200)]
Moved OMAP3 boot ROM MMC loader emulation from beagle.c to omap3.c
Since the MMC loader emulation of OMAP3 boot ROM is generic for OMAP3 and not specific for Beagleboard, moved the relevant functions to omap3.c from beagle.c.
Riku Voipio [Mon, 16 Feb 2009 13:02:34 +0000 (15:02 +0200)]
multi-mmc support
Riku Voipio [Mon, 16 Feb 2009 13:02:34 +0000 (15:02 +0200)]
multi-mmc support
Juha Riihimäki [Mon, 16 Feb 2009 12:08:38 +0000 (14:08 +0200)]
Some improvements for OMAP3
Add support for PRCM IRQ, SDRC DLLA_STATUS register. Mirrors modifications to CM ICLKEN1 and ICLKEN3 to corresponding idle status registers.
Juha Riihimäki [Mon, 16 Feb 2009 09:13:13 +0000 (11:13 +0200)]
Replace numeric constants with symbols for OMAP3 L4
OMAP3 L4 region ids and target agents now have symbolic names instead of plain numbers. This makes it much easier to a) read the code and b) rearrange the order of the data structures due to e.g. inserting new known regions or agents.
Juha Riihimäki [Fri, 13 Feb 2009 13:15:46 +0000 (15:15 +0200)]
Debug trace changes
More user-friendly debug tracing possibilities.
Juha Riihimäki [Fri, 13 Feb 2009 12:20:08 +0000 (14:20 +0200)]
ID mods for OMAP3 emulation
Added a new CPU core, Cortex-A8-r2 (i.e. r2p3) and updated the old Cortex-A8 to correspond to r1p1. Made OMAP3530 emulation use the Cortex-A8-r2 core instead of the older one and updated OMAP3 TAP id to correspond to ES3.0. Changed OMAP3 system crystal from 13MHz to 26MHz.
Juha Riihimäki [Fri, 13 Feb 2009 09:30:31 +0000 (11:30 +0200)]
Further patches for OMAP3 emulation
Some patching for OMAP3 L4IC and PRM emulation. Also patched the DSS to take in the DSI region; this renders omap_dss.c unusable for non-OMAP3 platforms currently. Will be fixed later.
Riku Voipio [Fri, 13 Feb 2009 09:06:42 +0000 (11:06 +0200)]
merge changes with "User-mode GDB stub improvements"
Riku Voipio [Sun, 23 Nov 2008 21:37:24 +0000 (23:37 +0200)]
linux-user: Proper exit code for uncaught signals
The proper exit code for dieing from an uncaught signal is -<signal>.
The kernel doesn't allow exit() or _exit() to pass a negative value.
To get the proper exit code we need to actually die from an uncaught
signal.
A default signal handler is installed, we send ourself a signal
and we wait for it to arrive.
Patch originates from Scratchbox
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
blueswir1 [Thu, 12 Feb 2009 17:29:32 +0000 (17:29 +0000)]
Fix Sparc64 VGA memory size bug exposed by r6604
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6618
c046a42c-6fe2-441c-8c8c-
71466251a162
Riku Voipio [Thu, 12 Feb 2009 14:38:11 +0000 (16:38 +0200)]
make keep-ld-preload default
This is for sb1 compat. Testcase:
scratchbox/packages/tests/env$ ./run.sh
aliguori [Wed, 11 Feb 2009 21:00:43 +0000 (21:00 +0000)]
KVM: cpuid function 2: store all values (Amit Shah)
Incrementing the array index was missed in the previous series which causes
us to not store all the values.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6617
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 21:00:38 +0000 (21:00 +0000)]
monitor: Don't change VNC server when disabled (Jan Kiszka)
[ As requested, broken out of the monitor rework series. ]
Avoid a segfault when the user issues 'change vnc' without having vnc
enabled on startup.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6616
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 21:00:32 +0000 (21:00 +0000)]
Fix qemu_realloc() (Kevin Wolf)
For qemu_realloc with size == 0 a result of NULL is perfectly fine
Signed-off-by: Kevin Wolf <kwolf@suse.de>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6615
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 11 Feb 2009 19:47:39 +0000 (19:47 +0000)]
TCG: remove obsolete old_op_count profiler field
Since we don't generate any "old op" anymore, the old_op_count
is unneeded.
Signed-off-by: Laurent Desnogues <laurent.desnogues@gmail.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6614
c046a42c-6fe2-441c-8c8c-
71466251a162
malc [Wed, 11 Feb 2009 18:54:02 +0000 (18:54 +0000)]
Add missing r24..r26 to callee save registers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6613
c046a42c-6fe2-441c-8c8c-
71466251a162
malc [Wed, 11 Feb 2009 18:51:19 +0000 (18:51 +0000)]
Add missing r24..r26 to calle save registers
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6612
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 11 Feb 2009 18:04:12 +0000 (18:04 +0000)]
Use qemu_ram_alloc
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6611
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:54 +0000 (15:21 +0000)]
qemu: PCI device, disk and host network hot-add / hot-remove (Marcelo Tosatti)
Add monitor command to hot-add PCI devices (nic and storage).
Syntax is:
pci_add pci_addr=[[<domain>:]<bus>:]<slot> nic|storage params
It returns the domain, bus and slot for the newly added device on success.
It is possible to attach a disk to a device after PCI initialization via
the drive_add command. If so, a manual scan of the SCSI bus on the guest
is necessary.
Save QEMUMachine necessary for drive_init.
Add monitor command to hot-remove devices, remove device data on _EJ0 notification.
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@6610
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:48 +0000 (15:21 +0000)]
Parse full PCI device addresses (Markus Armbruster)
This code parses full PCI device addresses. It then rejects domains
other than zero, because these are not supported in QEMU.
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@6609
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:41 +0000 (15:21 +0000)]
qemu: pci hotplug GPE support (Marcelo Tosatti)
Enable the corresponding bit on the PCIST region and trigger the SCI
and handle the _EJ0 notifications.
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@6608
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:35 +0000 (15:21 +0000)]
qemu: initialize hot add system / acpi gpe (Marcelo Tosatti)
ACPI GPE support, used by PCI (and CPU) hotplug.
From: Glauber Costa <gcosta@redhat.com>
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@6607
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:29 +0000 (15:21 +0000)]
qemu: zero ioport_opaque on isa_unassign_ioport (Marcelo Tosatti)
If the io port is unassigned, the previous private pointer is
meaningless.
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@6606
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:22 +0000 (15:21 +0000)]
qemu: LSI SCSI and e1000 unregister callbacks (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@6605
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:16 +0000 (15:21 +0000)]
qemu: warn if PCI region is not power of two (Marcelo Tosatti)
Otherwise the PCI size for such regions can be calculated erroneously.
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@6604
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:10 +0000 (15:21 +0000)]
qemu: add pci_unregister_device (Marcelo Tosatti)
Unregister the pci device, unassign its IO and memory regions, and free
associated data.
Add a callback so drivers can free device state.
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@6603
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:21:04 +0000 (15:21 +0000)]
qemu: add qemu_free_irqs (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@6602
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:58 +0000 (15:20 +0000)]
qemu: add cpu_unregister_io_memory and make io mem table index dynamic (Marcelo Tosatti)
So drivers can clear their mem io table entries on exit back to unassigned
state.
Also make the io mem index allocation dynamic.
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@6601
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:51 +0000 (15:20 +0000)]
qemu: add net_client_uninit / qemu_find_vlan_client (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@6600
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:46 +0000 (15:20 +0000)]
qemu: net/drive add/remove tweaks (Marcelo Tosatti)
Export net/drive add/remove functions for device hotplug usage.
Return the table index on add.
Return failure instead of exiting if limit has been reached
on drive_add.
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@6599
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:37 +0000 (15:20 +0000)]
qemu: move drives_opt for external use (Marcelo Tosatti)
Device hotplug will use that structure from a separate
file.
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@6598
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:29 +0000 (15:20 +0000)]
qemu: record devfn on block driver instance (Marcelo Tosatti)
Record PCIDev on the BlockDriverState structure to locate for release
on hot-removal.
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@6597
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:20 +0000 (15:20 +0000)]
qemu: drive removal support (Marcelo Tosatti)
To be used by hot-remove.
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@6596
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:20:03 +0000 (15:20 +0000)]
qemu: dynamic nic info index allocation (Marcelo Tosatti)
Dynamically allocate nic info index, so to reuse indexes when devices are
removed.
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@6595
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:58 +0000 (15:19 +0000)]
qemu: dynamic drive/drive_opt index allocation (Marcelo Tosatti)
Dynamically allocate drive options and drive table index, to reuse
indexes when devices are removed.
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@6594
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:52 +0000 (15:19 +0000)]
qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti)
Change the PCI network drivers init functions to return the PCIDev, to
inform which slot has been hot-plugged.
Also record PCIDevice structure on NICInfo to locate for release on
hot-removal.
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@6593
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:46 +0000 (15:19 +0000)]
qemu: add pci helper functions (Marcelo Tosatti)
Add pci_find_bus/pci_find_device to be used by PCI hotplug.
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@6592
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:19:16 +0000 (15:19 +0000)]
Add a description for the set_link monitor command.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6591
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 15:11:43 +0000 (15:11 +0000)]
Add BIOS patches necessary for hotplug (Marcelo Tosatti)
See each patch for appropriate Signed-off-by's.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6590
c046a42c-6fe2-441c-8c8c-
71466251a162
aliguori [Wed, 11 Feb 2009 14:55:47 +0000 (14:55 +0000)]
Update PC BIOS to latest bits from Bochs
A number of patches were merged since we last pulled.
Thanks to Marcelo Tosatti for rebasing the existing patches and testing.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6589
c046a42c-6fe2-441c-8c8c-
71466251a162
Juha Riihimäki [Wed, 11 Feb 2009 13:08:48 +0000 (15:08 +0200)]
Tuning OMAP I2C emulation
Some further adjustments in the OMAP I2C emulation for OMAP3 I2C controller.
blueswir1 [Tue, 10 Feb 2009 19:00:31 +0000 (19:00 +0000)]
Add "static"
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6588
c046a42c-6fe2-441c-8c8c-
71466251a162
Riku Voipio [Tue, 10 Feb 2009 17:08:47 +0000 (19:08 +0200)]
move linking against libsb elsewhere
libsb linking from here no longer works.
Riku Voipio [Tue, 10 Feb 2009 17:00:33 +0000 (19:00 +0200)]
Remove extra build-deps
to allow building in etch
Riku Voipio [Tue, 10 Feb 2009 16:59:55 +0000 (18:59 +0200)]
sb1 linking hack
due to linking reordering, libsb needs to be linked here
Riku Voipio [Tue, 10 Feb 2009 14:11:11 +0000 (16:11 +0200)]
Merge branch 'debian-packaging' of ssh://voipio@juri/home/voipio/qemu into debian-packaging
Conflicts:
linux-user/main.c
make drop-ld-preload default (this is for sb1, sigh)
Riku Voipio [Tue, 10 Feb 2009 12:57:23 +0000 (14:57 +0200)]
hack --sbox-call more
sb1 braindamage. drop-ld-preload is default, and sbox-call
is inverse to --argv0
Riku Voipio [Tue, 10 Feb 2009 12:57:23 +0000 (14:57 +0200)]
hack --sbox-call more
sb1 braindamage.
Juha Riihimäki [Tue, 10 Feb 2009 12:57:03 +0000 (14:57 +0200)]
Refurbished OMAP I2C emulation to support OMAP3
Basic support for OMAP3 I2C controller added to the existing OMAP I2C emulation. Still missing at least multislave channel support, internal mode transitions specific to HS mode and support for SCCB mode. However OMAP2 mode seems to work still at least with n810 emulation and OMAP3 emulation is somewhat functional.
Riku Voipio [Tue, 10 Feb 2009 12:56:12 +0000 (14:56 +0200)]
Add default interp_path
These should be handled by sb1/sb2, but doesn't hurt
setting here. Also fix build-dep.
aurel32 [Mon, 9 Feb 2009 23:19:44 +0000 (23:19 +0000)]
Fix fr-be keymap
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6587
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 23:19:32 +0000 (23:19 +0000)]
Fix AltGr and dead keys with VNC
(Marcel Zumstein)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6586
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 20:43:53 +0000 (20:43 +0000)]
Fix DEBUG_TCGV compile error.
Don't call TCGV_LOW on arg2. This section of code falls under
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6585
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 20:09:29 +0000 (20:09 +0000)]
qemu_chr_open_tcp: allow ipv4 and ipv6 options
Those new options are parsed in qemu-sockets.c. Allow them instead of
printing "Unknown option".
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6584
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 9 Feb 2009 19:59:57 +0000 (19:59 +0000)]
Update ppc-dis.c from binutils from 4th July, 2007, just before GPLv3 switch
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6583
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 9 Feb 2009 19:58:22 +0000 (19:58 +0000)]
Update ppc-dis.c from binutils 2.17
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6582
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 19:03:02 +0000 (19:03 +0000)]
ppc newworld: default to a G4 CPU
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6581
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 19:02:09 +0000 (19:02 +0000)]
Fix crash caused by missing command line arguments
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6580
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 18:28:36 +0000 (18:28 +0000)]
Remove unused code from dyngen-exec.h
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6579
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 18:14:31 +0000 (18:14 +0000)]
Make qemu-img argument handling POSIX compliant
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6578
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 17:00:41 +0000 (17:00 +0000)]
Fix displaystate (r6344) regression in blizzard
Testcase:
qemu-system-arm -M n810 -kernel /dev/null -m 130
Without this patch, we get a segfault.
Signed-off-by: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6577
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:50:00 +0000 (16:50 +0000)]
target-ppc: Model e500v{1,2} CPUs more accurately
The e500v1 chips only have single-precision floating point; don't say we
support the double-precision floating-point instructions on such chips.
Also add an e500v1 -cpu argument for a generic e500v1.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6576
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:50 +0000 (16:49 +0000)]
target-ppc: Model SPE floating-point instructions more accurately
Single-precision and double-precision floating-point instructions should
be separated into their own categories, since some chips only support
single-precision instructions.
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6575
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:40 +0000 (16:49 +0000)]
target-ppc: Add vrsqrtefp instruction
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6574
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:29 +0000 (16:49 +0000)]
target-ppc: Add vrefp instruction
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6573
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:20 +0000 (16:49 +0000)]
target-ppc: Add vct{u,s}xs instructions
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6572
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:49:10 +0000 (16:49 +0000)]
target-ppc: Add vcmp{eq, ge, gt, b}fp{, .} instructions
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6571
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:48:59 +0000 (16:48 +0000)]
target-ppc: Add vmaddfp and vnmsubfp instructions
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6570
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:48:51 +0000 (16:48 +0000)]
target-ppc: Add v{add,sub}fp instructions
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6569
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 9 Feb 2009 16:48:39 +0000 (16:48 +0000)]
target-ppc: Add v{max,min}fp instructions
Signed-off-by: Nathan Froyd <froydnj@codesourcery.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6568
c046a42c-6fe2-441c-8c8c-
71466251a162