blueswir1 [Tue, 29 Apr 2008 16:18:58 +0000 (16:18 +0000)]
FDC fix 10/10 (Hervé Poussineau):
- Replaces access to cur_drv field by macros.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4290
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:18:26 +0000 (16:18 +0000)]
FDC fix 9/10 (Hervé Poussineau):
- Supports up to 4 floppy drives if MAX_FD is set to 4.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4289
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:17:42 +0000 (16:17 +0000)]
FDC fix 8/10 (Hervé Poussineau):
- Replaces bootsel field by the whole tdr register. It may be easier if we want to later add support for tapes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4288
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:17:08 +0000 (16:17 +0000)]
FDC fix 7/10 (Hervé Poussineau):
- Removes useless fields in fdrive_t structure.
- Adds a message when bdrv_read/bdrv_write calls fail.
- Rename int_status to status0.
- Replace some constants by value names.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4287
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:16:30 +0000 (16:16 +0000)]
FDC fix 6/10 (Hervé Poussineau):
- Stores controller state in MSR register instead of internal state field. This simplifies the fdctrl_read_main_status() function, which may be called in some tight loops.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4286
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:15:53 +0000 (16:15 +0000)]
FDC fix 5/10 (Hervé Poussineau):
- Better handling of DOR register. DOR register drives external motors, but it not limited to existing drives.
- Use FD_DOR_nRESET flag instead of internal FD_CTRL_RESET flag.
- Support writing to DOR register even in reset mode (as said in specification)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4285
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:15:12 +0000 (16:15 +0000)]
FDC fix 4/10 (Hervé Poussineau):
- Handles correctly FD_MSR_NONDMA/FD_DOR_NONDMA flags, and uses them when possible. Fixes a problem with SPECIFY command.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4284
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:14:15 +0000 (16:14 +0000)]
FDC fix 3/10 (Hervé Poussineau):
- Fixes status A and status B registers. It removes one Sun4m mutation. Also removes the internal FD_CTRL_INTR flag.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4283
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:13:36 +0000 (16:13 +0000)]
FDC fix 2/10 (Hervé Poussineau):
- Extract seeking to next sector handling in a function. Add a sector seek in PIO read and write modes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4282
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:12:30 +0000 (16:12 +0000)]
FDC fix 1/12 (Hervé Poussineau):
- Adds a command lookup table, as suggested by Fabrice at http://lists.gnu.org/archive/html/qemu-devel/2008-04/msg00143.html
- This also moves initialization functions at the bottom of the file to prevent multiple forward declarations.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4281
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 29 Apr 2008 16:08:54 +0000 (16:08 +0000)]
Revert v4260, breaks Sparc32
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4280
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 29 Apr 2008 05:58:01 +0000 (05:58 +0000)]
Describe the format= option in the --help output. List the accepted
values with format=?.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4279
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 28 Apr 2008 20:26:54 +0000 (20:26 +0000)]
Fix wrong type in printf(), introduced in revision 4265
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4278
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 28 Apr 2008 20:26:45 +0000 (20:26 +0000)]
add format= to drive options (CVE-2008-2004)
It is possible for a guest with a raw formatted disk image to write a
header to that disk image describing another format (such as qcow2).
Stopping and subsequent restart of the guest will cause qemu to detect
that format, and could allow the guest to read any host file if qemu is
sufficiently privileged (typical in virt environments).
The patch defaults to existing behaviour (probing based on file contents),
so it still requires the mgmt app (e.g. libvirt xml) to pass a new
"format=raw" parameter for raw disk images.
Originally noted by Avi Kivity, patch from Chris Wright.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4277
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 28 Apr 2008 08:54:59 +0000 (08:54 +0000)]
Fix a typo introduced in revision 4272
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4276
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 28 Apr 2008 08:54:51 +0000 (08:54 +0000)]
BIOS: Reenable processor SSDT generation. Don't advertise ACPI C2 or C3
support. Thanks to Avi Kivity for the pointer.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4275
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 28 Apr 2008 00:32:32 +0000 (00:32 +0000)]
Factorize code in translate.c
(Glauber Costa)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4274
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Mon, 28 Apr 2008 00:00:24 +0000 (00:00 +0000)]
qemu ppc uic: Order IRQ bit number as described in the UIC documentation.
(Hollis Blanchard)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4273
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 27 Apr 2008 23:53:45 +0000 (23:53 +0000)]
Fix a typo in cpu_physical_memory_rw()
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4272
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 27 Apr 2008 23:52:12 +0000 (23:52 +0000)]
Add a monitor command to raise NMI
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4271
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 27 Apr 2008 23:46:00 +0000 (23:46 +0000)]
bios: disable processor SSDT generation. Fixes high idle load on
x86/x86-64.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4270
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 27 Apr 2008 23:31:40 +0000 (23:31 +0000)]
musicpal: Fix output level of 8-bit samples (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4269
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 27 Apr 2008 22:57:10 +0000 (22:57 +0000)]
Ignore the wrapping of acpi timer counter again.
Revert problematic change to restore system_powerdown.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4268
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 27 Apr 2008 21:45:18 +0000 (21:45 +0000)]
Treat DNS a special case among special addresses in slirp (Jason Wessel).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4267
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 27 Apr 2008 21:39:40 +0000 (21:39 +0000)]
Fix a regression introduced by my previous commit, ram_size is now
unsigned.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4266
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 27 Apr 2008 21:12:55 +0000 (21:12 +0000)]
Use correct types to enable > 2G support, based on a patch from
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4265
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 27 Apr 2008 16:43:11 +0000 (16:43 +0000)]
Revert wrong changes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4264
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 27 Apr 2008 15:29:18 +0000 (15:29 +0000)]
Fix broken TCX vram, restore Sun4u PROM_SIZE_MAX
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4263
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 21:11:22 +0000 (21:11 +0000)]
IO ports registration errors are fatal errors.
Revert previous change that shouldn't have gone in alone (or at all).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4262
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 16:04:29 +0000 (16:04 +0000)]
Errors while registering ioports are not fatal (Glauber Costa).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4261
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 15:56:05 +0000 (15:56 +0000)]
Fix scsi-disk sense-key/status confusion (Marcelo Tosatti).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4260
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 15:33:41 +0000 (15:33 +0000)]
Fix slirp udp source address contamination (Jason Wessel)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4259
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 14:50:48 +0000 (14:50 +0000)]
Fix sci irq set when acpi timer about to wrap (Dor Laor, Yaniv Kamay).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4258
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 14:44:49 +0000 (14:44 +0000)]
Add loop device ioctls (Gary Thomas).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4257
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 13:33:29 +0000 (13:33 +0000)]
Fill in touchscreen calibration values from a Palm T|E.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4256
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 12:17:34 +0000 (12:17 +0000)]
Teach mmap to not overwrite reserved pages and fix brk return value (Richard Purdie).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4255
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 12:00:18 +0000 (12:00 +0000)]
Let WM8750 users write to audio buffer directly.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4254
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 26 Apr 2008 01:43:07 +0000 (01:43 +0000)]
Fix USB and HID report descriptors for mouse and tablet.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4253
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 25 Apr 2008 00:59:43 +0000 (00:59 +0000)]
Fix MusicPal LCD on non-32 bpp displays or with -nographic.
Prevents an immediate segfault.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4252
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Thu, 24 Apr 2008 23:40:55 +0000 (23:40 +0000)]
Fix spurious VNC disconnects on Win32 (Hervé Poussineau).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4251
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Thu, 24 Apr 2008 21:11:41 +0000 (21:11 +0000)]
Cope with arch-specific page protection flags in mmap (Richard Purdie).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4250
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Thu, 24 Apr 2008 21:01:40 +0000 (21:01 +0000)]
Improve audio api use in WM8750.
These are changes from
http://svn.openmoko.org/trunk/src/host/qemu-neo1973/hw/wm8753.c that I
forgot to push to WM8750. Some were suggested by malc.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4249
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Thu, 24 Apr 2008 19:21:53 +0000 (19:21 +0000)]
ARM: Marvell 88w8618 / MusicPal emulation (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4248
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Thu, 24 Apr 2008 18:34:18 +0000 (18:34 +0000)]
Stellaris boards really aren't that big!
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4247
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Thu, 24 Apr 2008 17:59:27 +0000 (17:59 +0000)]
RAM usage information in machine definition.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4246
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 24 Apr 2008 17:20:25 +0000 (17:20 +0000)]
Fix irq handling (Hervé Poussineau)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4245
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 23 Apr 2008 19:38:07 +0000 (19:38 +0000)]
Copy Sparc64 firmware when installing (Hervé Poussineau)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4244
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Wed, 23 Apr 2008 17:12:35 +0000 (17:12 +0000)]
Document the shift values
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4243
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 22 Apr 2008 21:57:57 +0000 (21:57 +0000)]
Fix PHYS_ADDR_MASK: upper bits of a PTE are reserved so they are 52 bits
long. Thanks to Paul Brook for noticing that.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4242
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 22 Apr 2008 20:45:30 +0000 (20:45 +0000)]
Ignore .git and .svn in Makefile, noticed by Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4241
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 22 Apr 2008 20:45:18 +0000 (20:45 +0000)]
Revert "Use correct types to enable > 2G support" (r4238), it is
not yet ready.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4240
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 22 Apr 2008 20:37:43 +0000 (20:37 +0000)]
x86/x86-64 MMU PAE fixes
This patch fixes MMU emulation in PAE mode for > 4GB physical addresses:
- a20_mask should have the correct size to not clear the high part of
the addresses.
- PHYS_ADDR_MASK should not clear the high part of the addresses.
- pdpe, pde and pte could be located anywhere in memory on x86-64, but
only in the first 4GB on x86, define their pointer to as target_ulong.
- pml4e_addr could be located anywhere in memory, define its pointer
as uint64_t.
- paddr represents a physical address and thus should be of type
target_phys_addr_t.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4239
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 22 Apr 2008 20:37:34 +0000 (20:37 +0000)]
Use correct types to enable > 2G support, based on a patch from
Anthony Liguori.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4238
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 22 Apr 2008 20:37:21 +0000 (20:37 +0000)]
bios: add support to memory above the pci hole
(Izik Eidus)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4237
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 22 Apr 2008 19:05:18 +0000 (19:05 +0000)]
Revert the previous patch
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4236
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 22 Apr 2008 16:43:39 +0000 (16:43 +0000)]
Move 128-bit float emulation under linux-user including the forgotten file
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4235
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Tue, 22 Apr 2008 16:42:40 +0000 (16:42 +0000)]
Move 128-bit float emulation under linux-user
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4234
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Tue, 22 Apr 2008 06:49:43 +0000 (06:49 +0000)]
x86: remove load_kernel()
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4233
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Tue, 22 Apr 2008 03:15:10 +0000 (03:15 +0000)]
Inventra MUSB-HDRC host-mode USB.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4232
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Tue, 22 Apr 2008 02:56:20 +0000 (02:56 +0000)]
Hush pointer target signedness warnings from gcc 4.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4231
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Tue, 22 Apr 2008 02:52:38 +0000 (02:52 +0000)]
Fix update region size in EPSON blizzard.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4230
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Mon, 21 Apr 2008 16:55:57 +0000 (16:55 +0000)]
Remove duplicate definitions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4229
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 20 Apr 2008 21:10:41 +0000 (21:10 +0000)]
Use "mount -o remount" instead of "umount" and "mount /dev/shm",
which results in emptying this virtual file system.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4228
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 20 Apr 2008 20:19:54 +0000 (20:19 +0000)]
fix dyngen on HPPA hosts
(Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4227
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 20 Apr 2008 20:19:44 +0000 (20:19 +0000)]
more configure cleanups
(Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4226
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 20 Apr 2008 10:59:29 +0000 (10:59 +0000)]
PCnet: Allow more then two TMDs (Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4225
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 20 Apr 2008 06:28:28 +0000 (06:28 +0000)]
Flash support for mips r4k pseudo-machine, by
Jean-Christophe Plagniol-Villard.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4224
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 20 Apr 2008 03:40:20 +0000 (03:40 +0000)]
Prevent use of an uninitialised value in WM8750 and move buffer flush
to a better place (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4223
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 20 Apr 2008 01:03:45 +0000 (01:03 +0000)]
Remove an unused field and fix some non-code typos.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4222
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 20 Apr 2008 00:58:01 +0000 (00:58 +0000)]
Correct more ARM VFP 32/64 and signed/unsigned typos.
Fixes unreadable fonts in Maemo guest.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4221
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Wed, 16 Apr 2008 23:58:02 +0000 (23:58 +0000)]
Optimize consecutive CFI02 writes by remapping memory lazily (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4220
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Wed, 16 Apr 2008 23:45:36 +0000 (23:45 +0000)]
Emulate address wrap in CFI02 chips mapping (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4219
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Wed, 16 Apr 2008 23:37:15 +0000 (23:37 +0000)]
Allow a custom unlock address in CFI02 flash (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4218
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Wed, 16 Apr 2008 23:17:02 +0000 (23:17 +0000)]
Save the exact SWI return address in Thumb mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4217
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Wed, 16 Apr 2008 23:07:32 +0000 (23:07 +0000)]
Use qemu time/date functions for the Menelaus RTC.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4216
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Mon, 14 Apr 2008 21:57:44 +0000 (21:57 +0000)]
Nokia N800 machine support (ARM).
Also add various peripherals: two miscellaneous Nokia CBUS chips,
EPSON S1D13745 LCD/TV remote-framebuffer controller,
TWL92230 - standard OMAP2 power management companion chip on i2c.
Generic OneNAND flash memory,
TMP105 temperature sensor on i2c.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4215
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Mon, 14 Apr 2008 21:28:11 +0000 (21:28 +0000)]
Add TSC2301 touchscreen & keypad controller.
Add also a facility for setting up touchscreen calibration data per-board
based on calibration data generated by tslib.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4214
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Mon, 14 Apr 2008 21:05:22 +0000 (21:05 +0000)]
Add basic OMAP2 chip support.
Add the OMAP242x (arm1136 core) initialisation with basic on-chip
peripherals and update OMAP1 peripherals which are re-used in OMAP2.
Make palmte.c and sd.c errors go to stderr.
Allow disabling SD chipselect.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4213
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Mon, 14 Apr 2008 20:27:51 +0000 (20:27 +0000)]
Move the excess of arm_load_kernel() parameters into a struct.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4212
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Mon, 14 Apr 2008 19:14:06 +0000 (19:14 +0000)]
Correctly restore pc after an exception occured in Thumb mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4211
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Mon, 14 Apr 2008 02:19:57 +0000 (02:19 +0000)]
Fix ARM VFP related segfaults.
The fconst change is partly a guess.
VFP_OP1 is still unused.
An ARMv6 target still won't boot.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4210
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 13 Apr 2008 16:08:44 +0000 (16:08 +0000)]
Fix keyboard emulation for ARM versatile board:
- 0xab is actually a keyboard reply. It should not be escaped.
- Because of translated value 0x41, translated to raw conversion is not
a bijection. Instead of creating two translation tables, test for
s->translate before writing this value.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4209
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 13 Apr 2008 16:08:37 +0000 (16:08 +0000)]
SDL: Fix dead keys
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4208
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 13 Apr 2008 16:08:30 +0000 (16:08 +0000)]
x86: Rework local IRQ delivery for APICs
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4207
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 13 Apr 2008 16:08:23 +0000 (16:08 +0000)]
x86: Raise inter-processor NMI and SMI
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4206
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 13 Apr 2008 16:08:15 +0000 (16:08 +0000)]
x86: Introduce CPU_INTERRUPT_NMI
(Jan Kiszka)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4205
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 13 Apr 2008 13:25:31 +0000 (13:25 +0000)]
Fix the offset in Thumb bl instruction.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4204
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 13 Apr 2008 03:15:14 +0000 (03:15 +0000)]
Set an unset label in ARM strex.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4203
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 13 Apr 2008 01:53:27 +0000 (01:53 +0000)]
Fix ARM and Thumb ldlex/stlex.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4202
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 13 Apr 2008 00:57:49 +0000 (00:57 +0000)]
Store the right TCG temp (typo).
Stops ARMv6 target from segfaulting early.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4201
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sat, 12 Apr 2008 23:49:37 +0000 (23:49 +0000)]
Allocate the -vmwarevga framebuffer in the right place in RAM.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4200
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 12 Apr 2008 20:14:54 +0000 (20:14 +0000)]
HPPA (PA-RISC) host support
(Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4199
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sat, 12 Apr 2008 20:14:43 +0000 (20:14 +0000)]
Use correct memory types in do_physical_memory_save()
(Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4198
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 12 Apr 2008 08:47:27 +0000 (08:47 +0000)]
Read time constant fix (Robert Reif)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4197
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 11 Apr 2008 22:04:22 +0000 (22:04 +0000)]
configure cleanup [v2]
(Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4196
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 11 Apr 2008 21:36:14 +0000 (21:36 +0000)]
physical memory dump to file
(Marvin Flumm)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4195
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 11 Apr 2008 21:36:06 +0000 (21:36 +0000)]
configure cleanup
(Stuart Brady)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4194
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 11 Apr 2008 21:35:59 +0000 (21:35 +0000)]
Add help for -no-shutdown and -no-quit options
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4193
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 11 Apr 2008 21:35:52 +0000 (21:35 +0000)]
Stop before shutdown
(Eduardo Felipe)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4192
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Fri, 11 Apr 2008 21:35:42 +0000 (21:35 +0000)]
Remove osdep.c/qemu-img code duplication
(Kevin Wolf)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4191
c046a42c-6fe2-441c-8c8c-
71466251a162