summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
AgeCommit message (Collapse)Author
2006-04-16Change child_return() to record a proper ktrace record for vfork childMiod Vallat
processes. ok art@ uwe@ (some time ago, and I forgot to commit this chunk)
2006-04-09#ifdef lint wraps for va_startTheo de Raadt
2006-03-19remove unused bdbtofsb(bn) macroMartin Reindl
found by drahn@
2006-02-22Remove unused _{ins,rem}que functions - they were not even implemented onMiod Vallat
all architectures.
2006-01-30Better siginfo field values for fpe failures.Miod Vallat
2006-01-16Sync m68k fpe code with NetBSD; but remove unimplemented opcodes stubs, soMiod Vallat
that we trigger SIGILL instead of propagating false results. Tested by martin@ on Macintosh LCIII.
2006-01-16Correctly define extended doubles, the way the 6888x use them; from NetBSD.Miod Vallat
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-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.
2006-01-05don't include sys/errno.h, pointed out by MiodMartin Reindl
2006-01-04Switch to the C version of random() on m68k platforms. It is almost as fastMiod Vallat
as the assembly version on 0[234]0, but *fifteen* times faster than it on 68060 systems, since it uses a form of muls.l which has to be emulated. And since we use random() for statclock variance, this means we were gratuitously doing an average of 100 emulation traps per second. ok deraadt@ millert@
2005-12-17Get rid of deprecated vm_{offset,size}_t types for good, use {p,v}{addr,size}_tMiod Vallat
instead; looked at millert@
2005-12-14make va_arg() map to nothing; ok millertTheo de Raadt
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-13nuke unused BTOPKERNBASE defineMartin Reindl
pointed out by miod@
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-08Remove unused pcbb define.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-15Only two `h' in threshold.Miod Vallat
2005-11-13move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@Federico G. Schwindt
2005-11-12Pass a struct proc * to ISHPMMADDR instead of abusing curproc in it.Miod Vallat
2005-11-12Compute a rough estimate of exactly how much memory uvm_init() will allocate,Miod Vallat
so as to correctly size the initial PT pages, to prevent the early initialization from invoking pmap_enter_ptpage() [chicken and egg problem]. Much better than the previous arithmetic.
2005-11-06Factorize setregs() code to m68k-common location.Miod Vallat
2005-11-06Homogeneize all PSR field tests in user-provided structures. No functionalMiod Vallat
change.
2005-11-04Change DEBUG conditionals into PMAP_DEBUG; no functional change.Miod Vallat
2005-10-23m68k_btop() and m68k_ptob() were mostly used by mac68k only and canMartin Reindl
be replaced by the MI versions atop() and ptoa()
2005-09-25TyposMiod Vallat
2005-09-25Define the symbolic register indexes in trapframe in <m68k/reg.h> onlyMiod Vallat
#ifdef _KERNEL; also remove duplicate prototypes with <sys/ptrace.h>. Helped by martin@
2005-09-25Remove unused defines and macros.Miod Vallat
2005-09-15get rid of MD m68k_trunc_page and m68k_round_page and replace by MIMartin Reindl
trunc_page and round_page go go go! miod@
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-12provide m68k_page_offset()Martin Reindl
2005-08-14Remove the inline cache and TLB primitives - we don't use them at this point,Miod Vallat
they do not cover the HP MMU for hp300, and they do not cover 040+060 kernels (which share all cache operations) efficiently.
2005-08-06We do not need a char machine_arch[] constant.Miod Vallat
ok deraadt@
2005-08-06If a process has trashed its stack, use sigexit() instead of psignal() toMiod Vallat
terminate it with prejudice, as done in native sendsig(). Plus you get a memory leak in COMPAT_HPUX on m68k fixed for free. review art@ test martin@
2005-08-01Thinko in 68060-only #ifdef line.Miod Vallat
2005-08-01In pmap_{,k}remove(), be more careful when deciding to flush the caches, if theMiod Vallat
kernel is configured with HP MMU support, but does not run with one. This speeds up most hp300 systems quite a bit. Tested millert@
2005-08-01Factorize cachectl() accross m68k platforms, and make the CC_ constantsMiod Vallat
public.
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-05-06generate vim-compatible tag files, from netbsdPedro Martelletto
2005-05-06Add tags to m68k.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-04-27Replace the last user of pmap_map() with an inline version, and kill pmap_map()Miod Vallat
for good.