qemu
16 years agoUse host-utils for Alpha 64x64 bits multiplications.
j_mayer [Thu, 25 Oct 2007 23:34:44 +0000 (23:34 +0000)]
Use host-utils for Alpha 64x64 bits multiplications.

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

16 years agoUse host-utils for PowerPC 64 64x64 bits multiplications.
j_mayer [Thu, 25 Oct 2007 23:28:36 +0000 (23:28 +0000)]
Use host-utils for PowerPC 64 64x64 bits multiplications.

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

16 years agoAdd PowerPC power-management state check callback.
j_mayer [Thu, 25 Oct 2007 23:27:04 +0000 (23:27 +0000)]
Add PowerPC power-management state check callback.

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

16 years agoImplement power-management for all defined PowerPC CPUs.
j_mayer [Thu, 25 Oct 2007 23:14:50 +0000 (23:14 +0000)]
Implement power-management for all defined PowerPC CPUs.
Fix PowerPC 970MP definition.

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

16 years agoRestore a more maintainable version of the 64bit multiply code.
ths [Thu, 25 Oct 2007 23:00:03 +0000 (23:00 +0000)]
Restore a more maintainable version of the 64bit multiply code.

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

16 years agoUpdate PowerPC emulation status file.
j_mayer [Thu, 25 Oct 2007 21:38:16 +0000 (21:38 +0000)]
Update PowerPC emulation status file.

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

16 years agoAllow selection of all defined PowerPC 74xx (aka G4) CPUs.
j_mayer [Thu, 25 Oct 2007 21:37:25 +0000 (21:37 +0000)]
Allow selection of all defined PowerPC 74xx (aka G4) CPUs.

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

16 years agoGprof prooved the PowerPC emulation spent too much time in MSR load and store
j_mayer [Thu, 25 Oct 2007 21:35:50 +0000 (21:35 +0000)]
Gprof prooved the PowerPC emulation spent too much time in MSR load and store
routines. Coming back to a raw MSR storage model then speed-up the emulation.
Improve fast MSR updates (wrtee wrteei and mtriee cases).
Share rfi family instructions helpers code to avoid bug in duplicated code.
Allow entering halt mode as the result of a rfi instruction.
Add a new helper_regs.h file to avoid duplication of special registers
 manipulation routines (currently XER and MSR).

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

16 years agoFix gdb stub for MIPS64.
ths [Thu, 25 Oct 2007 21:30:37 +0000 (21:30 +0000)]
Fix gdb stub for MIPS64.

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

16 years agoFix typo, spotted by Edivaldo de Araujo Pereira.
ths [Wed, 24 Oct 2007 16:11:42 +0000 (16:11 +0000)]
Fix typo, spotted by Edivaldo de Araujo Pereira.

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

16 years agoRemove bogus instruction decode.
ths [Wed, 24 Oct 2007 00:52:07 +0000 (00:52 +0000)]
Remove bogus instruction decode.

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

16 years agoForce proper sign extension for mfc0/mfhc0 on MIPS64.
ths [Wed, 24 Oct 2007 00:10:32 +0000 (00:10 +0000)]
Force proper sign extension for mfc0/mfhc0 on MIPS64.

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

16 years agoFix writable length of the index register.
ths [Tue, 23 Oct 2007 23:58:21 +0000 (23:58 +0000)]
Fix writable length of the index register.

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

16 years agoEnforce proper sign extension for lwl/lwr on MIPS64.
ths [Tue, 23 Oct 2007 23:23:43 +0000 (23:23 +0000)]
Enforce proper sign extension for lwl/lwr on MIPS64.

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

16 years agoFix overflow when multiplying two large positive numbers.
ths [Tue, 23 Oct 2007 23:22:54 +0000 (23:22 +0000)]
Fix overflow when multiplying two large positive numbers.

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

16 years agoFix CLO calculation for MIPS64. And a small code cleanup.
ths [Tue, 23 Oct 2007 23:22:03 +0000 (23:22 +0000)]
Fix CLO calculation for MIPS64. And a small code cleanup.

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

