summaryrefslogtreecommitdiff
path: root/sys/arch/m88k/include
AgeCommit message (Collapse)Author
2006-01-13Make size_t, ssize_t, intptr_t and uintptr_t consistent amongst ourTodd C. Miller
architectures. They are now defined as unsigned long, long, long and unsigned long respectively.
2006-01-10Remove duplicate _C_LABEL define. OK miod@Todd C. Miller
2006-01-09Fix last change; we need machine/reg.h for struct sigcontext toTodd C. Miller
be fully defined.
2006-01-08Expose struct sigcontext, struct sigstat and struct sigaltstack for XPG4.2Todd C. Miller
2006-01-06Don't redefine SIZE_MAXTodd C. Miller
2006-01-06Adapt things to use __type_t instead of _BSD_TYPE_T_Todd C. Miller
Add new sys/_types.h header Include machine/_types.h or sys/_types.h where applicable
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-20Fix typo introduced in last commit.Todd C. Miller
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-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-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-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-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-25Let the cache synchronization and invalidation functions report whetherMiod Vallat
they caused the entire cache to be processed.
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-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-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-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-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-06MVME88K -> M88K in include file guard symbols. No functional changes.Miod Vallat
2005-07-31Get rid of unused SINCR and SSIZE constants.Miod Vallat
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-01Bring raise-only semantics to splsoft* on m68k and m88k, as done elsewhere.Miod Vallat
2005-04-30Move CALL() from <machine/asm.h> to eh.S which is the only user of the macro,Miod Vallat
and replace it with faster constructs in some cases; also drop the unused CALLP() macro.
2005-04-30Get rid of `U' suffix for psr field values.Miod Vallat
2005-04-30A simpler and better SET_PC_REGS().Miod Vallat
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-27Shave more stack operations, courtesy of the not-so-new-now ABI.Miod Vallat
2005-04-27Allow userland to cause the data cache to be flushed for any arbitrary addressMiod Vallat
range in the current process, using trap #451. This is necessary for proper gcc trampolines operation, and, later, ld.so...
2005-04-27Move constants for dma_cachectl() to cmmu.h where they belong.Miod Vallat
2005-04-19nothing uses spllowersoftclock() anymoreMichael Shalayeff
2005-04-19Nuke DB_NO_AOUT, and have platforms with a.out symbols explicitely provideMiod Vallat
DB_AOUT_SYMBOLS.