summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix incorrect argument types.pbrook2008-05-011-2/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4291 c046a42c-6fe2-441c-8c8c-71466251a162
* FDC fix 10/10 (Hervé Poussineau):blueswir12008-04-291-19/+25
| | | | | | | - Replaces access to cur_drv field by macros. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4290 c046a42c-6fe2-441c-8c8c-71466251a162
* FDC fix 9/10 (Hervé Poussineau):blueswir12008-04-291-10/+75
| | | | | | | - 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
* FDC fix 8/10 (Hervé Poussineau):blueswir12008-04-291-10/+10
| | | | | | | - 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
* FDC fix 7/10 (Hervé Poussineau):blueswir12008-04-291-69/+74
| | | | | | | | | | - 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
* FDC fix 6/10 (Hervé Poussineau):blueswir12008-04-291-51/+32
| | | | | | | - 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
* FDC fix 5/10 (Hervé Poussineau):blueswir12008-04-291-82/+14
| | | | | | | | | - 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
* FDC fix 4/10 (Hervé Poussineau):blueswir12008-04-291-12/+21
| | | | | | | - 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
* FDC fix 3/10 (Hervé Poussineau):blueswir12008-04-291-16/+75
| | | | | | | - 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
* FDC fix 2/10 (Hervé Poussineau):blueswir12008-04-291-33/+48
| | | | | | | - 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
* FDC fix 1/12 (Hervé Poussineau):blueswir12008-04-291-150/+149
| | | | | | | | - 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
* Revert v4260, breaks Sparc32blueswir12008-04-291-24/+13
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4280 c046a42c-6fe2-441c-8c8c-71466251a162
* Describe the format= option in the --help output. List the acceptedaurel322008-04-291-3/+14
| | | | | | | values with format=?. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4279 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix wrong type in printf(), introduced in revision 4265aurel322008-04-281-2/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4278 c046a42c-6fe2-441c-8c8c-71466251a162
* add format= to drive options (CVE-2008-2004)aurel322008-04-282-2/+15
| | | | | | | | | | | | | | | | | 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
* Fix a typo introduced in revision 4272aurel322008-04-281-1/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4276 c046a42c-6fe2-441c-8c8c-71466251a162
* BIOS: Reenable processor SSDT generation. Don't advertise ACPI C2 or C3aurel322008-04-282-42/+39
| | | | | | | support. Thanks to Avi Kivity for the pointer. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4275 c046a42c-6fe2-441c-8c8c-71466251a162
* Factorize code in translate.caurel322008-04-2811-95/+125
| | | | | | | (Glauber Costa) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4274 c046a42c-6fe2-441c-8c8c-71466251a162
* qemu ppc uic: Order IRQ bit number as described in the UIC documentation.aurel322008-04-282-23/+24
| | | | | | | (Hollis Blanchard) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4273 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix a typo in cpu_physical_memory_rw()aurel322008-04-271-6/+6
| | | | | | | (Samuel Thibault) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4272 c046a42c-6fe2-441c-8c8c-71466251a162
* Add a monitor command to raise NMIaurel322008-04-271-0/+17
| | | | | | | (Jan Kiszka) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4271 c046a42c-6fe2-441c-8c8c-71466251a162
* bios: disable processor SSDT generation. Fixes high idle load onaurel322008-04-272-44/+67
| | | | | | | x86/x86-64. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4270 c046a42c-6fe2-441c-8c8c-71466251a162
* musicpal: Fix output level of 8-bit samples (Jan Kiszka).balrog2008-04-271-3/+3
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4269 c046a42c-6fe2-441c-8c8c-71466251a162
* Ignore the wrapping of acpi timer counter again.balrog2008-04-271-46/+38
| | | | | | | Revert problematic change to restore system_powerdown. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4268 c046a42c-6fe2-441c-8c8c-71466251a162
* Treat DNS a special case among special addresses in slirp (Jason Wessel).balrog2008-04-271-3/+4
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4267 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix a regression introduced by my previous commit, ram_size is nowaurel322008-04-272-3/+3
| | | | | | | unsigned. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4266 c046a42c-6fe2-441c-8c8c-71466251a162
* Use correct types to enable > 2G support, based on a patch fromaurel322008-04-2738-102/+177
| | | | | | | Anthony Liguori. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4265 c046a42c-6fe2-441c-8c8c-71466251a162
* Revert wrong changesblueswir12008-04-271-2/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4264 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix broken TCX vram, restore Sun4u PROM_SIZE_MAXblueswir12008-04-272-15/+18
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4263 c046a42c-6fe2-441c-8c8c-71466251a162
* IO ports registration errors are fatal errors.balrog2008-04-261-7/+5
| | | | | | | 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
* Errors while registering ioports are not fatal (Glauber Costa).balrog2008-04-261-5/+7
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4261 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix scsi-disk sense-key/status confusion (Marcelo Tosatti).balrog2008-04-261-13/+24
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4260 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix slirp udp source address contamination (Jason Wessel)balrog2008-04-261-1/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4259 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix sci irq set when acpi timer about to wrap (Dor Laor, Yaniv Kamay).balrog2008-04-261-38/+46
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4258 c046a42c-6fe2-441c-8c8c-71466251a162
* Add loop device ioctls (Gary Thomas).balrog2008-04-264-0/+48
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4257 c046a42c-6fe2-441c-8c8c-71466251a162
* Fill in touchscreen calibration values from a Palm T|E.balrog2008-04-261-0/+8
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4256 c046a42c-6fe2-441c-8c8c-71466251a162
* Teach mmap to not overwrite reserved pages and fix brk return value (Richard ↵balrog2008-04-262-7/+17
| | | | | | Purdie). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4255 c046a42c-6fe2-441c-8c8c-71466251a162
* Let WM8750 users write to audio buffer directly.balrog2008-04-263-8/+30
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4254 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix USB and HID report descriptors for mouse and tablet.balrog2008-04-261-18/+17
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4253 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix MusicPal LCD on non-32 bpp displays or with -nographic.balrog2008-04-251-20/+38
| | | | | | | Prevents an immediate segfault. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4252 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix spurious VNC disconnects on Win32 (Hervé Poussineau).balrog2008-04-241-3/+13
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4251 c046a42c-6fe2-441c-8c8c-71466251a162
* Cope with arch-specific page protection flags in mmap (Richard Purdie).balrog2008-04-241-2/+1
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4250 c046a42c-6fe2-441c-8c8c-71466251a162
* Improve audio api use in WM8750.balrog2008-04-241-12/+15
| | | | | | | | | 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
* ARM: Marvell 88w8618 / MusicPal emulation (Jan Kiszka).balrog2008-04-244-0/+1461
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4248 c046a42c-6fe2-441c-8c8c-71466251a162
* Stellaris boards really aren't that big!pbrook2008-04-241-2/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4247 c046a42c-6fe2-441c-8c8c-71466251a162
* RAM usage information in machine definition.balrog2008-04-2428-32/+98
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4246 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix irq handling (Hervé Poussineau)blueswir12008-04-241-15/+33
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4245 c046a42c-6fe2-441c-8c8c-71466251a162
* Copy Sparc64 firmware when installing (Hervé Poussineau)blueswir12008-04-231-1/+2
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4244 c046a42c-6fe2-441c-8c8c-71466251a162
* Document the shift valuesblueswir12008-04-232-12/+18
| | | | git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4243 c046a42c-6fe2-441c-8c8c-71466251a162
* Fix PHYS_ADDR_MASK: upper bits of a PTE are reserved so they are 52 bitsaurel322008-04-221-1/+2
| | | | | | | long. Thanks to Paul Brook for noticing that. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4242 c046a42c-6fe2-441c-8c8c-71466251a162
OpenPOWER on IntegriCloud