16 years agoUse the standard ASE check for MIPS-3D and MT.
ths [Tue, 23 Oct 2007 17:04:27 +0000 (17:04 +0000)]
Use the standard ASE check for MIPS-3D and MT.

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

16 years agoSwitch bc1any* instructions off if no MIPS-3D is implemented.
ths [Tue, 23 Oct 2007 13:15:33 +0000 (13:15 +0000)]
Switch bc1any* instructions off if no MIPS-3D is implemented.

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

16 years agoSupport tap down script, by Wolfram Gloger.
ths [Sun, 21 Oct 2007 23:20:45 +0000 (23:20 +0000)]
Support tap down script, by Wolfram Gloger.

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

16 years agoBugfix: now PCI NICs really work on PowerPC PreP platform.
j_mayer [Sun, 21 Oct 2007 15:53:01 +0000 (15:53 +0000)]
Bugfix: now PCI NICs really work on PowerPC PreP platform.

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

16 years agoAllow use of PCI NICs on PowerPC PreP platform.
j_mayer [Sun, 21 Oct 2007 12:29:36 +0000 (12:29 +0000)]
Allow use of PCI NICs on PowerPC PreP platform.

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

16 years agoNew status file for Alpha emulation target.
j_mayer [Sun, 21 Oct 2007 09:46:04 +0000 (09:46 +0000)]
New status file for Alpha emulation target.

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

16 years ago"QEMU keyboard issue with Gujin-2.2", by Etienne Lorrain.
ths [Sat, 20 Oct 2007 20:48:09 +0000 (20:48 +0000)]
"QEMU keyboard issue with Gujin-2.2", by Etienne Lorrain.

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

16 years agoPhysical hard disk drive for win32, by Stefan Weil.
ths [Sat, 20 Oct 2007 20:40:05 +0000 (20:40 +0000)]
Physical hard disk drive for win32, by Stefan Weil.

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

16 years agoEnable ACPI interrupts, by Igor Lvovsky.
ths [Sat, 20 Oct 2007 20:36:52 +0000 (20:36 +0000)]
Enable ACPI interrupts, by Igor Lvovsky.

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

16 years agoSyscall target errno fixes, by Thayne Harbaugh.
ths [Sat, 20 Oct 2007 20:23:07 +0000 (20:23 +0000)]
Syscall target errno fixes, by Thayne Harbaugh.

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

16 years agoCheck the Galilleo config register instead of hardcoding the endianness.
ths [Sat, 20 Oct 2007 19:47:14 +0000 (19:47 +0000)]
Check the Galilleo config register instead of hardcoding the endianness.

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

16 years agoHandle IBE on MIPS properly.
ths [Sat, 20 Oct 2007 19:45:44 +0000 (19:45 +0000)]
Handle IBE on MIPS properly.

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

16 years agoDon't install tools if $(TOOLS) is empty, by Thayne Harbaugh.
ths [Sat, 20 Oct 2007 18:29:34 +0000 (18:29 +0000)]
Don't install tools if $(TOOLS) is empty, by Thayne Harbaugh.

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

16 years agoAvoid PreP target kernel freeze waiting for IRQs.
j_mayer [Sat, 20 Oct 2007 09:13:55 +0000 (09:13 +0000)]
Avoid PreP target kernel freeze waiting for IRQs.

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

16 years ago Update Sparc parts in documentation
blueswir1 [Sat, 20 Oct 2007 08:09:05 +0000 (08:09 +0000)]
 Update Sparc parts in documentation

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

16 years ago Avoid gcc warnings
blueswir1 [Sat, 20 Oct 2007 07:09:08 +0000 (07:09 +0000)]
 Avoid gcc warnings

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

16 years ago Fix compiling Sparc64 on PPC host
blueswir1 [Sat, 20 Oct 2007 07:07:47 +0000 (07:07 +0000)]
 Fix compiling Sparc64 on PPC host

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

