qemu
16 years ago 128-bit float support for user mode
blueswir1 [Sun, 25 Nov 2007 18:40:20 +0000 (18:40 +0000)]
 128-bit float support for user mode

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

16 years ago Set initial value of AFSR register properly (Robert Reif)
blueswir1 [Sun, 25 Nov 2007 12:44:08 +0000 (12:44 +0000)]
 Set initial value of AFSR register properly (Robert Reif)

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

16 years ago More MMU registers (Robert Reif)
blueswir1 [Sun, 25 Nov 2007 12:43:10 +0000 (12:43 +0000)]
 More MMU registers (Robert Reif)

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

16 years ago Fix buffer mux handling for unconnected serial ports
blueswir1 [Sun, 25 Nov 2007 08:48:16 +0000 (08:48 +0000)]
 Fix buffer mux handling for unconnected serial ports

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

16 years agoIntel Mainstone II (ARM) machine by Armin Kuster.
balrog [Sun, 25 Nov 2007 01:57:38 +0000 (01:57 +0000)]
Intel Mainstone II (ARM) machine by Armin Kuster.

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

16 years agoAdd input buffer to mux chr (patch by Tristan Gingold).
balrog [Sun, 25 Nov 2007 00:55:06 +0000 (00:55 +0000)]
Add input buffer to mux chr (patch by Tristan Gingold).

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

16 years agoFix board init arg list (spotted by pbrook),
balrog [Sun, 25 Nov 2007 00:29:23 +0000 (00:29 +0000)]
Fix board init arg list (spotted by pbrook),
clean-up NOR flash parameters.

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

16 years agoFix SD init arguments.
pbrook [Sat, 24 Nov 2007 23:55:52 +0000 (23:55 +0000)]
Fix SD init arguments.

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

16 years agoGumstix Verdex (ARM) board support by Thorsten Zitterell.
balrog [Sat, 24 Nov 2007 23:47:38 +0000 (23:47 +0000)]
Gumstix Verdex (ARM) board support by Thorsten Zitterell.

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

16 years agoPartial SD card SPI mode support.
pbrook [Sat, 24 Nov 2007 23:35:08 +0000 (23:35 +0000)]
Partial SD card SPI mode support.

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

16 years agoDrop an unused variable (Samuel Thibault).
balrog [Sat, 24 Nov 2007 23:27:15 +0000 (23:27 +0000)]
Drop an unused variable (Samuel Thibault).

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

16 years agoThumb semihosting fixes.
pbrook [Sat, 24 Nov 2007 23:22:11 +0000 (23:22 +0000)]
Thumb semihosting fixes.

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

16 years agoStellaris ethernet support.
pbrook [Sat, 24 Nov 2007 03:13:04 +0000 (03:13 +0000)]
Stellaris ethernet support.

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

16 years agoARMv7-M SysTick fix.
pbrook [Sat, 24 Nov 2007 03:09:07 +0000 (03:09 +0000)]
ARMv7-M SysTick fix.

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

16 years agoMore PowerPC debug print fixes - hardware emulation pass.
j_mayer [Sat, 24 Nov 2007 02:56:36 +0000 (02:56 +0000)]
More PowerPC debug print fixes - hardware emulation pass.

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

16 years agoFix incorrect debug prints (reported by Paul Brook).
j_mayer [Sat, 24 Nov 2007 02:03:55 +0000 (02:03 +0000)]
Fix incorrect debug prints (reported by Paul Brook).
Remove obsolete / duplicated debug prints and improve output consistency.

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

16 years agoRevert foolish patch.
j_mayer [Fri, 23 Nov 2007 22:16:59 +0000 (22:16 +0000)]
Revert foolish patch.

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

16 years agoFix ppc32 register dumps on 64-bit hosts.
pbrook [Fri, 23 Nov 2007 17:33:12 +0000 (17:33 +0000)]
Fix ppc32 register dumps on 64-bit hosts.

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

16 years agoFix va_list reuse in cpu_abort.
pbrook [Fri, 23 Nov 2007 16:53:59 +0000 (16:53 +0000)]
Fix va_list reuse in cpu_abort.

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

16 years agoFix TB chaining for exceptions.
pbrook [Fri, 23 Nov 2007 02:11:10 +0000 (02:11 +0000)]
Fix TB chaining for exceptions.

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

16 years agoOptimize the conventional move operation.
ths [Thu, 22 Nov 2007 15:10:21 +0000 (15:10 +0000)]
Optimize the conventional move operation.

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

16 years agoAdd new sane low-level memory accessors for PowerPC that do proper
j_mayer [Thu, 22 Nov 2007 11:00:46 +0000 (11:00 +0000)]
Add new sane low-level memory accessors for PowerPC that do proper
  size or zero extension, with homogenous names.
