qemu
16 years agoAvoid duplicated definitions: move common definitions from exec-all.h
j_mayer [Mon, 19 Nov 2007 00:38:33 +0000 (00:38 +0000)]
Avoid duplicated definitions: move common definitions from exec-all.h
  and qemu-common.h to osdep.h.
Include this header in translate-op.c.
Make sure it's included first in darwin-user/qemu.h.
To avoid discarded inlining bug, define inline as always_inline and
always_inline as (( attribute (always_inline) )) __inline__.

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

16 years agoSolaris build fixes, based on a patch by Ben Taylor.
ths [Sun, 18 Nov 2007 22:34:46 +0000 (22:34 +0000)]
Solaris build fixes, based on a patch by Ben Taylor.

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

16 years agoSSD0323 vertical incrememnt mode.
pbrook [Sun, 18 Nov 2007 21:54:57 +0000 (21:54 +0000)]
SSD0323 vertical incrememnt mode.

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

16 years agoAdd -m64 to OS_LDFLAGS for Solaris/x86_64. Use OS_CFLAGS when looking for
ths [Sun, 18 Nov 2007 21:37:07 +0000 (21:37 +0000)]
Add -m64 to OS_LDFLAGS for Solaris/x86_64. Use OS_CFLAGS when looking for
libSDL. Patch by Ben Taylor.

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

16 years agoUse CONFIG_VNC_TLS_CFLAGS for building vnc.o.
ths [Sun, 18 Nov 2007 21:33:07 +0000 (21:33 +0000)]
Use CONFIG_VNC_TLS_CFLAGS for building vnc.o.

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

16 years agoFixes for s/390 host support, by Bastian Blank.
ths [Sun, 18 Nov 2007 21:22:10 +0000 (21:22 +0000)]
Fixes for s/390 host support, by Bastian Blank.

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

16 years agoFix out of tree builds.
pbrook [Sun, 18 Nov 2007 21:12:37 +0000 (21:12 +0000)]
Fix out of tree builds.

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

16 years agoFix for ISO C compliance:
j_mayer [Sun, 18 Nov 2007 15:50:41 +0000 (15:50 +0000)]
Fix for ISO C compliance:
 function qualifiers must always come before the return type.

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

16 years agoFix connex board init routine.
pbrook [Sun, 18 Nov 2007 14:40:35 +0000 (14:40 +0000)]
Fix connex board init routine.

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

16 years agoLuminary board input support.
pbrook [Sun, 18 Nov 2007 14:36:08 +0000 (14:36 +0000)]
Luminary board input support.

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

16 years agoAdd strict checking mode for softfp code.
pbrook [Sun, 18 Nov 2007 14:33:24 +0000 (14:33 +0000)]
Add strict checking mode for softfp code.

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

16 years ago Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier)
blueswir1 [Sun, 18 Nov 2007 08:46:58 +0000 (08:46 +0000)]
 Remove unused parameters from QEMUMachineInitFunc (Laurent Vivier)

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

16 years agoFix MIPS64 R2 instructions.
ths [Sun, 18 Nov 2007 03:36:07 +0000 (03:36 +0000)]
Fix MIPS64 R2 instructions.

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

16 years agoUse a valid PRid.
ths [Sun, 18 Nov 2007 03:19:58 +0000 (03:19 +0000)]
Use a valid PRid.

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

16 years agoFix a && -> & typo.
balrog [Sun, 18 Nov 2007 02:09:36 +0000 (02:09 +0000)]
Fix a && -> & typo.
Catch wrong/unknown NOR flash command sequences, by Thorsten Zitterell.

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

16 years agoAdd statics and missing #includes for prototypes.
pbrook [Sun, 18 Nov 2007 01:44:38 +0000 (01:44 +0000)]
Add statics and missing #includes for prototypes.

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

16 years agoImprove PowerPC instructions set dump.
j_mayer [Sat, 17 Nov 2007 23:14:53 +0000 (23:14 +0000)]
Improve PowerPC instructions set dump.
Remove meaningless define from cpu.h
Misc cleanups.

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

16 years agoAdd definitions for Freescale PowerPC implementations,
j_mayer [Sat, 17 Nov 2007 23:02:20 +0000 (23:02 +0000)]
Add definitions for Freescale PowerPC implementations,
  ie MPC5xx, MPC8xx, e200, e300, e500 and e600 cores.
Make those CPUs and PowerPC 440 available for user-mode emulation,
  thus providing a way of testing their implementation specific instructions.

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

