summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
AgeCommit message (Collapse)Author
2005-12-03Replace simplelocks with __cpu_simple_locks for cmmu and pmap locking,Miod Vallat
for the MULTIPROCESSOR case.
2005-12-03Implement __cpu_simple_lock_t for m88k.Miod Vallat
2005-12-03Fast __HAVE_MUTEX implementation for m88k platforms.Miod Vallat
2005-12-03Dissociate pmap locks and spl usage; code will now do explicit spl processingMiod Vallat
in addition to pmap locking; no functional change.
2005-12-03intstack does not need to be visible from C code anymore.Miod Vallat
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-02Fix a few instruction display glitches.Miod Vallat
2005-12-01Get rid of PMAP_NULL and xx_ENTRY_NULL and simply use NULL when necessary.Miod Vallat
2005-11-28Maintain an interrupt depth counter for CLKF_INTR to be correct.Miod Vallat
Tested aoyama@ martin@ and I.
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-27In the core of the idle loop, be sure to invoke spl0 more than once toMiod Vallat
process soft interrupts; fixes luna88k hanging after the rootdev line. Tested aoyama@ martin@ and I
2005-11-25Get rid of BROKEN_MMU_MASK, unnecessary now that bus_dmamap_sync() behavesMiod Vallat
correctly.
2005-11-25Let the cache synchronization and invalidation functions report whetherMiod Vallat
they caused the entire cache to be processed.
2005-11-25Need an explicit cast for atop() now.Miod Vallat
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-11-20Complete overhaul of the single-stepping ddb code, close in spirit to theMiod Vallat
ptrace single-stepping changes of a few months ago; simpler and smaller than the (previously used) MI fallback implementation on 88100.
2005-11-20Remove unused ddb_nmi_trap().Miod Vallat
2005-11-20Factorize control register description array selection.Miod Vallat
2005-11-06Invoke regdump() on abort if compiled without DDB support.Miod Vallat
2005-11-03fix commentMartin Reindl
ok miod@
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-13Merge <machine/cpu_number.h> into <machine/cpu.h>, preparing for intrusiveMiod Vallat
changes.
2005-10-13Hide more definitions from userland and from locore.Miod Vallat
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-12Remove commented out dead wrong FPU handling code in setregs().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-10-12General scheduler cleanup:Miod Vallat
- at the end of switch_exit(), jump in a better location inside cpu_switch() - skip unnecessary curproc == NULL tests, and remove other dead code - simplify the idle loop - optimize whichqs bit operations - and add comments at strategic places help&test martin@
2005-09-25Define symbolic constants for the processor identification register fieldsMiod Vallat
and use them. No functional change.
2005-09-25Change the size parameter of cmmu_flush_tlb() from bytes to pages. This makesMiod Vallat
things easier for the callers, and allows us to inline the "fewer than 4 pages" situation for speed.
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-15In syscall(), do not recompute the struct proc * after the syscall hasMiod Vallat
succeeded. This used to be necessary for fork(), when returning in the child, but we return in the child in child_return() which does TRT. ok art@
2005-09-15Change child_return() to record a proper ktrace record for vfork childMiod Vallat
processes. ok art@ uwe@ (some time ago)
2005-09-15Define PG_M_U as PG_M | PG_U, and use it where appropriate; no functionalMiod Vallat
change today, will become useful in the neat future.
2005-09-12Change the NKMEMPAGES range to 4-64MB for 32bit arches, and 8-128MB for 64bitMiod Vallat
arches; except on sparc where the range is 4-8 for !sun4m and 4-64 for sun4m, selected at runtime.
2005-09-06Correct control registers descriptive names for 88110.Miod Vallat
2005-09-06MVME88K -> M88K in include file guard symbols. No functional changes.Miod Vallat
2005-09-06Remove misleading NCPUS (hardcoded) option. From the SMP tree.Miod Vallat
2005-08-06In cache_flush(), after testing for curproc != NULL, do not use curprocMiod Vallat
blindly...
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
2005-07-14More netccitt and netns removals; OK henning, brad, mickeyUwe Stuehler
2005-07-01Fix logic botch in !ERRATA__XXX_USR kernels.Miod Vallat
2005-05-22remove "0x" in front of %p in printfs.Artur Grabowski
eyeballed by krw@
2005-05-18Rework the single step implementation; mostly delaying breakpointMiod Vallat
removal so that single stepping delay slots work. Also added the ability to single step through system calls (which cause an implicit branch if successfull). works for me, "looks ok" kettenis@
2005-05-16Remove PT_[GS]ETFPREGS and struct fpreg, as we have no real floating pointMiod Vallat
registers, and the floating point control registers are savec in the reg structure.
2005-05-15Fix CMMU_CSSP(n) value.Miod Vallat
Makes 88204 systems happier - yet they were working before.
2005-05-15Speed up the low-level dae helpers.Miod Vallat
2005-05-15Compile out more code if TRACE_DEBUG is not defined.Miod Vallat