Fix load & store strings: those are now endian-sensitive, by definition.
Fix dcbz: must always align the target address to a cache line boundary.

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

16 years agoFix off-by-one address checks in MIPS64 MMU, by Aurelien Jarno.
ths [Thu, 22 Nov 2007 00:34:36 +0000 (00:34 +0000)]
Fix off-by-one address checks in MIPS64 MMU, by Aurelien Jarno.

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

16 years agoDocumentation formatting improvements, by Stefan Weil.
ths [Wed, 21 Nov 2007 22:38:37 +0000 (22:38 +0000)]
Documentation formatting improvements, by Stefan Weil.

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

16 years ago Fix more typos in softloat code (Eduardo Felipe)
blueswir1 [Wed, 21 Nov 2007 18:57:44 +0000 (18:57 +0000)]
 Fix more typos in softloat code (Eduardo Felipe)

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

16 years agotypo fix
bellard [Wed, 21 Nov 2007 16:18:21 +0000 (16:18 +0000)]
typo fix

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

16 years agoFix typo in softfloat code.
pbrook [Wed, 21 Nov 2007 15:32:12 +0000 (15:32 +0000)]
Fix typo in softfloat code.

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

16 years agoFix PowerPC 7xx definitions.
j_mayer [Wed, 21 Nov 2007 13:08:23 +0000 (13:08 +0000)]
Fix PowerPC 7xx definitions.

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

16 years agoFix PowerPC 64 stat and statfs structures definitions.
j_mayer [Wed, 21 Nov 2007 13:06:54 +0000 (13:06 +0000)]
Fix PowerPC 64 stat and statfs structures definitions.

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

16 years agoSH4 Fix missing 6th arg of syscall, by "takasi-y".
ths [Tue, 20 Nov 2007 15:22:44 +0000 (15:22 +0000)]
SH4 Fix missing 6th arg of syscall, by "takasi-y".

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

16 years agoOMAP LPGs (LED pulse generators).
balrog [Tue, 20 Nov 2007 11:15:27 +0000 (11:15 +0000)]
OMAP LPGs (LED pulse generators).
OMAP MPUI bridge config register.

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

16 years ago Fix MXCC register 64 bit read word order (Robert Reif)
blueswir1 [Mon, 19 Nov 2007 19:14:10 +0000 (19:14 +0000)]
 Fix MXCC register 64 bit read word order (Robert Reif)

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

16 years agoAdd older 4Km variants.
ths [Mon, 19 Nov 2007 16:10:33 +0000 (16:10 +0000)]
Add older 4Km variants.

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

16 years agoRemove shared macro used to define PowerPC implementations instructions sets:
j_mayer [Mon, 19 Nov 2007 13:22:47 +0000 (13:22 +0000)]
Remove shared macro used to define PowerPC implementations instructions sets:
  tend more to propagate bugged definition than simplify the code.
Check and fix PowerPC 6xx implementations definitions.
Misc fixes in PowerPC CPU list.

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

16 years agoPowerPC 620 MMU do not have the same exact behavior as standard
j_mayer [Mon, 19 Nov 2007 11:41:10 +0000 (11:41 +0000)]
PowerPC 620 MMU do not have the same exact behavior as standard
  64 bits PowerPC ones.

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

16 years agoPowerPC instruction fixes:
j_mayer [Mon, 19 Nov 2007 11:39:29 +0000 (11:39 +0000)]
PowerPC instruction fixes:
- hrfid is part of the hypervisor extension
- fix stfiwx naming

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

16 years agoClean-up/rewrite audio over I^2S support.
balrog [Mon, 19 Nov 2007 03:43:51 +0000 (03:43 +0000)]
Clean-up/rewrite audio over I^2S support.

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

16 years agoFix typo in error message.
pbrook [Mon, 19 Nov 2007 02:38:22 +0000 (02:38 +0000)]
Fix typo in error message.

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

16 years agoFix another collision in PowerPC instructions definitions.
j_mayer [Mon, 19 Nov 2007 01:48:51 +0000 (01:48 +0000)]
Fix another collision in PowerPC instructions definitions.

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

16 years agoNew PowerPC CPU flag to define the decrementer and time-base source clock.
j_mayer [Mon, 19 Nov 2007 01:48:12 +0000 (01:48 +0000)]
New PowerPC CPU flag to define the decrementer and time-base source clock.
Use it to properly initialize the clock for the PreP target.

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

16 years agoFix attempt to inline recursive functions.
j_mayer [Mon, 19 Nov 2007 01:06:24 +0000 (01:06 +0000)]
Fix attempt to inline recursive functions.

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

16 years agoMark hex_dump as unused to avoid compilation warnings.
j_mayer [Mon, 19 Nov 2007 01:05:22 +0000 (01:05 +0000)]
Mark hex_dump as unused to avoid compilation warnings.

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

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