16 years agoUse TARGET_ABI_DIR feature to unify PowerPC and PowerPC 64 definitions.
j_mayer [Thu, 18 Oct 2007 20:51:49 +0000 (20:51 +0000)]
Use TARGET_ABI_DIR feature to unify PowerPC and PowerPC 64 definitions.

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

16 years agoUse the new TARGET_ABI32 feature to implement a ppc64abi32-linux-user target
j_mayer [Thu, 18 Oct 2007 19:59:49 +0000 (19:59 +0000)]
Use the new TARGET_ABI32 feature to implement a ppc64abi32-linux-user target
  (PowerPC 64 running in 32 bits mode).
Use the new TARGET_ABI_DIR feature to implement a ppcemb-linux-user target
  (PowerPC 32 with 64 bits GPRs and vector extensions).

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

16 years agoOnly map BIOS space when it was actually loaded.
ths [Thu, 18 Oct 2007 15:05:11 +0000 (15:05 +0000)]
Only map BIOS space when it was actually loaded.

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

16 years agoCast ELF datatypes properly to host 64bit types.
ths [Wed, 17 Oct 2007 23:07:31 +0000 (23:07 +0000)]
Cast ELF datatypes properly to host 64bit types.

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

16 years ago Really update the image
blueswir1 [Wed, 17 Oct 2007 17:42:21 +0000 (17:42 +0000)]
 Really update the image

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

16 years ago Use ldq and stq for 8 byte accesses (original patch by Robert Reif)
blueswir1 [Wed, 17 Oct 2007 17:37:13 +0000 (17:37 +0000)]
 Use ldq and stq for 8 byte accesses (original patch by Robert Reif)

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

16 years ago Enable all alignment checks
blueswir1 [Wed, 17 Oct 2007 17:34:57 +0000 (17:34 +0000)]
 Enable all alignment checks

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

16 years agoUpdate Sparc32 OpenBIOS image to SVN revision 171. Changes:
blueswir1 [Wed, 17 Oct 2007 17:34:17 +0000 (17:34 +0000)]
Update Sparc32 OpenBIOS image to SVN revision 171. Changes:
r170: Fix exception handling and printout
r171: Fix 8 byte alignment problems

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

16 years agoUpdate TODO.
ths [Wed, 17 Oct 2007 13:43:58 +0000 (13:43 +0000)]
Update TODO.

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

16 years agoSecond half of mipssim support, plus documentation improvements.
ths [Wed, 17 Oct 2007 13:39:42 +0000 (13:39 +0000)]
Second half of mipssim support, plus documentation improvements.

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

16 years agoMIPSsim pseudo machine emulation.
ths [Wed, 17 Oct 2007 13:08:32 +0000 (13:08 +0000)]
MIPSsim pseudo machine emulation.

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

16 years ago Fix bug in Sparc32 sta op (Robert Reif)
blueswir1 [Sun, 14 Oct 2007 20:27:00 +0000 (20:27 +0000)]
 Fix bug in Sparc32 sta op (Robert Reif)

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

16 years ago Sparc64 hypervisor mode
blueswir1 [Sun, 14 Oct 2007 17:07:21 +0000 (17:07 +0000)]
 Sparc64 hypervisor mode

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

16 years ago SuperSparc MXCC support (Robert Reif)
blueswir1 [Sun, 14 Oct 2007 16:29:21 +0000 (16:29 +0000)]
 SuperSparc MXCC support (Robert Reif)

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

16 years ago Support for 32 bit ABI on 64 bit targets (only enabled Sparc64)
blueswir1 [Sun, 14 Oct 2007 16:27:31 +0000 (16:27 +0000)]
 Support for 32 bit ABI on 64 bit targets (only enabled Sparc64)

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

16 years agoProperly implement non-execute bit on PowerPC segments and PTEs.
j_mayer [Sun, 14 Oct 2007 10:21:20 +0000 (10:21 +0000)]
Properly implement non-execute bit on PowerPC segments and PTEs.
Fix page protection bits for PowerPC 64 MMU.

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

