sdk/emulator/qemu.git
16 years ago Remove unnecessary register masking (Robert Reif)
blueswir1 [Sat, 17 Nov 2007 08:21:43 +0000 (08:21 +0000)]
 Remove unnecessary register masking (Robert Reif)

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

16 years ago Fix MXCC error register (Robert Reif)
blueswir1 [Sat, 17 Nov 2007 08:19:57 +0000 (08:19 +0000)]
 Fix MXCC error register (Robert Reif)

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

16 years ago Add MXCC module reset register (Robert Reif)
blueswir1 [Sat, 17 Nov 2007 08:18:59 +0000 (08:18 +0000)]
 Add MXCC module reset register (Robert Reif)

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

16 years agoMake the PowerPC MMU model, exception model and input bus model
j_mayer [Sat, 17 Nov 2007 02:16:14 +0000 (02:16 +0000)]
Make the PowerPC MMU model, exception model and input bus model
 typedefed enums.

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

16 years agoAdd missing definition for number of input pins for the PowerPC 970 bus.
j_mayer [Sat, 17 Nov 2007 02:04:00 +0000 (02:04 +0000)]
Add missing definition for number of input pins for the PowerPC 970 bus.
Use proper INPUT_NB definitions to allocate PowerPC input pins structure,
  fixing a buffer overflow in the 6xx bus case.

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

16 years agoRemove ppc64h CPUs definitions from the configure script.
j_mayer [Sat, 17 Nov 2007 01:54:45 +0000 (01:54 +0000)]
Remove ppc64h CPUs definitions from the configure script.

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

16 years agoResynchronize darwin-user target with linux-user:
j_mayer [Sat, 17 Nov 2007 01:52:38 +0000 (01:52 +0000)]
Resynchronize darwin-user target with linux-user:
add CPU selection feature, choose the correct default CPU and set
the 32/64 bits computation mode properly.

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

16 years agoAlways make all PowerPC exception definitions visible.
j_mayer [Sat, 17 Nov 2007 01:37:44 +0000 (01:37 +0000)]
Always make all PowerPC exception definitions visible.
Always make the hypervisor timers available.
Remove all TARGET_PPC64H checks, keeping a few if (0) tests for cases
that cannot be properly handled with the current PowerPC CPU definition.

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

16 years agoFix NaN handling for MIPS and HPPA.
ths [Fri, 16 Nov 2007 14:57:36 +0000 (14:57 +0000)]
Fix NaN handling for MIPS and HPPA.

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

16 years agoAlways make PowerPC hypervisor mode memory accesses and instructions
j_mayer [Fri, 16 Nov 2007 14:11:28 +0000 (14:11 +0000)]
Always make PowerPC hypervisor mode memory accesses and instructions
  available for full system emulation, then removing all #if TARGET_PPC64H
  from micro-ops and code translator.
Add new macros to dramatically simplify memory access tables definitions
  in target-ppc/translate.c.

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

16 years agosuppressed tgetx and tputx (initial patch by Thayne Harbaugh)
bellard [Fri, 16 Nov 2007 10:46:05 +0000 (10:46 +0000)]
suppressed tgetx and tputx (initial patch by Thayne Harbaugh)

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

16 years agoInit dumb display if no others available.
pbrook [Thu, 15 Nov 2007 19:04:08 +0000 (19:04 +0000)]
Init dumb display if no others available.

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

16 years agoforce correct ppc64 cpu
bellard [Thu, 15 Nov 2007 15:37:50 +0000 (15:37 +0000)]
force correct ppc64 cpu

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

16 years agox86_64 fixes
bellard [Thu, 15 Nov 2007 15:27:03 +0000 (15:27 +0000)]
x86_64 fixes

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

16 years agoUpdate OpenBIOS image to SVN revision 176. Changes:
blueswir1 [Wed, 14 Nov 2007 19:41:26 +0000 (19:41 +0000)]
Update OpenBIOS image to SVN revision 176. Changes:
r172: Enable boot mode in the exception handler for both SuperSparc and TurboSparc
r173: More CPU definitions
r174: Add Sparc64 CPU identification
r175: Add SPARCserver 600MP emulation
r176: Update OHW interface to version 3.

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

