summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
AgeCommit message (Collapse)Author
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.
2005-04-26remove now obsolete mac68k_set_pteMartin Reindl
ok miod@
2005-04-14internal _BSD_WCTRANS_T_, _BSD_MSTATE_T_, _BSD_WCTYPE_T_ types.Marc Espie
2005-04-11use MD #define to choose stackgap size per-architecture. on sparc, specialTheo de Raadt
case sun4c/sun4 -- because address space is more constrained
2005-03-08Cosmetics...Thierry Deval
Mainly remove space between locators parens, replace spaces with tabs where appropriate and consistently align dependencies.
2005-02-17miscellaneous typo fixes:Jean-Francois Brousseau
- sturct -> struct (spotted by pedro) - elimination of consecutive 'the' words ok jmc@, henning@, krw@, robert@, some whining by jolan@
2005-01-14Even better nptpages computation without unnecessary extra roundings; allowsMiod Vallat
extra large iomaps to work correctly.
2005-01-04SET_PC_REGS, arches tested between me and miod.Marc Espie
2005-01-04Better check for UPT filling; saves one more page for userland on most hp300...Miod Vallat
2004-12-30Do the address space checks only if option DEBUG - nobody has seen themMiod Vallat
triggered in BSD since a very, very long time, if ever.
2004-12-30Rework pmap_bootstrap() computations of I/O maps. Makes the MD part ofMiod Vallat
this much simpler. Also, make sure an userland process can fill its UPT as expected. No functional change.
2004-12-25Use list and queue macros where applicable to make the code easier to read;Miod Vallat
no functional change.
2004-11-30repair DEBUG kernelsMartin Reindl
ok miod@
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-27In pmap_bootstrap(), replace PMAP_MD_RWZERO, which would leave the lowestMiod Vallat
page writeable, with PMAP_MD_RWLOW, which tells how many pages have to be left writeable on low addresses, since the mac rom needs more than one. This lets non-DDB mac68k kernels run. No change on non-mac68k platforms.
2004-10-16Provide a dummp __swap64md() on MD_SWAP architectures; needed by nm(1) now.Miod Vallat
2004-08-07Need pmap_unuse_final() too; Martin Reindl.Miod Vallat
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-07-22Make the inline bzero() of the U area much more readable.Miod Vallat
As a bonus it generates smaller and faster code.
2004-07-02Cope with SONPROC scheduler changes.Miod Vallat
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-04-19remove the GATEWAY junk thingy; at the same time, select a new fatTheo de Raadt
cluster value that noone will really need to crank.
2004-04-12Fix process_frame macro.Mark Kettenis
ok miod@