aurel32 [Sun, 4 May 2008 20:11:34 +0000 (20:11 +0000)]
Allow bootdevice change from the monitor
(Gildas Le Nadan)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4333
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 May 2008 15:47:15 +0000 (15:47 +0000)]
MusicPal mono playback support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4332
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 May 2008 15:26:28 +0000 (15:26 +0000)]
OMAP STI/XTI console.
Add a dummy serial to receive the output from STI console (OMAP
debugging/emulation interface).
Add some more OMAP UART dummy registers.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4331
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 4 May 2008 13:15:24 +0000 (13:15 +0000)]
Remember the state of level-triggered interrupts
(Hollis Blanchard)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4330
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 4 May 2008 13:15:15 +0000 (13:15 +0000)]
PPC UIC: Remove interrupt polarity code
(Hollis Blanchard)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4329
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 4 May 2008 13:11:53 +0000 (13:11 +0000)]
Fix spurious VGA updates
(Samuel Thibault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4328
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 4 May 2008 13:11:44 +0000 (13:11 +0000)]
remove target ifdefs from vl.c
(Glauber Costa)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4327
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 May 2008 12:18:51 +0000 (12:18 +0000)]
Remove debug sample rate slowdown.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4326
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 May 2008 12:15:51 +0000 (12:15 +0000)]
Use external clock in wm8750 slave mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4325
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 4 May 2008 12:00:16 +0000 (12:00 +0000)]
Complete the TCG conversion (and delete some files, too)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4324
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 4 May 2008 11:58:45 +0000 (11:58 +0000)]
Complete the TCG conversion
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4323
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 May 2008 10:55:25 +0000 (10:55 +0000)]
Update volume for WM8750 input voices.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4322
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Sun, 4 May 2008 10:21:03 +0000 (10:21 +0000)]
First cut at WM8750 volume control (Jan Kiszka).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4321
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 4 May 2008 08:16:10 +0000 (08:16 +0000)]
Simplify mips branch handling. Retire T2 from use. Use TCG for branches.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4320
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sun, 4 May 2008 08:14:08 +0000 (08:14 +0000)]
Add helpers and shorthands for mul and muli operations.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4319
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 4 May 2008 08:06:33 +0000 (08:06 +0000)]
Avoid some brconds
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4318
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sun, 4 May 2008 06:38:18 +0000 (06:38 +0000)]
Fix crash due to invalid env->current_tb (Adam Lackorzynski, Paul Brook, me)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4317
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 4 May 2008 00:50:34 +0000 (00:50 +0000)]
Set default console size
(Stefan Weil)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4316
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 4 May 2008 00:50:25 +0000 (00:50 +0000)]
Add ${ARCH_CFLAGS} when testing for libbrlapi
(Samuel Thibault, Ben Taylor)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4315
c046a42c-6fe2-441c-8c8c-
71466251a162
aurel32 [Sun, 4 May 2008 00:50:17 +0000 (00:50 +0000)]
configure: silence test for brlapi
(Carlo Marcelo Arenas Belon)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4314
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 3 May 2008 21:34:39 +0000 (21:34 +0000)]
CRIS: Convert divide step to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4313
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 3 May 2008 20:52:26 +0000 (20:52 +0000)]
Skip register moves when the target and the source are the same
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4312
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 3 May 2008 20:51:00 +0000 (20:51 +0000)]
Use memory based registers in functions containing brconds
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4311
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Sat, 3 May 2008 17:51:24 +0000 (17:51 +0000)]
Do not attempt to set page flags for pages outside target address space
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4310
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 3 May 2008 17:11:36 +0000 (17:11 +0000)]
CRIS: Convert lz (leading zeros) to TCG.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4309
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 3 May 2008 15:55:42 +0000 (15:55 +0000)]
Correct broken test for fixed file mmaps.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4308
c046a42c-6fe2-441c-8c8c-
71466251a162
ths [Sat, 3 May 2008 11:06:59 +0000 (11:06 +0000)]
Fix MIPS MT GPR accesses, thanks Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4307
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 3 May 2008 08:36:16 +0000 (08:36 +0000)]
CRIS: Eliminate a few unneeded moves to/from T0/T1.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4306
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 3 May 2008 08:35:16 +0000 (08:35 +0000)]
CRIS: Reduce the number of tb dependent flags.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4305
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Sat, 3 May 2008 06:54:52 +0000 (06:54 +0000)]
CRIS: Do post-increment without going via T0.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4304
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:47:34 +0000 (22:47 +0000)]
Avoid a build warning.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4303
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:38:53 +0000 (22:38 +0000)]
ETRAX-FS board: Add more flash and internal memory. Select interrupt nr for the
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4302
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:32:02 +0000 (22:32 +0000)]
ETRAX timers: Improve the support for timer1 and let the board-setup choose irq nr.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4301
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:21:55 +0000 (22:21 +0000)]
ETRAX serial port:
* Simulate basic interrupt driven serial io.
* Connect to qemu char dev.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4300
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 22:16:17 +0000 (22:16 +0000)]
CRIS updates:
* Support both the I and D MMUs and improve the accuracy of the MMU model.
* Handle the automatic user/kernel stack pointer switching when leaving or entering user mode.
* Move the CCS evaluation into helper funcs.
* Make sure user-mode cannot change flags only writeable in kernel mode.
* More conversion of the translator into TCG.
* Handle exceptions while in a delayslot.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4299
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 21:13:21 +0000 (21:13 +0000)]
CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4298
c046a42c-6fe2-441c-8c8c-
71466251a162
edgar_igl [Fri, 2 May 2008 21:08:33 +0000 (21:08 +0000)]
CRIS: Correct typo in test for moverm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4297
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 2 May 2008 02:24:55 +0000 (02:24 +0000)]
Audio endianness and mutex usage fixes (malc.git).
From http://repo.or.cz/w/qemu/malc.git?a=shortlog;h=refs/heads/audio :
Implicitly lock the mutex at startup of playback/capture threads, otherwise
pthread_mutex_destroy (in audio_pt_fini) fails with EBUSY.
Endianness fix.
Remove a c&p residue.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4296
c046a42c-6fe2-441c-8c8c-
71466251a162
balrog [Fri, 2 May 2008 01:35:20 +0000 (01:35 +0000)]
Musicpal: convert to ram_addr_t
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4295
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 1 May 2008 19:05:12 +0000 (19:05 +0000)]
FDC: Fix data transfer len (Hervé Poussineau)
In floppy controller, transfer data len is not correctly calculated.
We should read up to the last sector specified by the caller, and not up to
the last sector of the floppy.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4294
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 1 May 2008 19:03:31 +0000 (19:03 +0000)]
FDC: Fix buffer overflow (Hervé Poussineau)
In floppy controller, programming PIO writes which are more than one sector
long leads to a buffer overflow of the fdtrl->fifo[] array.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4293
c046a42c-6fe2-441c-8c8c-
71466251a162
blueswir1 [Thu, 1 May 2008 18:21:46 +0000 (18:21 +0000)]
Improved large memory support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4292
c046a42c-6fe2-441c-8c8c-
71466251a162
pbrook [Thu, 1 May 2008 12:04:35 +0000 (12:04 +0000)]
Fix incorrect argument types.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4291
c046a42c-6fe2-441c-8c8c-
71466251a162
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