16 years agoUpdate OHW interface to version 3.
blueswir1 [Wed, 14 Nov 2007 19:35:16 +0000 (19:35 +0000)]
Update OHW interface to version 3.
Use common ABI description file with OpenBIOS.

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

16 years agoFix PowerPC targets compilation on 32 bits hosts:
j_mayer [Wed, 14 Nov 2007 18:45:52 +0000 (18:45 +0000)]
Fix PowerPC targets compilation on 32 bits hosts:
now that the SPE extension is available for all targets,
 we always need to have some 64 bits temporary registers.

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

16 years agox86_64 linux user emulation
bellard [Wed, 14 Nov 2007 18:08:56 +0000 (18:08 +0000)]
x86_64 linux user emulation

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

16 years agoprintf format fix
bellard [Wed, 14 Nov 2007 18:04:05 +0000 (18:04 +0000)]
printf format fix

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

16 years agoi386 TLS support
bellard [Wed, 14 Nov 2007 15:18:40 +0000 (15:18 +0000)]
i386 TLS support

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

16 years agoalways define TARGET_ABI32 if 32 bit user
bellard [Wed, 14 Nov 2007 15:16:52 +0000 (15:16 +0000)]
always define TARGET_ABI32 if 32 bit user

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

16 years agofixed target_mmap() if host page size < TARGET_PAGE_SIZE
bellard [Wed, 14 Nov 2007 11:29:07 +0000 (11:29 +0000)]
fixed target_mmap() if host page size < TARGET_PAGE_SIZE

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

16 years agosuppressed page_unprotect_range() - fixed access_ok()
bellard [Wed, 14 Nov 2007 10:51:00 +0000 (10:51 +0000)]
suppressed page_unprotect_range() - fixed access_ok()

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

16 years agoremoved obsolete test2 target
bellard [Wed, 14 Nov 2007 10:34:57 +0000 (10:34 +0000)]
removed obsolete test2 target

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

16 years agoadded lock_user() in target_strlen()
bellard [Wed, 14 Nov 2007 10:17:35 +0000 (10:17 +0000)]
added lock_user() in target_strlen()

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

16 years agoFix invalid PowerPC 64 rldimi optimized case.
j_mayer [Wed, 14 Nov 2007 05:26:46 +0000 (05:26 +0000)]
Fix invalid PowerPC 64 rldimi optimized case.

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

16 years agoIntroduce 4KEm configuration with fixed MMU mapping. Delete bogus INSN_DSP
ths [Wed, 14 Nov 2007 03:11:17 +0000 (03:11 +0000)]
Introduce 4KEm configuration with fixed MMU mapping. Delete bogus INSN_DSP
flags.

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

16 years agoReorganize PowerPC instructions categories, add icbi separate case.
j_mayer [Wed, 14 Nov 2007 01:08:45 +0000 (01:08 +0000)]
Reorganize PowerPC instructions categories, add icbi separate case.
Fix frsqrtes instruction opcode.

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

16 years agoFix signed/unsigned comparisons in OHCI host.
balrog [Tue, 13 Nov 2007 22:52:54 +0000 (22:52 +0000)]
Fix signed/unsigned comparisons in OHCI host.
ADS7846 is partially compatible with TSC2046.

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

16 years agoRevert an accidental change in previous commit.
balrog [Tue, 13 Nov 2007 01:56:12 +0000 (01:56 +0000)]
Revert an accidental change in previous commit.

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

16 years agoPrevent cpsr_write/_read be put out of line in op.o (fixes a segfault on some platforms).
balrog [Tue, 13 Nov 2007 01:50:15 +0000 (01:50 +0000)]
Prevent cpsr_write/_read be put out of line in op.o (fixes a segfault on some platforms).

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

16 years agoAdd PVR and SPR definition for most embedded PowerPC from Freescale.
j_mayer [Mon, 12 Nov 2007 23:40:49 +0000 (23:40 +0000)]
Add PVR and SPR definition for most embedded PowerPC from Freescale.

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

16 years agoPowerPC SPE extension fix: must always preserve GPR high bits when
j_mayer [Mon, 12 Nov 2007 23:29:14 +0000 (23:29 +0000)]
PowerPC SPE extension fix: must always preserve GPR high bits when
  running in 32 bits mode.

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

16 years agoadded missing return
bellard [Mon, 12 Nov 2007 23:12:17 +0000 (23:12 +0000)]
added missing return

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