16 years agoImplement time-base start/stop helpers.
j_mayer [Sun, 14 Oct 2007 09:35:30 +0000 (09:35 +0000)]
Implement time-base start/stop helpers.
Implement PowerPC 6xx time-base enable input pin.

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

16 years agoMerge PowerPC 620 input bus definitions with standard PowerPC 6xx.
j_mayer [Sun, 14 Oct 2007 09:27:16 +0000 (09:27 +0000)]
Merge PowerPC 620 input bus definitions with standard PowerPC 6xx.
Avoid hardcoding PowerPC interrupts definitions to ease updates.

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

16 years agoThere is no need of a specific MMU model for PowerPC 601.
j_mayer [Sun, 14 Oct 2007 09:14:08 +0000 (09:14 +0000)]
There is no need of a specific MMU model for PowerPC 601.

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

16 years agoImplement PowerPC 64 SLB invalidation helpers.
j_mayer [Sun, 14 Oct 2007 09:06:19 +0000 (09:06 +0000)]
Implement PowerPC 64 SLB invalidation helpers.

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

16 years agoFix memory corruption reported by Julian Seward
j_mayer [Sun, 14 Oct 2007 08:52:44 +0000 (08:52 +0000)]
Fix memory corruption reported by Julian Seward
  (still more bugs to fix in PreP emulation).

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

16 years agoAllow Alpha target to use supervisor and executive mode micro-ops.
j_mayer [Sun, 14 Oct 2007 08:50:17 +0000 (08:50 +0000)]
Allow Alpha target to use supervisor and executive mode micro-ops.

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

16 years agoDo not allow PowerPC CPU restart after entering checkstop mode.
j_mayer [Sun, 14 Oct 2007 08:48:23 +0000 (08:48 +0000)]
Do not allow PowerPC CPU restart after entering checkstop mode.

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

16 years agoProvision for PowerPC 64 with hypervisor mode support - not enabled for now.
j_mayer [Sun, 14 Oct 2007 08:38:29 +0000 (08:38 +0000)]
Provision for PowerPC 64 with hypervisor mode support - not enabled for now.
For consistency, group all PowerPC targets.

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

16 years agoGenerate micro-ops for PowerPC hypervisor mode.
j_mayer [Sun, 14 Oct 2007 08:27:14 +0000 (08:27 +0000)]
Generate micro-ops for PowerPC hypervisor mode.

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

16 years agoGenerate micro-ops for Alpha executive and supervisor modes.
j_mayer [Sun, 14 Oct 2007 08:18:12 +0000 (08:18 +0000)]
Generate micro-ops for Alpha executive and supervisor modes.

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

16 years agoReplace is_user variable with mmu_idx in softmmu core,
j_mayer [Sun, 14 Oct 2007 07:07:08 +0000 (07:07 +0000)]
Replace is_user variable with mmu_idx in softmmu core,
  allowing support of more than 2 mmu access modes.
Add backward compatibility is_user variable in targets code when needed.
Implement per target cpu_mmu_index function, avoiding duplicated code
  and #ifdef TARGET_xxx in softmmu core functions.
Implement per target mmu modes definitions. As an example, add PowerPC
  hypervisor mode definition and Alpha executive and kernel modes definitions.
Optimize PowerPC case, precomputing mmu_idx when MSR register changes
  and using the same definition in code translation code.

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

16 years agoUpdate TODO.
ths [Sat, 13 Oct 2007 19:00:52 +0000 (19:00 +0000)]
Update TODO.

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

16 years agoFix off-by-one in address check.
ths [Sat, 13 Oct 2007 17:29:09 +0000 (17:29 +0000)]
Fix off-by-one in address check.

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

16 years agoStatic-ify function.
ths [Sat, 13 Oct 2007 14:00:23 +0000 (14:00 +0000)]
Static-ify function.

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

16 years agoUnify '-cpu ?' option.
j_mayer [Fri, 12 Oct 2007 06:47:46 +0000 (06:47 +0000)]
Unify '-cpu ?' option.

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

