summaryrefslogtreecommitdiff
path: root/sys/arch/m88k
AgeCommit message (Collapse)Author
2005-12-14convert _FOO_SOURCE -> __FOO_VISIBLE in machine. OK deraadt@Todd C. Miller
2005-12-14Make clock_t consistent across platforms as a 32 bit int. OK deraadt@Todd C. Miller
2005-12-13First step in include files overhaul. Use __FOO_VISIBLE (as definedTodd C. Miller
in sys/cdefs.h) instead of _FOO_SOURCE. Also fix several namespace pollution issues, including the byte order defines. OK deraadt@
2005-12-11Work in progress SMP code; mvme88k boards can spin up secondary CPUs,Miod Vallat
kernel boots single user. Still a lot of polishing and bugfixing to do.
2005-12-11Factorize soft interrupt code between luna88k and mvme88k.Miod Vallat
2005-12-11Replace procfs_domem() with a similar interface, process_domem(), which livesMiod Vallat
out of procfs and gets a ptrace request PT_{READ,WRITE}_{I,D} as argument; also procfs_checkioperm() becomes process_checkioperm(). From art@ some time ago; ok kettenis@ pedro@
2005-12-10Only initialize the CMMUs tied to our running CPU on startup.Miod Vallat
Tested on luna88k and mvme88k.
2005-12-08Do not reset the IPL of the new process context frame in cpu_fork().Miod Vallat
2005-12-07Better use of the scheduler lock; no functional change on UP kernels.Miod Vallat
2005-12-07Sprinkle holds and releases of the kernel lock whenever necessary; no functionalMiod Vallat
change for UP kernels.
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-04Simplify ptrace branch handling code.Miod Vallat
2005-12-04Oops, simplelock leftover.Miod Vallat
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.