16 years agoreduce verbosity
bellard [Mon, 12 Nov 2007 21:16:08 +0000 (21:16 +0000)]
reduce verbosity

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

16 years agoAllow use of SPE extension by all PowerPC targets,
j_mayer [Mon, 12 Nov 2007 01:56:18 +0000 (01:56 +0000)]
Allow use of SPE extension by all PowerPC targets,
  adding gprh registers to store GPR MSBs when GPRs are 32 bits.
Remove not-needed-anymore ppcemb-linux-user target.
Keep ppcemb-softmmu target, which provides 1kB pages support
  and 36 bits physical address space.

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

16 years agoMore PowerPC target -1 usage fixes (reservation address).
j_mayer [Mon, 12 Nov 2007 00:50:50 +0000 (00:50 +0000)]
More PowerPC target -1 usage fixes (reservation address).

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

16 years agoFix usage of the -1 constant in the PowerPC target code:
j_mayer [Mon, 12 Nov 2007 00:04:48 +0000 (00:04 +0000)]
Fix usage of the -1 constant in the PowerPC target code:
fix invalid size casts and/or sign-extensions.

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

16 years ago64 bit cast for dirent64
bellard [Sun, 11 Nov 2007 23:11:36 +0000 (23:11 +0000)]
64 bit cast for dirent64

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

16 years agofixed more invalid pointer usage
bellard [Sun, 11 Nov 2007 23:03:42 +0000 (23:03 +0000)]
fixed more invalid pointer usage

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

16 years agouser access fixes
bellard [Sun, 11 Nov 2007 22:23:38 +0000 (22:23 +0000)]
user access fixes

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

16 years ago64 bit compilation fixes
bellard [Sun, 11 Nov 2007 22:22:34 +0000 (22:22 +0000)]
64 bit compilation fixes

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

16 years agoconsistent types for cpu_x86_fsave and cpu_x86_frstor
bellard [Sun, 11 Nov 2007 22:16:56 +0000 (22:16 +0000)]
consistent types for cpu_x86_fsave and cpu_x86_frstor

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

16 years agobetter to disable -Werror by default as 64 bit hosts still have warnings
bellard [Sun, 11 Nov 2007 20:24:30 +0000 (20:24 +0000)]
better to disable -Werror by default as 64 bit hosts still have warnings

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

16 years agoupdate
bellard [Sun, 11 Nov 2007 20:17:14 +0000 (20:17 +0000)]
update

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

16 years agooptions to enable or disable -Werror. Enable -Werror for builds from CVS by default
bellard [Sun, 11 Nov 2007 20:17:03 +0000 (20:17 +0000)]
options to enable or disable -Werror. Enable -Werror for builds from CVS by default

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 20:14:28 +0000 (20:14 +0000)]
removed warning

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 19:50:22 +0000 (19:50 +0000)]
removed warning

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

16 years agofixed FPU rounding init
bellard [Sun, 11 Nov 2007 19:49:51 +0000 (19:49 +0000)]
fixed FPU rounding init

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

16 years agoremoved unused variable
bellard [Sun, 11 Nov 2007 19:49:08 +0000 (19:49 +0000)]
removed unused variable

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

16 years agofixed cast
bellard [Sun, 11 Nov 2007 19:48:47 +0000 (19:48 +0000)]
fixed cast

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

16 years agoremoved unused variables
bellard [Sun, 11 Nov 2007 19:48:33 +0000 (19:48 +0000)]
removed unused variables

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

16 years agouse correct printf format
bellard [Sun, 11 Nov 2007 19:47:59 +0000 (19:47 +0000)]
use correct printf format

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

16 years agofixed invalid constant
bellard [Sun, 11 Nov 2007 19:47:02 +0000 (19:47 +0000)]
fixed invalid constant

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

16 years agoremoved unused code
bellard [Sun, 11 Nov 2007 19:46:37 +0000 (19:46 +0000)]
removed unused code

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

16 years agoremoved warnings - improved sparc32/64 signal frame setup - disabled x86 frame setup...
bellard [Sun, 11 Nov 2007 19:45:10 +0000 (19:45 +0000)]
removed warnings - improved sparc32/64 signal frame setup - disabled x86 frame setup for x86_64

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 19:34:32 +0000 (19:34 +0000)]
removed warning

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

