summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
AgeCommit message (Collapse)Author
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
2004-05-23Simplify iomap_mapin().Miod Vallat
2004-05-23Nuke kvtop(), preserving a private copy in mvme88k vs(4) for now.Miod Vallat
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-05-10Make the time getting frame buffer depth earlier. Without thisKenji Aoyama
modification, bitmap console depth is always 4, because consinit() is called before cpu_startup(). And use frame buffer depth bits(1,4,8) rather than mask value(0x01, 0x0f, 0xff), same as the value in ROM work area. ok miod@
2004-05-07Introduce a new cmmu operation, cachectl_pa, similar to cachectl, but takingMiod Vallat
a pa instead of a pmap_kernel va. The cachectl operation is now deprecated and will disappear soon.
2004-05-07Do not rely upon a fictitious MAXPHYSMEM value, but rather the actualMiod Vallat
physical memory size, to decide the end of /dev/*mem, as well as default cacheability for mappings.
2004-05-07Add new file <machine/conf.h> and clean up console code and structures.Kenji Aoyama
From miod@
2004-05-07Some clean up, especially delete unused nvram related part. From miod@Kenji Aoyama
2004-05-04Always ask the user for the root device if we are "swap generic" and theMiod Vallat
boot device is not known, as other arches do.
2004-05-03This file is long dead now.Miod Vallat
2004-04-29Repair depend phaseMiod Vallat
2004-04-29TyposMiod Vallat
2004-04-29Continue factorizing m88k common code, this time files in <arch>/<arch>Miod Vallat
which were copied verbatim from mvme88k to luna88k. This requires backing out syntactic sugar in mvme88k kernel configuration files which would deduct the required processor types from the board models, as the common code only depends upon the M88100 and M88110 defines.