j_mayer
35cdaad645
Code provision for new PowerPC embedded target support with:
...
- 1 kB page size
- 64 bits GPR
- 64 bits physical address space
- SPE extension support.
Change TARGET_PPCSPE into TARGET_PPCEMB
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2718 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-24 06:50:21 +00:00
j_mayer
c294fc587a
Improve PowerPC 405 MMU model / share more code for other embedded targets
...
support.
Fix PowerPC 405 MSR mask.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2717 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-24 06:44:14 +00:00
j_mayer
9c02f1a2e6
PowerPC 405 microcontrollers fixes and improvments:
...
- use target_phys_addr_t for physical addresses / offsets
- implement fake general purpose timers and memory access layer
for PowerPC 405EP
- more assigned internal IRQs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2716 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-24 06:37:21 +00:00
j_mayer
4b6d0a4c7a
PowerPC embedded timers fixes.
...
Improve PowerPC timers debug.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2715 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-24 06:32:00 +00:00
blueswir1
e9ebed4d41
Sparc64 update: more VIS ops
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2714 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-22 19:14:52 +00:00
ths
3d834c78b2
Typo fix, by Wang Cheng Yeh.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2713 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-22 17:18:38 +00:00
ths
fc81ba536b
Check that HOST_SOLARIS is defined before relying on its value.
...
Spotted by Joachim Henke.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2712 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-22 17:16:54 +00:00
blueswir1
a68156d016
Constification
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2711 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-22 12:45:28 +00:00
blueswir1
eee0b8367b
TCX 24 bit model support
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2710 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-21 19:45:49 +00:00
blueswir1
b9652ca3a5
Fix keyboard serial and mouse bugs
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2709 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-20 19:35:25 +00:00
ths
19221bdaf8
Update comment. We can't easily adhere to the architecture spec because
...
it would involve counting the actually executed instructions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2708 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-19 16:35:09 +00:00
ths
2802bfe387
More Gallileo register initialization, by Aurelien Jarno and Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2707 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-19 15:38:26 +00:00
j_mayer
4a0577124a
No functional changes:
...
- compilation warning fixes
- make loglevel tests consistent
- use cpu_abort instead of printf(...); exit
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2706 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-19 08:42:21 +00:00
j_mayer
0405f55b57
termios structure definition fix by Stuart Anderson.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2705 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-19 07:17:50 +00:00
j_mayer
f9d6b6b061
Duplicated SPR fix for BookE PowerPC by Guglielmo Morandin
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2704 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-19 07:16:51 +00:00
blueswir1
67deb56246
Fix keyboard detection bugs
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2703 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-18 19:21:38 +00:00
ths
877cf88232
Fix compiler warning.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2702 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-18 18:11:47 +00:00
ths
e6b1e558ac
Win32 Tap inferface PPC Guest issue, by Ely Soto.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2701 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-18 17:56:02 +00:00
ths
095f61d202
Revert, this is already fixed in a better way.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2700 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-18 11:15:56 +00:00
ths
92d88ecbac
Another lsi53c895a patch, by Wang Cheng Yeh.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2699 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 23:53:10 +00:00
ths
4b70269e1c
Fix helper.c with isinf on Solaris 9/Sparc, by Ben Taylor.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2698 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 23:25:06 +00:00
ths
af661ad11b
Ptable calculation broken for 32bit code under x86_64, by Bernhard Kauer.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2697 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 23:08:56 +00:00
ths
c94655b0b5
Updated Solaris isinf support, by Juergen Keil and Ben Taylor.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2696 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 21:57:02 +00:00
blueswir1
5c8cdbf833
TCX palette bug fix
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2695 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 19:42:21 +00:00
ths
18c6e2ff5a
Fix mmapped register alignment and endianness handling.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2694 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 16:28:29 +00:00
ths
fcb4a419f5
Choose number of TLBs at runtime, by Herve Poussineau.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2693 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 15:26:47 +00:00
j_mayer
04f20795ac
Move PowerPC 405 specific definitions into a separate file
...
Preliminary code for -kernel option support for PowerPC 405 boards
Fix DBSR in case of PowerPC 405 chip reset
Add enums for PowerPC 405 clocks.
Fix IRQ numbers (IBM reversed bits numbering...)
Fix SPRG4-7 read access right
Fix MSR mask in CPU definitions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2692 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-17 02:50:56 +00:00
ths
8035529250
Support it_shift for mmapped pckbd.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2691 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 22:47:54 +00:00
j_mayer
8ecc791352
Add callbacks to allow dynamic change of PowerPC clocks (to be improved)
...
Fix embedded PowerPC watchdog and timers
Fix PowerPC 405 SPR
Add generic PowerPC 405 core instanciation code + resets support.
Implement simple peripherals shared by most PowerPC 405 implementations
PowerPC 405 EC & EP microcontrollers preliminary support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2690 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 20:09:45 +00:00
blueswir1
3142255c62
Sparc host update (Ben Taylor, Martin Bochnig)
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2689 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 18:27:06 +00:00
blueswir1
6083f93345
Update OpenBIOS Sparc images to SVN 125
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2688 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 17:41:15 +00:00
ths
ad6fe1d2d9
Acer Pica 61 machine, by Herve Poussineau.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2687 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 17:23:27 +00:00
ths
2ca9d01385
Memory-mapped interface for RTC, by Herve Poussineau.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2686 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 17:21:21 +00:00
ths
b92bb99b80
Memory-mapped interface for PS/2 controller, by Herve Poussineau.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2685 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 17:20:48 +00:00
j_mayer
3a6078548d
Cleanup and add more PowerPC core definitions.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2684 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 09:31:49 +00:00
j_mayer
c55e9aefa7
PowerPC 4xx software driven TLB fixes + debug traces.
...
Add code provision for more MMU models support.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2683 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 09:21:46 +00:00
j_mayer
0a032cbec6
Add reset callbacks for PowerPC CPU.
...
Move cpu_ppc_init, cpu_ppc_close, cpu_ppc_reset and ppc_tlb_invalidate
into helper.c as they are to be called from outside of the translated code.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2682 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 08:56:52 +00:00
j_mayer
dd37a5e4d7
PREP and heathrow machines only support PowerPC CPU with a 6xx bus.
...
Mac99 machine may also support PowerPC 970 CPU.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2681 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 07:41:07 +00:00
j_mayer
d0dfae6e91
Add bus model (or input pins) into PowerPC CPU flags.
...
Add PowerPC 970 bus and exceptions model.
Add code provision for PowerPC 970 instanciation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2680 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 07:34:39 +00:00
j_mayer
08e46e54ea
PowerPC emulation bugfixes:
...
- don't generate multiple exit_tb at the end of conditional branches
- disable TRACE exception as it is not correct for embedded PowerPC.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2679 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 07:18:42 +00:00
j_mayer
95d1f3edd5
Parallel flash bugfixes:
...
- always need to register flash area back to IO_MEM_ROMD at reset time
- disabled buffered write as it's not actually supported
- don't check flash time at registration time
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2678 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 07:14:26 +00:00
j_mayer
a496775f87
Fix a lot of debug traces for PowerPC emulation: use logfile instead of stdout
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2677 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 07:10:48 +00:00
ths
9898128f55
Simplify branch likely handling.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2676 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-16 01:35:29 +00:00
pbrook
e9a9a0811f
Remove unused variable.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2675 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-15 23:54:20 +00:00
ths
171b31e7c7
Don't use T2 for INS, it conflicts with branch delay slot handling.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2674 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-15 21:26:37 +00:00
ths
80c27194a7
Fix qemu SIGFPE caused by division-by-zero due to underflow.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2673 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-15 21:21:33 +00:00
ths
a85427b147
Small code generation optimization.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2672 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-15 19:52:12 +00:00
ths
fff739ccd5
Delete unused define.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2671 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-15 17:27:07 +00:00
ths
bc687ec922
Gallileo fixes, by Stefan Weil.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2670 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-15 15:15:10 +00:00
pbrook
2a1094cd88
bFLT loader alignment fix.
...
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2669 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-15 14:13:11 +00:00