16 years agosparc64_[get|set]_context are not meaningful in abi32 mode
bellard [Sun, 11 Nov 2007 19:32:52 +0000 (19:32 +0000)]
sparc64_[get|set]_context are not meaningful in abi32 mode

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

16 years agobetter than nothing 64 bit support - added sign extension for TYPE_LONG
bellard [Sun, 11 Nov 2007 19:31:34 +0000 (19:31 +0000)]
better than nothing 64 bit support - added sign extension for TYPE_LONG

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

16 years ago Add SPARCserver 600MP emulation (original patch by Robert Reif)
blueswir1 [Sun, 11 Nov 2007 17:56:38 +0000 (17:56 +0000)]
 Add SPARCserver 600MP emulation (original patch by Robert Reif)

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

16 years agohex numbers must have a leading 0x
bellard [Sun, 11 Nov 2007 17:55:50 +0000 (17:55 +0000)]
hex numbers must have a leading 0x

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

16 years agoremoved invalid use of _INTC_ARRAY
bellard [Sun, 11 Nov 2007 17:51:40 +0000 (17:51 +0000)]
removed invalid use of _INTC_ARRAY

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

16 years agosuppressed invalid TARGET_CMSG_FIRSTHDR macro
bellard [Sun, 11 Nov 2007 17:39:38 +0000 (17:39 +0000)]
suppressed invalid TARGET_CMSG_FIRSTHDR macro

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

16 years agoimproved cmsg handling - improved shm memory code
bellard [Sun, 11 Nov 2007 17:39:18 +0000 (17:39 +0000)]
improved cmsg handling - improved shm memory code

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 17:26:45 +0000 (17:26 +0000)]
removed warning

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

16 years agouse -fno-strict-aliasing
bellard [Sun, 11 Nov 2007 17:26:21 +0000 (17:26 +0000)]
use -fno-strict-aliasing

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

16 years agofixed invalid cast
bellard [Sun, 11 Nov 2007 17:25:52 +0000 (17:25 +0000)]
fixed invalid cast

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

16 years agouse correct types
bellard [Sun, 11 Nov 2007 17:23:29 +0000 (17:23 +0000)]
use correct types

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

16 years agoprintf format fixes
bellard [Sun, 11 Nov 2007 17:22:48 +0000 (17:22 +0000)]
printf format fixes

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

16 years ago Fix Sun4u compile
blueswir1 [Sun, 11 Nov 2007 16:51:04 +0000 (16:51 +0000)]
 Fix Sun4u compile

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

16 years agoremoved warnings - fixed arm stack copy bug
bellard [Sun, 11 Nov 2007 16:22:17 +0000 (16:22 +0000)]
removed warnings - fixed arm stack copy bug

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

16 years agoremoved warning
bellard [Sun, 11 Nov 2007 16:05:35 +0000 (16:05 +0000)]
removed warning

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

16 years agomove get_errno() inside do_fcntl()
bellard [Sun, 11 Nov 2007 15:11:19 +0000 (15:11 +0000)]
move get_errno() inside do_fcntl()

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

16 years agono longer use get_errno for do_modify_ldt()
bellard [Sun, 11 Nov 2007 14:57:14 +0000 (14:57 +0000)]
no longer use get_errno for do_modify_ldt()

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

16 years agoFix format mismatch.
pbrook [Sun, 11 Nov 2007 14:52:02 +0000 (14:52 +0000)]
Fix format mismatch.

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

16 years agofixed error codes
bellard [Sun, 11 Nov 2007 14:50:32 +0000 (14:50 +0000)]
fixed error codes

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

16 years ago-strace option
bellard [Sun, 11 Nov 2007 14:46:06 +0000 (14:46 +0000)]
-strace option

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

16 years agoFix PowerPC boot device selection.
j_mayer [Sun, 11 Nov 2007 14:44:28 +0000 (14:44 +0000)]
Fix PowerPC boot device selection.
Fix gcc warning in PowerPC PreP machine init routine.
Add second IDE channel to Heathrow Mac machine (still not handled by OHW).

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

16 years agocompilation fixes
bellard [Sun, 11 Nov 2007 14:43:13 +0000 (14:43 +0000)]
compilation fixes

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