16 years ago Fix taddcctv and tsubcctv (David Matthews)
blueswir1 [Wed, 10 Oct 2007 19:11:54 +0000 (19:11 +0000)]
 Fix taddcctv and tsubcctv (David Matthews)

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

16 years ago Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator
blueswir1 [Tue, 9 Oct 2007 16:34:29 +0000 (16:34 +0000)]
 Support for executing 32 bit SPARC32PLUS files for Sparc64 user emulator

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

16 years agoMatch values with the ones documented in the PIIX4 datasheet.
ths [Tue, 9 Oct 2007 11:41:47 +0000 (11:41 +0000)]
Match values with the ones documented in the PIIX4 datasheet.

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

16 years agogetpriority() shouldn't use libc wrapper, by Thayne Harbaugh.
ths [Tue, 9 Oct 2007 03:42:34 +0000 (03:42 +0000)]
getpriority() shouldn't use libc wrapper, by Thayne Harbaugh.

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

16 years agoUse always_inline in the MIPS support where applicable.
ths [Tue, 9 Oct 2007 03:39:58 +0000 (03:39 +0000)]
Use always_inline in the MIPS support where applicable.

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

16 years agoFix vmmouse for 64bit guest, by Dan Kenigsberg.
ths [Tue, 9 Oct 2007 03:19:01 +0000 (03:19 +0000)]
Fix vmmouse for 64bit guest, by Dan Kenigsberg.

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

16 years agoDelete file which should have been removed in the lst commit.
ths [Tue, 9 Oct 2007 03:17:28 +0000 (03:17 +0000)]
Delete file which should have been removed in the lst commit.

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

16 years agoFix [ls][wd][lr] instructions, by Aurelien Jarno.
ths [Tue, 9 Oct 2007 03:12:08 +0000 (03:12 +0000)]
Fix [ls][wd][lr] instructions, by Aurelien Jarno.

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

16 years agoDon't route PIC interrupts through the local APIC if the local APIC
ths [Tue, 9 Oct 2007 03:08:56 +0000 (03:08 +0000)]
Don't route PIC interrupts through the local APIC if the local APIC
config says so. By Ari Kivity.

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

16 years agoUpdate .cvsignore.
ths [Tue, 9 Oct 2007 03:05:08 +0000 (03:05 +0000)]
Update .cvsignore.

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

16 years agoMentione CRIS in Changelog.
ths [Mon, 8 Oct 2007 13:40:13 +0000 (13:40 +0000)]
Mentione CRIS in Changelog.

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

16 years agoAdd CRIS configuration bits, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:38:27 +0000 (13:38 +0000)]
Add CRIS configuration bits, by Edgar E. Iglesias.

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

16 years agoCRIS Linux userland emulation, part 2. By Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:36:46 +0000 (13:36 +0000)]
CRIS Linux userland emulation, part 2. By Edgar E. Iglesias.

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

16 years agoCRIS Linux usermode emulation, part 1. By Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:35:05 +0000 (13:35 +0000)]
CRIS Linux usermode emulation, part 1. By Edgar E. Iglesias.

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

16 years agoCRIS testsuite, based on the SIM testsuite, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:32:20 +0000 (13:32 +0000)]
CRIS testsuite, based on the SIM testsuite, by Edgar E. Iglesias.

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

16 years agoEtraxFS board support, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:26:33 +0000 (13:26 +0000)]
EtraxFS board support, by Edgar E. Iglesias.

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

16 years agoCRIS support in toplevel, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:16:14 +0000 (13:16 +0000)]
CRIS support in toplevel, by Edgar E. Iglesias.

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

16 years agoCRIS MMU emulation, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:11:58 +0000 (13:11 +0000)]
CRIS MMU emulation, by Edgar E. Iglesias.

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

16 years agoThe remainder of CRIS CPU emulation files, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 13:04:02 +0000 (13:04 +0000)]
The remainder of CRIS CPU emulation files, by Edgar E. Iglesias.

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

