summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
AgeCommit message (Collapse)Author
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@
2004-02-19When copyout() of the signal frame fails, sigexit() the process instead ofMiod Vallat
doing this by an hand-delivered SIGILL.
2004-01-27Only install the fpsp exception vectors if the cpu is a 68040.Miod Vallat
Thus, it becomes unnecessary to check for the cpu type in the exception handlers, saving a few cycles and a few bytes. Tested by various people on hp300, mac68k, mvme68k, 68040 and non-68040.
2004-01-15instuction -> instructionMiod Vallat
2004-01-09spelling; jjy2+@pitt.eduTheo de Raadt
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2004-01-01Inline pmap_copy() and pmap_phys_address().Miod Vallat
Also get rid of a spurious local initialization in pmap_remove_mapping().
2003-12-26A simple compile-time micro-optimization in pmap_protect() forMiod Vallat
non-hp300 flavours.
2003-12-16becuaseTheo de Raadt
2003-12-14In pmap_testbit, always update the attribute flags for the pv list hander.Miod Vallat
Fixes a regression introduced in the conversion from physseg to VM_PAGE_MD.
2003-11-16convert __attribute__((__packed__)) to __packed so that parsers unawareAnil Madhavapeddy
of gcc extensions have more of a chance. ok mcbride@, no objections from millert@, deraadt@
2003-11-07"the the" -> "the"; rohee@Miod Vallat
2003-11-02pmap_remove_mapping() uses an unnecessary PHYS_TO_VM_PAGE call. Instead ofMiod Vallat
simply removing it, slightly reorganize the code to remove a pg_to_pvh() call as well.
2003-10-13More m68k pmap tweaks:Miod Vallat
- simplify pmap_protect() - simplify reference count managment by using 0 as a base instead of 1 (from NetBSD)
2003-10-09A few 68060 bugfixes with side effects:Miod Vallat
- honor PRM_CFLUSH correctly for 0[46]0 in pmap_remove_mapping(). - be sure to flush caches in pmap_changebit for 060 too when necessary. - make this compile if option DEBUG is defined.
2003-10-09More m68k common include files factorization.Miod Vallat
2003-09-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
2003-08-01Nuke calls to uvm_useracc() and instead check copyin() and copyout() forMiod Vallat
failure, since the former is not reliable; requested by art@ long ago.
2003-06-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-06-04Delete UCB term 3. When there are other copyright owners, we affirmTheo de Raadt
that we can see no legal situation under which they could require that term to remain (ie. This is equivelant to us taking the old UCB file, removing term 3 as specified by UCB, then re-applying each diff afterwards from the various authors)
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02licence cleanupTheo de Raadt
2003-05-31Remove a bunch of obsolete definitions.Miod Vallat
2003-03-03Prefer pmap_kenter_pa() in pmap_map().Miod Vallat
2003-03-01- only declare and provide pmap_map() for mac68k, until it bites the dust.Miod Vallat
Other m68k-based arches do not need it. - do not wait to allocate struct pv_page. Either pmap_enter() has been invoked with PMAP_CANFAIL and can live with this, or we are close to fandagoland anyways.
2003-02-25Let pmap_remove_mapping() do its job correctly if option DIAGNOSTIC isMiod Vallat
not defined (such as on RAMDISK kernels). Oops.
2003-01-27Convert m68k pmap from physseg to VM_PAGE_MD.Miod Vallat
This allows us to remove some ambiguities on how some functions are called, remove some diagnostic checks for conditions that can never happen and remove the ugly hack with "pmap_initialized". Then, rework internal function interfaces and some logic so as to stop fetching vm_page from a pa and the reverse every now and then - this makes some pmap operations run much faster. per art@'s idea.
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2003-01-05splassert on m68k-based arches. Not totally accurate on hp300 at the moment,Miod Vallat
still.