c62db10577Support for PowerPC BookE exception model. No need to requeue timer exceptions. Fix nip saving for 64 bits PowerPC.
j_mayer
2007-03-31 12:57:57 +00:00
1d0a48fb92As embedded PowerPC TLB model is very different from PowerPC 6xx ones, define ppc_tlb_t as an union of the two.
j_mayer
2007-03-31 11:10:49 +00:00
05a8096f2dBetter fix for OpenPIC: should not depend on PowerPC.
j_mayer
2007-03-31 09:59:47 +00:00
aafd8139edSwitch include for Solaris to avoid namespace issues. By Juergen Keil.
ths
2007-03-30 19:20:50 +00:00
e598752a63Spelling fixes, by Stefan Weil.
ths
2007-03-30 18:58:01 +00:00
a42bd6ccdfFix rfi instruction: do not depend on current execution mode but on the execution mode that will be effective after the return. Add rfci, rfdi and rfmci for BookE PowerPC. Extend mfdcr / mtdcr and implement mfdrcx / mtdcrx.
j_mayer
2007-03-30 10:22:46 +00:00
4710357290New model for PowerPC CPU hardware interrupt events: move all PowerPC specific code into target-ppc/helper.c to avoid polluting the common code in cpu-exec.c. This makes implementation of new features (ie embedded PowerPC timers, critical interrupts, ...) easier. This also avoid hardcoding the IRQ callback in the OpenPIC controller, making it more easily reusable and allowing cascading.
j_mayer
2007-03-30 09:38:04 +00:00
aa26bb2dacqemu_create_pidfile implementation for Win32, based on a patch by Carlos O'Donell.
ths
2007-03-25 21:33:06 +00:00
209afb9e0dMove determination of AIOLIBS until after all configure options have been handled. By Carlos O'Donell.
ths
2007-03-25 20:55:00 +00:00
a39437aa1dFix segfault with -nographic, by Enache Adrian.
ths
2007-03-25 20:27:04 +00:00
ed5065e16aTypo in configure, by Nicholas Sauzede.
ths
2007-03-25 16:15:21 +00:00
99c1968693Improved kqemu error message, by Robert Millan.
ths
2007-03-25 16:14:07 +00:00
f5b122688bWindows sockets like to be different. Inspired by a patch from Alex Consul.
ths
2007-03-25 15:58:03 +00:00
62724a3773Sparc32/64 CPU selection
blueswir1
2007-03-25 07:55:52 +00:00
34ee2edebbOne more bit of mips CPU configuration, and support for early 4KEc which implemented only MIPS32R1. Thanks to Stefan Weil to insist he's right on that. :-)
ths
2007-03-24 23:36:18 +00:00
3e736bf4b4Upgrade Sparc FPU version (based on patch by Aurelien Jarno)
blueswir1
2007-03-24 13:24:09 +00:00
1b9eb036b9Fix debug printf: we need different macros for target_ulong prints and GPR ones, as the lengths can be different.
j_mayer
2007-03-23 09:40:22 +00:00
e397ee3382Fix enough FPU/R2 support to get 24Kf going.
ths
2007-03-23 00:43:28 +00:00
51789c410bPowerPC improvments: - add missing 64 bits rotate instructions - safely define TARGET_PPCSPE when 64 bits registers are used a separate target will be needed to use it in 32 bits mode on 32 bits hosts.
j_mayer
2007-03-22 22:41:50 +00:00
e864cabdc0PowerPC bugfixes: - must clear carry bit when doing addic with a zero immediate value - fix missing RETURN in micro-operation that would lead to random failures and crashes - add USE_PRECISE_EMULATION compilation-time option to choose between getting exact floating point results and fast but less accurate computation.
j_mayer
2007-03-22 22:17:08 +00:00
a722258036Fix fcntl64 logic bug, by Kirill A. Shutemov.
ths
2007-03-22 15:08:55 +00:00
6e65a42ad3Win32 build fix. FIXME: This disables locking of the pidfile, a Win32 replacement of lockf should be used here.
ths
2007-03-22 12:36:53 +00:00
9bad0425a0Fix Sparc branches, original patch by Aurelien Jarno
blueswir1
2007-03-21 19:45:50 +00:00
3953d78687Move mips CPU specific initialization to translate_init.c.
ths
2007-03-21 11:04:42 +00:00
1698b74161Fix compilation on 32 bits hosts (pb reported by Thiemo Seufer)
j_mayer
2007-03-21 08:21:02 +00:00
01c227fba4Fix allocation sizes in getpeername/getsockname, spotted by Kirill A. Shutemov.
ths
2007-03-19 13:05:13 +00:00
0fa1bcb790Solaris needs -lrt, spotted by Ben Taylor.
ths
2007-03-19 12:22:40 +00:00
cff4cbedc3Support -cpu selection for mips usermode emulation. Fix segfault when dispaying the -cpu list help.
ths
2007-03-19 12:16:29 +00:00
b1f9be3157Add -cpu option for linux user emulation. Only usable for PowerPC and ARM for now.
j_mayer
2007-03-19 08:08:28 +00:00
6c041c54bcDisable compiler options dangerous for op compilation.
ths
2007-03-18 23:23:31 +00:00
11f295118cA VGA card for the Malta board.
ths
2007-03-18 22:18:43 +00:00
39d51eb8bcFix BD flag handling, cause register contents, implement some more bits for R2 interrupt handling.
ths
2007-03-18 12:43:40 +00:00
36f696517bAs icbi is not a priviledge instruction and is treated as a load by the MMU it needs to be implemented for every MMU translation mode.
j_mayer
2007-03-18 08:47:10 +00:00
70956b7719Better way to select -lrt, by Andrzei Zaborowski.
ths
2007-03-17 15:00:37 +00:00
e1f63470e9Don't fail for "revert to poweron defaults" IDE command, by Carlo Marcelo Arenas Belon.
ths
2007-03-17 14:55:30 +00:00
39dfc926dfAllow disabling IDE block mode, by Carlo Marcelo Arenas Belon.
ths
2007-03-17 14:54:15 +00:00
36bc0bc9d7Add PowerPC 64 target for tests. As no PowerPC 64 CPU is implemented, this target can just be used to check that there is no difference between PowerPC 32 & PowerPC 64 used in 32 bits mode.
j_mayer
2007-03-17 14:04:57 +00:00
d9bce9d99fMake it safe to use 64 bits GPR and/or 64 bits host registers. For "symetry", add 64 bits versions of all modified functions. As a side effect, add a lot of code provision for PowerPC 64 support. Move overflow and carry checks in common routines for simple cases. Add isel and popcntb instructions from PowerPC 2.03 specification. Remove remaining micro-operations helpers prototypes from op.c. Fix XER_BC field to be 7 bits long. Add power management support for PowerPC 603 & 604. Fix compilation warnings.
j_mayer
2007-03-17 14:02:15 +00:00