16 years agoDefine Freescale cores specific MMU model, exceptions and input bus.
j_mayer [Sat, 17 Nov 2007 22:42:36 +0000 (22:42 +0000)]
Define Freescale cores specific MMU model, exceptions and input bus.
  (but do not provide any actual implementation).

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

16 years agoA little more granularity in PowerPC instructions definition is needed
j_mayer [Sat, 17 Nov 2007 22:26:51 +0000 (22:26 +0000)]
A little more granularity in PowerPC instructions definition is needed
  in order to implement Freescale cores.
Fix efsadd / efssub opcodes.

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

16 years agoPowerPC hypervisor mode is not fundamentally available only for PowerPC 64.
j_mayer [Sat, 17 Nov 2007 21:14:09 +0000 (21:14 +0000)]
PowerPC hypervisor mode is not fundamentally available only for PowerPC 64.
Remove TARGET_PPC64 dependency and add code provision to be able
  to define a fake 32 bits CPU with hypervisor feature support.

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

16 years ago Name the magic constants, fix a hex number without 0x
blueswir1 [Sat, 17 Nov 2007 21:01:04 +0000 (21:01 +0000)]
 Name the magic constants, fix a hex number without 0x

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

16 years agoBetter STOPINTR bit semantics in the PXA2xx DMA.
balrog [Sat, 17 Nov 2007 18:43:47 +0000 (18:43 +0000)]
Better STOPINTR bit semantics in the PXA2xx DMA.
Don't error out on reading GPCR register, just warn (Thorsten Zitterell).
Don't zero a memory that's already zeroed.

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

16 years agoRemove stray uses of vl.h.
pbrook [Sat, 17 Nov 2007 17:35:54 +0000 (17:35 +0000)]
Remove stray uses of vl.h.

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

16 years agoBreak up vl.h.
pbrook [Sat, 17 Nov 2007 17:14:51 +0000 (17:14 +0000)]
Break up vl.h.

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

16 years agosd.c build fix.
pbrook [Sat, 17 Nov 2007 15:32:38 +0000 (15:32 +0000)]
sd.c build fix.

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

16 years agoFix int/float inconsistencies.
pbrook [Sat, 17 Nov 2007 14:53:06 +0000 (14:53 +0000)]
Fix int/float inconsistencies.

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

16 years agoConvert SD cards code to use qemu_irq too.
balrog [Sat, 17 Nov 2007 14:34:44 +0000 (14:34 +0000)]
Convert SD cards code to use qemu_irq too.

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

16 years agoConvert PXA2xx GPIOs and SCOOP GPIOs to a qemu_irq based api (similar to omap, max731...
balrog [Sat, 17 Nov 2007 14:07:13 +0000 (14:07 +0000)]
Convert PXA2xx GPIOs and SCOOP GPIOs to a qemu_irq based api (similar to omap, max7310 and s3c gpios).
Convert spitz and gumstix boards to use new api.
Remove now obsolete gpio_handler_t definition.

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

16 years agoDon't compare '\0' against pointers.
balrog [Sat, 17 Nov 2007 12:12:29 +0000 (12:12 +0000)]
Don't compare '\0' against pointers.
Add a note from Fabrice in slow_st template.

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

16 years agoFix collision in PowerPC instructions definitions.
j_mayer [Sat, 17 Nov 2007 12:01:45 +0000 (12:01 +0000)]
Fix collision in PowerPC instructions definitions.

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

16 years agoGumstix 'connex' board support by Thorsten Zitterell.
balrog [Sat, 17 Nov 2007 11:50:55 +0000 (11:50 +0000)]
Gumstix 'connex' board support by Thorsten Zitterell.

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

16 years agoShow usage and abort if an unknown option is passed to configure (Carlo Marcelo Arena...
balrog [Sat, 17 Nov 2007 10:24:32 +0000 (10:24 +0000)]
Show usage and abort if an unknown option is passed to configure (Carlo Marcelo Arenas Belon).

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

16 years agoCheck permissions for the last byte first in unaligned slow_st accesses (patch from...
balrog [Sat, 17 Nov 2007 09:53:42 +0000 (09:53 +0000)]
Check permissions for the last byte first in unaligned slow_st accesses (patch from TeLeMan).

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

16 years ago Machine specific IOMMU version (Robert Reif)
blueswir1 [Sat, 17 Nov 2007 09:04:09 +0000 (09:04 +0000)]
 Machine specific IOMMU version (Robert Reif)

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

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