16 years agoFix msr_mask.
pbrook [Sun, 11 Nov 2007 14:36:36 +0000 (14:36 +0000)]
Fix msr_mask.

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

16 years agoLinux user memory access API change (initial patch by Thayne Harbaugh)
bellard [Sun, 11 Nov 2007 14:26:47 +0000 (14:26 +0000)]
Linux user memory access API change (initial patch by Thayne Harbaugh)

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

16 years agofixed invalid type
bellard [Sun, 11 Nov 2007 12:35:55 +0000 (12:35 +0000)]
fixed invalid type

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

16 years agomips_r4k warning fixes.
pbrook [Sun, 11 Nov 2007 12:02:33 +0000 (12:02 +0000)]
mips_r4k warning fixes.

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

16 years agoblock-raw/kqemu fix.
pbrook [Sun, 11 Nov 2007 11:43:27 +0000 (11:43 +0000)]
block-raw/kqemu fix.

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

16 years agoCleanup qemu-img.c.
pbrook [Sun, 11 Nov 2007 03:33:13 +0000 (03:33 +0000)]
Cleanup qemu-img.c.

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

16 years agoSplit block API from vl.h.
pbrook [Sun, 11 Nov 2007 02:51:17 +0000 (02:51 +0000)]
Split block API from vl.h.
Remove QEMU_TOOL. Replace with QEMU_IMG and NEED_CPU_H.
Avoid linking qemu-img against whole system emulatior.

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

16 years agoMore generic boot devices specification, allowing more devices to be specified
j_mayer [Sun, 11 Nov 2007 01:50:45 +0000 (01:50 +0000)]
More generic boot devices specification, allowing more devices to be specified
and avoiding per-target hardcoded limitations.
The machine implementations can then check if the given devices match the
actual hardware implementation and firmware API.

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

16 years agoRemove duplicate i2c.o.
pbrook [Sun, 11 Nov 2007 01:18:28 +0000 (01:18 +0000)]
Remove duplicate i2c.o.

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

16 years agoFix POWER abs & abso computation.
j_mayer [Sun, 11 Nov 2007 00:33:08 +0000 (00:33 +0000)]
Fix POWER abs & abso computation.
Fix PowerPC SPE evabs & evneg (thanks to Fabrice Bellard for reporting the bug)

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

16 years agoOptimize PowerPC overflow flag computation in most useful cases.
j_mayer [Sun, 11 Nov 2007 00:18:34 +0000 (00:18 +0000)]
Optimize PowerPC overflow flag computation in most useful cases.
Use the same routines to check overflow for addo, subfo and PowerPC 405
  multiply and add cases.
Fix carry reset in addme(o) and subfme(o) cases.

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

16 years agoFix typo.
ths [Sun, 11 Nov 2007 00:16:10 +0000 (00:16 +0000)]
Fix typo.

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

16 years agoARMv7 support.
pbrook [Sun, 11 Nov 2007 00:04:49 +0000 (00:04 +0000)]
ARMv7 support.

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

16 years agoAllow selection of PowerPC CPU giving a PVR.
j_mayer [Sat, 10 Nov 2007 23:51:02 +0000 (23:51 +0000)]
Allow selection of PowerPC CPU giving a PVR.
Remove unused pvr_mask field from CPU definition.

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

16 years agoalways use mktimegm
bellard [Sat, 10 Nov 2007 19:36:39 +0000 (19:36 +0000)]
always use mktimegm

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

16 years agoFix Makefile dependencies.
pbrook [Sat, 10 Nov 2007 19:30:52 +0000 (19:30 +0000)]
Fix Makefile dependencies.

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

16 years agoFix build failure.
pbrook [Sat, 10 Nov 2007 19:21:30 +0000 (19:21 +0000)]
Fix build failure.

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

16 years agoAdd dummy m68k board.
pbrook [Sat, 10 Nov 2007 18:03:23 +0000 (18:03 +0000)]
Add dummy m68k board.

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

16 years agoFix m68k FP register debug dumps.
pbrook [Sat, 10 Nov 2007 17:43:49 +0000 (17:43 +0000)]
Fix m68k FP register debug dumps.

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

16 years agoUpdate ARM disassembler.
pbrook [Sat, 10 Nov 2007 17:38:00 +0000 (17:38 +0000)]
Update ARM disassembler.

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

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