16 years agoCRIS micro-ops, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 12:52:43 +0000 (12:52 +0000)]
CRIS micro-ops, by Edgar E. Iglesias.

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

16 years agoCRIS insn decoding macros, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 12:50:59 +0000 (12:50 +0000)]
CRIS insn decoding macros, by Edgar E. Iglesias.

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

16 years agoCRIS instruction translation, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 12:49:08 +0000 (12:49 +0000)]
CRIS instruction translation, by Edgar E. Iglesias.

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

16 years agoWire up CRIS disassembler, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 12:46:58 +0000 (12:46 +0000)]
Wire up CRIS disassembler, by Edgar E. Iglesias.

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

16 years agoCRIS disassembler, originally from binutils, by Edgar E. Iglesias.
ths [Mon, 8 Oct 2007 12:45:38 +0000 (12:45 +0000)]
CRIS disassembler, originally from binutils, by Edgar E. Iglesias.

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

16 years agoUpdate PowerPC emulation status file.
j_mayer [Mon, 8 Oct 2007 03:00:35 +0000 (03:00 +0000)]
Update PowerPC emulation status file.

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

16 years agoRemove synonymous in PowerPC MSR bits definitions.
j_mayer [Mon, 8 Oct 2007 02:58:07 +0000 (02:58 +0000)]
Remove synonymous in PowerPC MSR bits definitions.
Fix MSR EP bit buggy definition.
Remove unuseful MSR flags.
Fix MSR bits and flags definitions for most supported PowerPC implementations.
Add MSR definitions/flags constistency checks and optional dump.

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

16 years agoReal-mode only PowerPC 40x do not have any TLBs.
j_mayer [Mon, 8 Oct 2007 02:44:11 +0000 (02:44 +0000)]
Real-mode only PowerPC 40x do not have any TLBs.

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

16 years agoImplement exception prefix feature for PowerPC 601.
j_mayer [Mon, 8 Oct 2007 02:35:41 +0000 (02:35 +0000)]
Implement exception prefix feature for PowerPC 601.
Fix PowerPC 601 hardware reset vector.

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

16 years agoAdd missing exception vectors for PowerPC 7x5.
j_mayer [Mon, 8 Oct 2007 02:23:00 +0000 (02:23 +0000)]
Add missing exception vectors for PowerPC 7x5.

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

16 years agoWork-around C89 and/or "old" gcc unspecified behavior (#if in macro calls).
j_mayer [Sun, 7 Oct 2007 23:10:08 +0000 (23:10 +0000)]
Work-around C89 and/or "old" gcc unspecified behavior (#if in macro calls).

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

16 years agoImplement PowerPC Altivec load & stores, used by Apple firmware for memcpy.
j_mayer [Sun, 7 Oct 2007 18:19:26 +0000 (18:19 +0000)]
Implement PowerPC Altivec load & stores, used by Apple firmware for memcpy.

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

16 years agoPowerPC target coding style fixes.
j_mayer [Sun, 7 Oct 2007 17:30:34 +0000 (17:30 +0000)]
PowerPC target coding style fixes.

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

16 years agoPowerPC target optimisations: make intensive use of always_inline.
j_mayer [Sun, 7 Oct 2007 17:13:44 +0000 (17:13 +0000)]
PowerPC target optimisations: make intensive use of always_inline.

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

16 years agoReport missing elf_addr_t definition from Linux kernel header
j_mayer [Sun, 7 Oct 2007 16:07:25 +0000 (16:07 +0000)]
Report missing elf_addr_t definition from Linux kernel header

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

16 years agoFix host and target longs confusions (continued).
j_mayer [Sun, 7 Oct 2007 16:06:13 +0000 (16:06 +0000)]
Fix host and target longs confusions (continued).

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

16 years agoFix confusions between host and target long types.
j_mayer [Sun, 7 Oct 2007 15:59:45 +0000 (15:59 +0000)]
Fix confusions between host and target long types.
Fix start_data computation.
Fix auxiliary infos setup.

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