summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
AgeCommit message (Collapse)Author
2005-04-04Fix an uninitialized variable in pmap_enter(), affecting only unmanaged pages.Miod Vallat
2005-04-04Allow pmap_expand_kmap() to fail in low memory conditions.Miod Vallat
2005-03-28Relax dependencies.Miod Vallat
2005-01-04Kill old, unused, Mach defines, and provide a correct SET_PC_REGSMiod Vallat
implementation - due to the awkwardness of the m88k architecture, PC_REGS can NOT be an lvalue.
2004-12-06Use uvm_grow() to account for stack growth, rather than home-grown codeMiod Vallat
or nothing. Inspired by a similar recent change in NetBSD.
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-11-09Kill guarded_access() - the way we map OBIO, there is no need for specialMiod Vallat
treatement of interrupt vectors variables, a simple read will do. While there, speed up the interrupt handlers a bit: - remove old debug code or only compile it if option DEBUG. - use short circuits for setipl() if we know interrupts are disabled at this point: there is no need playing with the psr in these cases.
2004-11-09Luna88k does not have an iomap, so kill all iomap related defines, andMiod Vallat
move the mapiodev()/unmapiodev() code back to mvme88k.
2004-11-08Kill struct md_p, which was really only necessary for mvme88k; onMiod Vallat
luna88k it disappears completely, while mvme88k keeps 3 global variables, one of them scheduled to disappear very soon.
2004-10-01guarded_access() is really only used by the MVME188 interrupt engine, soMiod Vallat
do not provide it on luna88k. Makes trap() slightly faster on non-MVME188 kernels.
2004-10-01More mvme88k code cleaning:Miod Vallat
- merge locore_c_routines.c into machdep.c - split machdep.c into really machdep.c content, and board-specific routines (memory sizing, early initialization, etc). No functionnal change.
2004-10-01Get rid of CHECK_PAGE_ALIGN debug macros.Miod Vallat
2004-09-30Introduce sparc-like CPU_ISFOO macros, to short-circuit evaluations whenMiod Vallat
compiling for one flavour only. This makes code slightly smaller on all m88k-based platforms (my roughly 1KB), and saves more than meets the eye on luna88k, which is m88100-based.
2004-09-30Closer to reality comments.Miod Vallat
2004-09-30More code shuffling, probably the final touch.Miod Vallat
2004-09-30Move common signal code to m88k-agnostic location.Miod Vallat
2004-09-15Win a cycle in FP exception SSBR processing.Miod Vallat
2004-08-09Shrink the u-area down to two pages.Miod Vallat
2004-08-09Take advantage of the recent ABI change to use less stack space and doMiod Vallat
less stack pointer manipulation; the kernel needs to be compiled by an up-to-date compiler now, or a tree will fall on your house.
2004-08-09G/c option HANDLER code, and a few cosmetic cleanings.Miod Vallat
2004-08-08Since the I-cache can never be dirty, ignore copyback operations, and onlyMiod Vallat
perform invalidations when appropriate.
2004-08-08Print address lines split scheme if necessary.Miod Vallat
2004-08-06rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubsTheo de Raadt
on all other architectures. remove last architecture dependent #ifdef from uvm code.
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-08-06Merge Luna88k and mvme88k M88200 management code. Features:Miod Vallat
- simpler structures (no more redundant or easily computable information). - split scheme configuration (for 4:1 and 8:1 designs) is only compiled in if necessary (read: only on a mvme88k kernel configured for MVME188 support), which speeds up CMMU operations on the Luna88k. - will not enable bus snopping on a monoprocessor system. Tested on Luna88k-2, MVME187 and various MVME188 by aoyama@ and I.
2004-08-05Unbreak luna88k; spotted by aoyama@Miod Vallat
2004-08-04Completely remove BATC code. BATC on 88200 are way too small to be worthMiod Vallat
using as part of the general pmap machinery (though they might come back at some point to speed up I/O mappings), and we don't use the 88110 BATC yet.
2004-08-04More constants for the SSR register.Miod Vallat
2004-08-02No need to make __savectx visible and 8-byte aligned.Miod Vallat
2004-08-02Missed one <machine/board.h>Miod Vallat
2004-08-02More include files cleaning:Miod Vallat
- move MAX_CPUS constant to <machine/cpu.h> - do not include <machine/board.h> unless needed. In fact, remove this file entirely on mvme88k, and include <machine/mvme*.h> on a compiling-for-this-board basis - keep MAX_CMMUS constant private to the m8820x code
2004-08-02When restoring a process' ipl, invoke setipl() on behalf on the kernel stack,Miod Vallat
rather than on the process stack.
2004-08-01Move 88100 DAE code to its own file, shared between luna88k and mvme88k.Miod Vallat
2004-07-28Nuke option JEFF_DEBUG for good.Miod Vallat
(This code relies upon undefined C behaviour. Every day in ddb is your lucky day...)
2004-07-28Remove EH_DEBUG code.Miod Vallat
2004-07-28Keep exception specific defines in the exception handling code, instead ofMiod Vallat
polluting the kernel namespace.
2004-07-28In the never-ending saga of getting gcc to work reliably on m88k, today'sMiod Vallat
changes address incorrect stack usage, when optimization needs more nameless temporary values than available registers, and has to save them on stack. In some (rare) circumstances, it will compute a stack address _outside_ the current function local storage space, overwriting the caller's stack. Most of the time, this only affects the "outgoing argument area", which is harmless if it has not been populated; this explains why it has not been noticed earlier. Since I see no easy way to fix this, I decided to go the simpler way of removing this ougoing argument area. This not only reduces stack usage, but also makes varargs/stdarg code smaller and faster; also functions which get their first few arguments in registers, then some on the stack, then some in registers again, will not allocate stack space for the second set of arguments passed through registers. This is an ABI change, we are no longer 88Open compliant (have we ever been?).
2004-07-27Factorize exception handling code. The only different part between luna88kMiod Vallat
and mvme88k is the retrieval of the CMMU fault registers. Tested on mvme88k by myself and luna88k by aoyama@
2004-07-26Provide a real pmap_proc_iflush() routine.Miod Vallat
2004-07-26Shrink more code if option PTRACE is not set; also use ss_put_value()Miod Vallat
in trap handlers instead of inlining it by hand.
2004-07-25Merge luna88k and mvme88k pmap. The pmap will now assume that the memoryMiod Vallat
below the kernel text is reserved for the PROM, instead of using fixed (but different) values between luna88k and mvme88k. Tested on mvme88k by myself, on luna88k by aoyama@
2004-07-24New, working, profiling code for m88k.Miod Vallat
2004-07-24intr_establish() and related defines are mvme88k-only, so move them back fromMiod Vallat
<m88k/cpu.h>, and simplify the return values while there.
2004-07-23Move luna88k and mvme88k vm_machdep to m88k-agnostic code area.Miod Vallat
2004-07-22Reset pcb_onfault to NULL before invoking uvm_fault().Miod Vallat
2004-07-22Remove redundant or useless section modifiers.Miod Vallat
2004-07-13Do not trash r14 by mistake in __savectx.Miod Vallat
2004-07-07Funny typo.Miod Vallat
2004-07-02Switch mvme88k to evcount, but keep maintaining intrcnt[] too for now.Miod Vallat