2662a059aaMore PowerPC definitions, from POWER 2.04 specifications and misc sources. Check that at least instructions set and SPRs are correct for PowerPC 401, 403, 405 and 440 cores. Implement PowerPC 401 MMU model (real-mode only). Improve INSNs and SPRs dump to ease parse with standard shell tools. Add more precise status for most PowerPC cores families.
j_mayer
2007-09-21 05:50:37 +00:00
4296f45902Make CPU hflags be a masked version of the PowerPC MSR. As a side effect, avoid potential bits shadowing in TB flags on 64 bits BookE.
j_mayer
2007-09-21 05:23:26 +00:00
2e03286b9aMake likely/unlikely accessible also in hw/. Revert the logfile->stderr change.
balrog
2007-09-20 13:24:53 +00:00
a50a6282d7Use logfile only when loglevel is set (http://bugzilla.openmoko.org/cgi-bin/bugz illa/show_bug.cgi?id=886). raw_pread() and raw_pwrite() are expected to return number of bytes read.
balrog
2007-09-20 12:42:24 +00:00
cbecba264bMove likely and unlikely macros in a common place (Aurelien Jarno).
j_mayer
2007-09-20 09:44:48 +00:00
ff937dbad1More PowerPC registers definitions. Avoid duplicating code and, as a side effect, fix missing bits in MSR.
j_mayer
2007-09-19 05:49:13 +00:00
71c8b8fd7bTARGET_FMT_lu may also be useful. Fix compilation warnings.
j_mayer
2007-09-19 05:46:03 +00:00
5eb7995e34Code provision for PowerPC BookE MMU model support. Better MSR flags initialisation.
j_mayer
2007-09-19 05:44:04 +00:00
1527c87eeeImprove PowerPC target implementation, using computed hflags as TB flags.
j_mayer
2007-09-19 05:37:56 +00:00
0686970f81Avoid Linux to stay stucked in an infinite loop when requesting a reboot.
j_mayer
2007-09-19 04:46:57 +00:00
caa4039cedCode provision for PowerPC 64 MMU model support.
j_mayer
2007-09-19 04:36:02 +00:00
be58fc7cc7Always keep the bootinfo structure in the first 16 MB, as suggested by Andrew May. Fix compilation warnings introduced by variables types changes.
j_mayer
2007-09-18 21:47:18 +00:00
d9d7210c7dFix PowerPC 32 emulation on 64 bits hosts: we can use 64 bits registers but not pretend page is 1kB long As it seems most Linux programs assume page-size is 4kB, never allow 1kB pages for user-mode only emulation.
j_mayer
2007-09-18 11:17:30 +00:00
e2b577e5e5Prevent segfaulting when -clock is specified multiple times.
balrog
2007-09-17 21:25:20 +00:00
926acf8f73Pass correct pointer to HID keyboard event handler, fixes regression from IDLE mode introduction.
balrog
2007-09-17 17:27:00 +00:00
966439a678PowerPC flags update/use fixes: - fix confusion between overflow/summary overflow, as reported by S Bansal. - reset carry in addic. optimized case (as it was already done in addic).
j_mayer
2007-09-17 09:51:40 +00:00
3608160206Coding style fixes in PowerPC related code (no functional change): - avoid useless blanks at EOL. - avoid tabs. - fix wrapping lines on 80 chars terminals. - add missing ';' at macros EOL to avoid confusing auto-identers. - fix identation. - Remove historical macros in micro-ops (PARAM, SPARAM, PPC_OP, regs)
j_mayer
2007-09-17 08:21:54 +00:00
3b46e62427find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
ths
2007-09-17 08:09:54 +00:00
ef18c8839eSolaris x86_64 configure patch, by Ben Taylor.
ths
2007-09-16 22:12:39 +00:00
2e4a88cba2r158: Fix wrong number of clean/saveable windows r159: Revert previous patch r160: Fix nvram size, arch_init hack r161: Fix Sparc64 insw and outsw r162: Fix read only location write attempt r163: Change virtual address below 4G Map first 16M of RAM Execute a kernel if loaded by Qemu r164: Make client interface 64 bits wide on Sparc64 r165: NVRAM support (temporary location) r166: Fix mapping of a single byte area, fix reset and poweroff r167: Maximally align allocations r168: Enable all interrupt sources for NetBSD r169: Fix NetBSD property problems
blueswir1
2007-08-11 08:16:00 +00:00