summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
AgeCommit message (Collapse)Author
2004-12-28Since we don't enable interrupts until autoconf is over, we don't needMiod Vallat
to skip the first few clock interrupts, as done on luna68k.
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-12-24{e,}intr{cnt,names} bye-bye.Miod Vallat
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-08Remove mvme88k leftovers.Miod Vallat
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-08Move dev/cons.c to MI conf/files.Alexander Yurchenko
ok miod@
2004-10-03Merge locore_c_routines.c into machdep.c, and clear <machine/locore.h> asMiod Vallat
done on mvme88k. <machine/locore.h> is about to die very soon...
2004-10-01Oops, trimmed includes too much for RAMDISK.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-30More code shuffling, probably the final touch.Miod Vallat
2004-09-30Move common signal code to m88k-agnostic location.Miod Vallat
2004-09-19constify speedtabs and make ttspeedtab() take a const struct speedtab *Michael Shalayeff
2004-09-16spacingTheo de Raadt
2004-09-16cleanup deafult locators (blah ?); please check that your most hated ↵Michael Shalayeff
architecture is still fluffy (;
2004-08-30Add the original LUNA-88K support.Kenji Aoyama
- retrieve auto-boot information from NVRAM - retrieve ethernet address information from FUSE ROM They are stored different way from LUNA-88K2. Tested by Jeff McMahill, ok by miod@
2004-08-24Since the cpu frequency can only be an integral number on the Luna88k,Miod Vallat
simplify the delay() code, and as a result do not use floating-point code in the kernel anymore. Tested by aoyama@
2004-08-18Add 'irq6/clock0' to evcount on luna88k.Kenji Aoyama
ok miod@
2004-08-11Use bus_space_*_multi_*() when applicable; from NetBSD.Miod Vallat
tested by aoyama@
2004-08-11Fix off-by-ones in bus_space_*_multi_*()Miod Vallat
tested by aoyama@
2004-08-10The second spc is missing on original LUNA-88K, so add and check theKenji Aoyama
machine type field in the internal device lists. ok miod@
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-06Misc cleaning and KNF in order to sync this to hp300 soon; no functionalMiod Vallat
change. Tested by aoyama@
2004-08-06Print cpu/cmmu details during boot, like mvme88k.Kenji Aoyama
ok miod@
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-04Use the ad hoc register define to access the Pbus fault status register,Miod Vallat
rather than an ugly 0x108.
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-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-02Move MAX_CPUS constant to cpu.hMiod Vallat
2004-08-01Move 88100 DAE code to its own file, shared between luna88k and mvme88k.Miod Vallat
2004-07-28Remove EH_DEBUG code.Miod Vallat
2004-07-27Add per-device evcount interrupt counters; also use LIST_xxx macros in isr.cMiod Vallat
ok aaron@, tested aoyama@
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-26Typos in comments.Miod Vallat
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-23Move luna88k and mvme88k vm_machdep to m88k-agnostic code area.Miod Vallat
2004-07-23Nuke getdevunit().Miod Vallat
2004-07-22Do not use db_printf() to trace data access exceptions.Miod Vallat
2004-07-13Remove compiler options workarounds for savectx breakage.Miod Vallat
2004-07-02Make page-aligned variable contiguous. Saves almost one page of data.Miod Vallat
2004-07-02Disable a -O2 specific optimization which causes kern_fork (and probably otherMiod Vallat
files) to be miscompiled, until the problem is fixed in the compiler.
2004-07-01Delete unused functions and unnecessary flush_pipeline() at theKenji Aoyama
exit of interrupt handling routine. (sync with mvme88k) ok miod@
2004-06-24Typos in DEBUG code.Miod Vallat
2004-06-19Trim includes.Miod Vallat
2004-06-19No "machine prom" ddb command on the Luna.Miod Vallat
2004-06-19Share common ddb files accross m88k platforms.Miod Vallat
2004-06-14Added some codes that check if the machine is LUNA-88K or LUNA-88K2Kenji Aoyama
and retrieve the boot device information from NVRAM. Only works on LUNA-88K2 at this moment.
2004-06-02More realistic kernel pdt sizing for the Luna88k (sync with recent mvme88kMiod Vallat
changes) - makes almost 3MB more memory available for userland. Tested by aoyama@
2004-05-23Put back the fixed NCPUS == 1 version of flush_atc_entry().Miod Vallat