qemu
16 years agoFix 64-bit host printf format mismatches.
pbrook [Sat, 10 Nov 2007 16:34:46 +0000 (16:34 +0000)]
Fix 64-bit host printf format mismatches.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3564 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoexported display init functions to common code
bellard [Sat, 10 Nov 2007 15:36:21 +0000 (15:36 +0000)]
exported display init functions to common code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3563 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded cpu_model parameter to cpu_init()
bellard [Sat, 10 Nov 2007 15:15:54 +0000 (15:15 +0000)]
added cpu_model parameter to cpu_init()

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago More Sparc64 CPU definitions
blueswir1 [Sat, 10 Nov 2007 09:32:02 +0000 (09:32 +0000)]
 More Sparc64 CPU definitions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3561 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse FORCE_RET, scrap RETURN which was implemented in target-specific code.
ths [Fri, 9 Nov 2007 23:09:41 +0000 (23:09 +0000)]
Use FORCE_RET, scrap RETURN which was implemented in target-specific code.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3560 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago More CPU definitions
blueswir1 [Fri, 9 Nov 2007 19:08:43 +0000 (19:08 +0000)]
 More CPU definitions

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3559 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix typo, spotted by Samuel Thibault.
ths [Fri, 9 Nov 2007 18:17:50 +0000 (18:17 +0000)]
Fix typo, spotted by Samuel Thibault.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3558 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMove kernel loader parameters from the cpu state to being board specific.
ths [Fri, 9 Nov 2007 17:52:11 +0000 (17:52 +0000)]
Move kernel loader parameters from the cpu state to being board specific.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3557 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoClean out the N32 macros from target-mips, and introduce MIPS ABI specific
ths [Thu, 8 Nov 2007 18:05:37 +0000 (18:05 +0000)]
Clean out the N32 macros from target-mips, and introduce MIPS ABI specific
defines for linux-user.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3556 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMore .cvsignore.
ths [Thu, 8 Nov 2007 16:44:36 +0000 (16:44 +0000)]
More .cvsignore.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3555 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFormatting fix.
ths [Thu, 8 Nov 2007 16:44:01 +0000 (16:44 +0000)]
Formatting fix.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3554 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago.cvsignore dependency files.
ths [Thu, 8 Nov 2007 16:43:05 +0000 (16:43 +0000)]
.cvsignore dependency files.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3553 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRevert "Last AIO Patch" as requested by Fabrice, it is incomplete and
ths [Thu, 8 Nov 2007 16:38:17 +0000 (16:38 +0000)]
Revert "Last AIO Patch" as requested by Fabrice, it is incomplete and
breaks other (non-Windows) systems.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3552 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved obsolete x86 code copy support
bellard [Thu, 8 Nov 2007 14:25:03 +0000 (14:25 +0000)]
removed obsolete x86 code copy support

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3551 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved
bellard [Thu, 8 Nov 2007 14:24:28 +0000 (14:24 +0000)]
removed

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3550 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved unused code
bellard [Thu, 8 Nov 2007 14:01:49 +0000 (14:01 +0000)]
removed unused code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3549 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded -cpu option for x86 - fixed glibc hack in case the global variables are moved
bellard [Thu, 8 Nov 2007 13:56:19 +0000 (13:56 +0000)]
added -cpu option for x86 - fixed glibc hack in case the global variables are moved

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3548 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded -cpu option for x86 (initial patch by Dan Kenigsberg)
bellard [Thu, 8 Nov 2007 13:28:47 +0000 (13:28 +0000)]
added -cpu option for x86 (initial patch by Dan Kenigsberg)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3547 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agouse config-host.h instead of config.h
bellard [Wed, 7 Nov 2007 19:27:18 +0000 (19:27 +0000)]
use config-host.h instead of config.h

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3546 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agofixed QEMU_TOOL tests
bellard [Wed, 7 Nov 2007 19:26:22 +0000 (19:26 +0000)]
fixed QEMU_TOOL tests

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3545 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSDL and COCA are no longer target dependent - support for common code compilation
bellard [Wed, 7 Nov 2007 19:25:15 +0000 (19:25 +0000)]
SDL and COCA are no longer target dependent - support for common code compilation

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3544 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agocompile common code once
bellard [Wed, 7 Nov 2007 19:24:02 +0000 (19:24 +0000)]
compile common code once

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3543 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago CPU specific boot mode (Robert Reif)
blueswir1 [Wed, 7 Nov 2007 17:03:37 +0000 (17:03 +0000)]
 CPU specific boot mode (Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3542 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoremoved traces
bellard [Wed, 7 Nov 2007 16:54:42 +0000 (16:54 +0000)]
removed traces

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3541 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoadded -startdate option
bellard [Wed, 7 Nov 2007 16:24:33 +0000 (16:24 +0000)]
added -startdate option

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3540 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agomoved declarations
bellard [Wed, 7 Nov 2007 16:07:32 +0000 (16:07 +0000)]
moved declarations

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3539 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd -lpthread flag.
ths [Mon, 5 Nov 2007 13:27:21 +0000 (13:27 +0000)]
Add -lpthread flag.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3538 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix muls64 prototype to match the actual implementation.
j_mayer [Mon, 5 Nov 2007 13:16:23 +0000 (13:16 +0000)]
Fix muls64 prototype to match the actual implementation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3537 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCode used by the linux-user targets should not use vl.h.
j_mayer [Mon, 5 Nov 2007 13:01:41 +0000 (13:01 +0000)]
Code used by the linux-user targets should not use vl.h.
Include exec.h instead.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3536 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoNo functional changes: remove dead code and fix indentation & wrapping lines.
j_mayer [Mon, 5 Nov 2007 03:11:37 +0000 (03:11 +0000)]
No functional changes: remove dead code and fix indentation & wrapping lines.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3535 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoZeroing ITR shouldn't ack irq zero.
balrog [Sun, 4 Nov 2007 22:53:50 +0000 (22:53 +0000)]
Zeroing ITR shouldn't ack irq zero.
Fix PWT & PWL clocks, fix user refcounting for clocks, add 'hsab_ck' and 'usb_w2fc_ck'.
Fix TCMI register addresses.
Implement OMAP McBSP controller and connection to I2S-compatible CODECs.
Add audio support for TSC2102 as an I2S CODEC.
Connect TSC2102 I2S interface to CPU's McBSP1 interface in the Palm Tungsten|E.
Correct '>' instead of '>>' typos.
Implement GPIO PIN_CONTROL register (not in OMAP310 TRM, from OMAP1510).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3534 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Change sysctrl register to 32 bits (original patch by Robert Reif)
blueswir1 [Sun, 4 Nov 2007 17:27:07 +0000 (17:27 +0000)]
 Change sysctrl register to 32 bits (original patch by Robert Reif)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3533 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix memory corruption: bdrv_read/write API has been changed to take
j_mayer [Sun, 4 Nov 2007 17:17:08 +0000 (17:17 +0000)]
Fix memory corruption: bdrv_read/write API has been changed to take
  nb_sectors instead of len in bytes but the fdc driver has never been fixed.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3532 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix Solaris breakage
blueswir1 [Sun, 4 Nov 2007 16:58:07 +0000 (16:58 +0000)]
 Fix Solaris breakage

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3531 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd register mappings in DSP space (must be accessible for MPU too).
balrog [Sun, 4 Nov 2007 12:19:22 +0000 (12:19 +0000)]
Add register mappings in DSP space (must be accessible for MPU too).
Don't set microwire CSR-busy bit too early.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3530 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Constification
blueswir1 [Sun, 4 Nov 2007 12:00:17 +0000 (12:00 +0000)]
 Constification

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3529 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Remove target dependent code
blueswir1 [Sun, 4 Nov 2007 11:59:15 +0000 (11:59 +0000)]
 Remove target dependent code

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3528 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMake accesses with wrong width also work as apparently real hardware allows them...
balrog [Sun, 4 Nov 2007 11:42:11 +0000 (11:42 +0000)]
Make accesses with wrong width also work as apparently real hardware allows them when the fault is disabled.
Fix DMA register writes if target_phys_addr_t is 64-bit.
Make more functions static.
A timer hack to make PalmOS run in finite time (uses very short timer periods, much shorter than clocksource tick).
Re-calculate internal clock rates on start-up.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3527 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix grackle (in fact MPC106) PCI host bridge header
j_mayer [Sun, 4 Nov 2007 08:49:01 +0000 (08:49 +0000)]
Fix grackle (in fact MPC106) PCI host bridge header
 to avoid confusing firmwares and OSes.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3526 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix debug statements
blueswir1 [Sun, 4 Nov 2007 07:31:40 +0000 (07:31 +0000)]
 Fix debug statements

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3525 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoPowerPC 601 need specific callbacks for its BATs setup.
j_mayer [Sun, 4 Nov 2007 02:55:33 +0000 (02:55 +0000)]
PowerPC 601 need specific callbacks for its BATs setup.
Implement PowerPC 601 HID0 register, needed for little-endian mode support.
As a consequence, we need to merge hflags coming from MSR with other ones.
Use little-endian mode from hflags instead of MSR during code translation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3524 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFor consistency, move muls64 / mulu64 prototypes to host-utils.h
j_mayer [Sun, 4 Nov 2007 02:24:58 +0000 (02:24 +0000)]
For consistency, move muls64 / mulu64 prototypes to host-utils.h
Make x86_64 optimized versions inline.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3523 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImprove PowerPC CPU state dump.
j_mayer [Sun, 4 Nov 2007 01:57:29 +0000 (01:57 +0000)]
Improve PowerPC CPU state dump.
Dump NIP on SPR access faults.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3522 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix PowerMac NVRAM device.
j_mayer [Sun, 4 Nov 2007 01:16:04 +0000 (01:16 +0000)]
Fix PowerMac NVRAM device.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3521 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix some compiler warnings.
ths [Sat, 3 Nov 2007 15:12:16 +0000 (15:12 +0000)]
Fix some compiler warnings.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3520 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix PowerPC high BATs access: BAT number was incorrect.
j_mayer [Sat, 3 Nov 2007 14:23:07 +0000 (14:23 +0000)]
Fix PowerPC high BATs access: BAT number was incorrect.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3519 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoPowerPC MMU and exception fixes:
j_mayer [Sat, 3 Nov 2007 13:37:12 +0000 (13:37 +0000)]
PowerPC MMU and exception fixes:
* PowerPC 601 (and probably POWER/POWER2) uses a different BAT format than
  later PowerPC implementation.
* Bugfix in BATs check: must not stop after 4 BATs when more are provided.
* Enable POWER 'rac' instruction.
* Fix exception prefix for all supported PowerPC implementations.
* Fix exceptions, MMU model and bus model for PowerPC 601 & 620.
* Enable PowerPC 620 as it could mostly boot a PreP target.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3518 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix incorrect PowerPC instruction fetch exception dump.
j_mayer [Sat, 3 Nov 2007 13:22:08 +0000 (13:22 +0000)]
Fix incorrect PowerPC instruction fetch exception dump.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3517 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSplit I^2C controller out of hw/omap.c.
balrog [Sat, 3 Nov 2007 12:50:46 +0000 (12:50 +0000)]
Split I^2C controller out of hw/omap.c.
Insert a list of missing memory mappings from OMAP310 datasheet.
Add missing "rtc" field for RTC.
Correct PWL and PWT register read/write handler pointers.
Add a Changelog entry about OMAP emulation.
Add a qemu-doc snippet about Palm T|E platform.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3516 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement OMAP on-chip RTC (Linux guest date/time now matches with host).
balrog [Sat, 3 Nov 2007 12:44:02 +0000 (12:44 +0000)]
Implement OMAP on-chip RTC (Linux guest date/time now matches with host).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3515 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoInitial OMAP I^2C controller implementation (communication not tested).
balrog [Sat, 3 Nov 2007 00:51:03 +0000 (00:51 +0000)]
Initial OMAP I^2C controller implementation (communication not tested).
Correct an i2c_start_transfer comment.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3514 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd OMAP Pulse-width Tone module.
balrog [Sat, 3 Nov 2007 00:48:26 +0000 (00:48 +0000)]
Add OMAP Pulse-width Tone module.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3513 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement OMAP PWL (backlight) module.
balrog [Sat, 3 Nov 2007 00:46:16 +0000 (00:46 +0000)]
Implement OMAP PWL (backlight) module.
Fix GPIO clock name and output level change notifications.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3512 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoThe PINT/DAV pin is active low in the chip spec, not inverted on the board.
balrog [Sat, 3 Nov 2007 00:41:31 +0000 (00:41 +0000)]
The PINT/DAV pin is active low in the chip spec, not inverted on the board.
Make changes on known GPIO lines be verbose, initialise GPIO levels.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3511 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDon't print any message when a priviledge exception occurs on mfpvr
j_mayer [Fri, 2 Nov 2007 22:47:50 +0000 (22:47 +0000)]
Don't print any message when a priviledge exception occurs on mfpvr
as the Linux allows applications to read this register.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3510 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix PowerPC program exception that was broken by FPU exception patches
j_mayer [Fri, 2 Nov 2007 22:35:33 +0000 (22:35 +0000)]
Fix PowerPC program exception that was broken by FPU exception patches
  (bug reported by  Jason Wessel)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3509 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoEFAULT - update __get_user() __put_user(), by Thayne Harbaugh.
ths [Fri, 2 Nov 2007 20:24:22 +0000 (20:24 +0000)]
EFAULT - update __get_user() __put_user(), by Thayne Harbaugh.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3508 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix compiler warnings, by Stefan Weil.
ths [Fri, 2 Nov 2007 19:08:57 +0000 (19:08 +0000)]
Fix compiler warnings, by Stefan Weil.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3507 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoEFAULT - verify pages are in cache and are read/write, by Thayne Harbaugh.
ths [Fri, 2 Nov 2007 19:02:07 +0000 (19:02 +0000)]
EFAULT - verify pages are in cache and are read/write, by Thayne Harbaugh.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3506 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Fix slirp compilation failure when using a newer gcc
blueswir1 [Thu, 1 Nov 2007 19:23:51 +0000 (19:23 +0000)]
 Fix slirp compilation failure when using a newer gcc

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3505 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd new files fir strace support, missed in earlier commit.
ths [Thu, 1 Nov 2007 00:13:36 +0000 (00:13 +0000)]
Add new files fir strace support, missed in earlier commit.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3504 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMention userland strace support, and mipssim machine emulation.
ths [Thu, 1 Nov 2007 00:11:47 +0000 (00:11 +0000)]
Mention userland strace support, and mipssim machine emulation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3503 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoStrace for userland emulation, by Stuart Anderson and Thayne Harbaugh.
ths [Thu, 1 Nov 2007 00:07:38 +0000 (00:07 +0000)]
Strace for userland emulation, by Stuart Anderson and Thayne Harbaugh.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3502 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix CR ops with complement, thanks to Julian Seward for testing
j_mayer [Wed, 31 Oct 2007 22:02:17 +0000 (22:02 +0000)]
Fix CR ops with complement, thanks to Julian Seward for testing
                            and reporting the bug :
* remove bugged CR ops specific micro-ops
* use standard and / or / shift operations instead
* comment not-used-anymore op_store_T1_crf_crf micro-op template.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3501 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd copyright and license header.
ths [Wed, 31 Oct 2007 17:14:08 +0000 (17:14 +0000)]
Add copyright and license header.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3500 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoCorrect the WBINVD intercept in SVM (Alexander Graf).
balrog [Wed, 31 Oct 2007 02:01:33 +0000 (02:01 +0000)]
Correct the WBINVD intercept in SVM (Alexander Graf).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3499 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoHandle 3.7 VNC clients authentication correctly (Dan Kenigsberg).
balrog [Wed, 31 Oct 2007 01:58:56 +0000 (01:58 +0000)]
Handle 3.7 VNC clients authentication correctly (Dan Kenigsberg).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3498 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSet boot sequence from command line (Dan Kenigsberg).
balrog [Wed, 31 Oct 2007 01:54:04 +0000 (01:54 +0000)]
Set boot sequence from command line (Dan Kenigsberg).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3497 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoSupport multipart images as input to qemu-img (Salvador Fandino).
balrog [Wed, 31 Oct 2007 01:11:44 +0000 (01:11 +0000)]
Support multipart images as input to qemu-img (Salvador Fandino).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3496 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd gcc-3.4.6 to the list of gcc3 versions (Carlo Marcelo Arenas Belon).
balrog [Wed, 31 Oct 2007 01:03:28 +0000 (01:03 +0000)]
Add gcc-3.4.6 to the list of gcc3 versions (Carlo Marcelo Arenas Belon).
Add --disable-sdl to configure's help (Carlo Marcelo Arenas Belon).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3495 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoInvalidate TLBs when domains are changed (Matthew Warton).
balrog [Wed, 31 Oct 2007 00:47:13 +0000 (00:47 +0000)]
Invalidate TLBs when domains are changed (Matthew Warton).
Legalise cp15 pid register writes (Matthew Warton).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3494 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoOHCI USB isochronous transfers support (Arnon Gilboa).
balrog [Wed, 31 Oct 2007 00:34:21 +0000 (00:34 +0000)]
OHCI USB isochronous transfers support (Arnon Gilboa).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3493 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse a O_NONBLOCK pipe for iso completion signals for thread-safety, by Arnon Gilboa.
balrog [Wed, 31 Oct 2007 00:27:50 +0000 (00:27 +0000)]
Use a O_NONBLOCK pipe for iso completion signals for thread-safety, by Arnon Gilboa.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3492 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agox86_64 support in cpu_gdb_read_registers(), by Goran Weinholt.
balrog [Wed, 31 Oct 2007 00:21:35 +0000 (00:21 +0000)]
x86_64 support in cpu_gdb_read_registers(), by Goran Weinholt.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3491 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDeclare function before use, reduces compiler warning noise.
ths [Tue, 30 Oct 2007 23:19:52 +0000 (23:19 +0000)]
Declare function before use, reduces compiler warning noise.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3490 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMiscellaneous VNC related fixes from Xen forwarded by Matthew Kent.
balrog [Tue, 30 Oct 2007 22:38:53 +0000 (22:38 +0000)]
Miscellaneous VNC related fixes from Xen forwarded by Matthew Kent.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3489 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoDo not make NETLINK socket connections possible (Alexander Graf).
balrog [Tue, 30 Oct 2007 21:06:14 +0000 (21:06 +0000)]
Do not make NETLINK socket connections possible (Alexander Graf).

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3488 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix two PowerPC FPU emulation bugs (thanks to Aurelien Jarno)
j_mayer [Mon, 29 Oct 2007 21:54:35 +0000 (21:54 +0000)]
Fix two PowerPC FPU emulation bugs (thanks to Aurelien Jarno)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3487 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdjust s390 addresses (the MSB is defined as "to be ignored").
ths [Mon, 29 Oct 2007 14:39:49 +0000 (14:39 +0000)]
Adjust s390 addresses (the MSB is defined as "to be ignored").

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3486 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd a qemu_irq_invert() shortcut for inverting a signal.
balrog [Mon, 29 Oct 2007 10:59:29 +0000 (10:59 +0000)]
Add a qemu_irq_invert() shortcut for inverting a signal.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3485 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd a TI TSC2102 chip (touchscreen/ADC/audio-CODEC controller).
balrog [Mon, 29 Oct 2007 10:34:01 +0000 (10:34 +0000)]
Add a TI TSC2102 chip (touchscreen/ADC/audio-CODEC controller).
Fix GPIO memory mapping address and register width.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3484 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix PreP PCI IRQ mapping.
j_mayer [Mon, 29 Oct 2007 10:24:59 +0000 (10:24 +0000)]
Fix PreP PCI IRQ mapping.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3483 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoTemporary hack to avoid Qemu crash at PowerPC reset time.
j_mayer [Mon, 29 Oct 2007 10:22:58 +0000 (10:22 +0000)]
Temporary hack to avoid Qemu crash at PowerPC reset time.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3482 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement PreP reset port.
j_mayer [Mon, 29 Oct 2007 10:21:12 +0000 (10:21 +0000)]
Implement PreP reset port.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3481 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoPowerPC 601 / 620 / 970 need a 1MB firmware.
j_mayer [Mon, 29 Oct 2007 10:19:50 +0000 (10:19 +0000)]
PowerPC 601 / 620 / 970 need a 1MB firmware.
This option is not allowed for PowerMac, as it would overlap with NVRAM.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3480 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoPreliminary MIPS64R2 mode.
ths [Mon, 29 Oct 2007 09:38:43 +0000 (09:38 +0000)]
Preliminary MIPS64R2 mode.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3479 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoFix logic bug which broke TLBL/TLBS handling somewhat.
ths [Mon, 29 Oct 2007 02:57:19 +0000 (02:57 +0000)]
Fix logic bug which broke TLBL/TLBS handling somewhat.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3478 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement OMAP MicroWire controller.
balrog [Mon, 29 Oct 2007 01:50:05 +0000 (01:50 +0000)]
Implement OMAP MicroWire controller.
Fix GPIO interrupt number.
Reorder a couple of variables.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3477 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoRestrict CP0_PerfCnt to legal values.
ths [Mon, 29 Oct 2007 00:49:32 +0000 (00:49 +0000)]
Restrict CP0_PerfCnt to legal values.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3476 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago* sort the PowerPC target object files
j_mayer [Sun, 28 Oct 2007 23:42:18 +0000 (23:42 +0000)]
* sort the PowerPC target object files
* make PowerPC NVRAM accessors generic to be able to use a MacIO NVRAM
  instead of the M48T59 one
* split PowerMac targets code:
 - move all PowerMac related definitions and prototypes into hw/ppc_mac.h
 - add hw/mac_dbdma.c, hw/mac_nvram.c and macio.c
   which implements shared PowerMac devices
 - define the g3bw machine in a new hw/ppc_oldworld.c file
* Fix the g3bw target:
 - fix the Grackle host PCI device
 - connect the Heathrow PIC to the PowerPC 6xx bus pins

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3475 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoGive an opaque to the m48t59 direct access routines to make it easier
j_mayer [Sun, 28 Oct 2007 23:33:05 +0000 (23:33 +0000)]
Give an opaque to the m48t59 direct access routines to make it easier
 to use another NVRAM with the same API.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3474 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd OMAP Shared GPIO module.
balrog [Sun, 28 Oct 2007 21:02:29 +0000 (21:02 +0000)]
Add OMAP Shared GPIO module.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3473 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement missing MIPS supervisor mode bits.
ths [Sun, 28 Oct 2007 19:45:05 +0000 (19:45 +0000)]
Implement missing MIPS supervisor mode bits.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3472 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoHandle MMC card insertion/removal/readonly signals.
balrog [Sun, 28 Oct 2007 19:24:52 +0000 (19:24 +0000)]
Handle MMC card insertion/removal/readonly signals.
Hook them up to Palm T|E GPIOs.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3471 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd PalmT|E matrix keypad connected to OMAP GPIOs.
balrog [Sun, 28 Oct 2007 18:29:04 +0000 (18:29 +0000)]
Add PalmT|E matrix keypad connected to OMAP GPIOs.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3470 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoImplement OMAP1 MPU I/O module.
balrog [Sun, 28 Oct 2007 16:45:01 +0000 (16:45 +0000)]
Implement OMAP1 MPU I/O module.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3469 c046a42c-6fe2-441c-8c8c-71466251a162

16 years ago Use shared ctpop64 helper
blueswir1 [Sun, 28 Oct 2007 14:35:04 +0000 (14:35 +0000)]
 Use shared ctpop64 helper

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3468 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoUse cpp to generate correct build dependencies for target objects
j_mayer [Sun, 28 Oct 2007 13:07:12 +0000 (13:07 +0000)]
Use cpp to generate correct build dependencies for target objects
 instead of using incomplete hardcoded ones.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3467 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoMake Alpha and PowerPC targets use shared helpers
j_mayer [Sun, 28 Oct 2007 12:54:53 +0000 (12:54 +0000)]
Make Alpha and PowerPC targets use shared helpers
 for clz, clo, ctz, cto and ctpop.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3466 c046a42c-6fe2-441c-8c8c-71466251a162

16 years agoAdd shared ctz32, cto32, ctz64, cto64,
j_mayer [Sun, 28 Oct 2007 12:52:38 +0000 (12:52 +0000)]
Add shared ctz32, cto32, ctz64, cto64,
 ctpop8, ctpop16, ctpop32 and ctpop64 helpers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3465 c046a42c-6fe2-441c-8c8c-71466251a162