summaryrefslogtreecommitdiff
path: root/sys/arch/luna88k
AgeCommit message (Collapse)Author
2006-05-15Clean secondary processors initialization code, similar to mvme88k;Miod Vallat
tested aoyama@
2006-05-08Replace gazillions of badvaddr() or badwordaddr() calls with badaddr() calls.Miod Vallat
With a few prototype declarations shuffling, this finally allows <machine/locore.h> to die.
2006-05-08Clean the internal m88k trap type codes; while there, simplify andMiod Vallat
factorize the build of the VBR page betweem luna88k and mvme88k. Tested by aoyama@ and I.
2006-05-04eneble -> enableMiod Vallat
2006-05-04Now that .S files have proper dependencies, do not hardcode dependenciesMiod Vallat
on assym.h in Makefile, especially since some files have been renamed...
2006-04-17Save pointers to up to four CMMU PFSR registers into the cpu_info structure.Miod Vallat
This allows the exception handling code to skip the PFSR address computations. The net result is that the PFSR_SAVE code becomes much simpler and smaller, and that all processors will now spend time in PFSR_SAVE - previously, cpu0 was favored and other processors took a bit more time. Note that 8:1 configurations do not use these fields - but then this is a fixed monoprocessor configuration, for which the existing code was already doing The Right Thing. Tested on luna88k (2:1) by aoyama@, and on mvme88k (2:1 and 4:1) by me.
2006-03-15Nuke dk_establish(), no longer used.Miod Vallat
2006-03-13remove IPL_IMP.Brad Smith
2006-03-04Typos grab bag of the month, eyeballed by jmc@Miod Vallat
2006-01-26Switch to __HAVE_DEVICE_REGISTER to find the device we're booted from.Miod Vallat
Tested by aoyama@
2006-01-22Put various divide-by-zero checks as found in other disksubr routines; alsoMiod Vallat
a few sylistic changes from sparc and mvme88k.
2006-01-10struct cfdriver shall not be declared as const (oops).Miod Vallat
2006-01-09Remove clock tick adjustment computation inherited from luna68k where someMiod Vallat
models run with hz=60.
2006-01-06Merge machine/ansi.h and machine/types.h into machine/_types.h andTodd C. Miller
rename the types using the __ protected namespace (e.g. __size_t). Idea from FreeBSD.
2005-12-27Remove unused sw_nblks field of struct swdevt. Then, remove swapconf()Miod Vallat
which duplicates work done by uvm_swap_init().
2005-12-12Remove unused code.Miod Vallat
2005-12-11Factorize soft interrupt code between luna88k and mvme88k.Miod Vallat
2005-12-04Let cmmu_init() now return the cpuid of the master cpu.Miod Vallat
2005-12-04Slight cmmu code cleanup; use shorter function names, remove parity_enableMiod Vallat
and the DDB and DEBUG helpers which are of questionable usefulness, some stylistic changes.
2005-12-03Implement __cpu_simple_lock_t for m88k.Miod Vallat
2005-12-03Fast __HAVE_MUTEX implementation for m88k platforms.Miod Vallat
2005-12-03intstack does not need to be visible from C code anymore.Miod Vallat
2005-12-03The first thing done when XXX_scsi_cmd() returns TRY_AGAIN_LATER isKenneth R Westerback
to set xs->error to XS_BUSY. So it is pointless and misleading to set xs->error to XS_TIMEOUT, XS_DRIVER_STUFFUP or XS_BUSY just before returning TRY_AGAIN_LATER. No functional change. ok miod@
2005-12-03Turn read_processor_identification_register() into a simple macro with aMiod Vallat
much, much, much shorter name. It is only used to print cpu revision anyway...
2005-12-03Switch m88k ports to __HAVE_CPUINFO. Current cpu pointer is held in SR0Miod Vallat
on all running processors. Tested aoyama@ and I
2005-12-02Better choice of types for struct pmap members and cmmu functions;Miod Vallat
no functional change.
2005-12-01Do not depend on MAX_CPUS being 4.Miod Vallat
2005-11-28Switch to per-process AST flags and clean AST-related codepaths; speeds upMiod Vallat
forks as a bonus. Tested on luna88k and mvme88k by aoyama@ martin@ and I.
2005-11-24add lint-specific hacks. at the same time, clean out a lot of ancientTheo de Raadt
cruft for old compilers and environments. there may be a 2nd round of polishing after this; ok miod and others
2005-10-24Factorize db_interface code between luna88k and mvme88k, removing dead codeMiod Vallat
in the process; the arch-agnostic code keeps the ability for a specific machine to define its own machine commands, such as "machine prom" for mvme88k, in addition to the ``regular'' m88k machine commands.
2005-10-18Use PSR_IND rather than recomputing it from PSR_INTERRUPT_DISABLE_BIT;Miod Vallat
spotted by martin.
2005-10-13Merge <machine/cpu_number.h> into <machine/cpu.h>, preparing for intrusiveMiod Vallat
changes.
2005-10-12Define IPL_SCHED and spslsched(), matching the statclock level.Miod Vallat
2005-10-12Move sigcode to the m88k-agnostic location. No functional change.Miod Vallat
2005-10-12Stop mapping the u area at fixed UADDR in addition to its actual va.Miod Vallat
While there, attempt to clean and comment stack usage in the kernel. No functional change. From the m88k SMP tree; help&test martin@
2005-09-26Delete wrong comments, originally came from Makefile.mvme88k.Kenji Aoyama
ok miod@
2005-09-25Do not consider userland trap #496 (BUG system call on mvme88k) as specialMiod Vallat
anymore, since we don't want to allow userland to talk to the BUG. Deliver SIGSYS instead of doing nothing. Makes things simpler, plus it polluted luna88k.
2005-09-06Remove misleading NCPUS (hardcoded) option. From the SMP tree.Miod Vallat
2005-08-03enable safte and ses on all archs that appear to have real scsi bussesDavid Gwynne
ok deraadt@ beck@ marco@
2005-08-01Kill more "memory might be 2MB or less" checks in bufpages computation.Miod Vallat
ok deraadt@ otto@
2005-07-18remove trailing newline in panic(9); ok millert@ and deraadt@Federico G. Schwindt
2005-05-06generate vim-compatible tag files, from netbsdPedro Martelletto
2005-05-06Add more dirs and fix links target.Marco Peereboom
2005-05-06Add tags to luna88k.Marco Peereboom
<miod> commit your stuff. <miod> make tags work.
2005-05-01To allow for MD override of in4_cksum()...Brad Smith
ok deraadt@
2005-05-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
2005-05-01spacing; ok miod@ deraadt@David Krause
2005-04-30Remove m88k_psr_type and function with utterly long names to control the psr,Miod Vallat
and use get_psr() / set_psr() or simple macros that expand into them everywhere. No functional change.
2005-04-30start the job of making things look more alikeTheo de Raadt
2005-04-30nice docs at top of GENERICTheo de Raadt