Home | History | Annotate | Download | only in include
History log of /src/sys/arch/mac68k/include/pmap.h
RevisionDateAuthorComments
 1.39  18-Aug-2025  andvar Fix various typos, mainly in comments:
s/invaid/invalid/
s/instad/instead/
s/wich/with/
s/tranform/transform/
s/tranmist/transmit/
s/tranceiver/transceiver/
s/Tranparent/Transparent/
s/tranlated/translated/
s/tranfer/transfer/
s/tranmissions/transmissions/
s/condtions/conditions/
s/Recient/Recent/
 1.38  27-Dec-2023  thorpej Define values for the 68030 TT registers in terms of the definitions
in <m68k/mmu_30.h> rather than using magic numbers.
 1.37  03-Nov-2002  chs merge pmap.h for all 4k-page motorola-MMU (or compatible) m68k platforms.
 1.36  28-Oct-2002  chs untangle includes a bit:
don't include cpu.h in pmap.h, nor cacheops.h in cpu.h. instead,
include cpu.h and cacheops.h in just those .c files that need them.
 1.35  22-Sep-2002  chs it really helps to get the stub right before cutting + pasting it 27 times.
alas, I did not. doh.
 1.34  22-Sep-2002  chs add pmap_remove_all() hook (empty on most platforms so far).
 1.33  10-Sep-2001  chris branches: 1.33.4;
Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.
 1.32  26-May-2001  chs branches: 1.32.2; 1.32.4;
replace vm_page_t with struct vm_page *.
 1.31  26-May-2001  chs replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.
 1.30  22-Apr-2001  thorpej Undo a misguided previous change to the pmap_update() API.
 1.29  22-Apr-2001  thorpej Give pmap_update() an argument (a pmap_t) so that it knows which
pmap it should be updating.
 1.28  21-Apr-2001  thorpej #define away pmap_update() in <machine/pmap.h> so that no function
call overhead is incurred as we start sprinkling pmap_update() calls
throughout the source tree (no pmaps currently defer operations, but
we are adding the infrastructure to allow them to do so).
 1.27  28-Nov-1999  scottr branches: 1.27.6;
Sync cachectl1() implementation with other m68k ports.
 1.26  21-Jul-1999  briggs branches: 1.26.2; 1.26.8;
Declare struct pmap kernel_pmap_store extern.
 1.25  25-Feb-1999  is branches: 1.25.2; 1.25.4; 1.25.6;
mac68k part of pr 6152 fix, and missing bits for the others
 1.24  22-Dec-1998  scottr vm_offset_t -> {paddr_t, vaddr_t}
 1.23  24-Apr-1998  scottr Checkpoint of UVM work to date. This includes a fully-functioning
MACHINE_NEW_NONCONTIG interface implementation, which is now enabled
on all systems. Thanks to Jason Thorpe for his work on the hp300 port,
from which most of the code used here was derived.

XXX In spite of the fact that it works on the hp300, UVM does not (yet)
work well under load on mac68k.
 1.22  18-Feb-1998  cgd Move pmap_map() function definition to MD headers, as appropriate. It's
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
 1.21  06-Jan-1998  thorpej Garbage-collect pm_stchanged; it's not used by anything.
 1.20  06-Jan-1998  thorpej Garbage-collect use of the PCB's copy of the user segment table pointer.
 1.19  03-Jan-1998  thorpej Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>
 1.18  01-Jan-1998  thorpej Change an argument name to PMAP_ACTIVATE() to more accurately describe the
semantics of the argument.
 1.17  01-Jan-1998  thorpej - Make pmap_activate() and pmap_deactivate() take a struct proc *.
- Define active_user_pmap() and use it in the appropriate places (from hp300
port).
 1.16  10-Jun-1997  veego s/mac68k_btop/m68k_btop/
 1.15  20-May-1997  scottr Adjust for previous m68k/pcb.h change
 1.14  02-Feb-1997  scottr copypage() is now declared in m68k/cpu.h
 1.13  18-May-1996  briggs Fixup a few prototypes and put 'em in their place.
 1.12  05-May-1996  briggs Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
 1.11  24-Jun-1995  briggs pmap_page_index isn't a macro.
 1.10  21-Jun-1995  briggs Cleanup some and make these look more like hp300 versions.
 1.9  10-Apr-1995  mycroft Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
 1.8  23-Mar-1995  briggs KERNEL -> _KERNEL
 1.7  26-Oct-1994  cgd new RCS ID format.
 1.6  31-Jul-1994  lkestel Different pa_index() ifdef MACHINE_NONCONTIG.
 1.5  26-Jun-1994  briggs branches: 1.5.2;
Fix warnings...
 1.4  21-Apr-1994  briggs '040 changes from Amiga.
 1.3  15-Dec-1993  briggs Change constants and comments to reflect the current MACHINE value.
Define T_BRKPT and T_WATCHPOINT.
 1.2  29-Nov-1993  briggs Added signal.h for -current. The rest is formatting changes.
 1.1  29-Sep-1993  briggs branches: 1.1.1;
Initial revision
 1.1.1.1  29-Sep-1993  briggs The current MacBSD architecture sub-directory for NetBSD-0.9--more or
less. It needs some help to get to be -current. Support for minimal
hardware on the SE/30, II, IIx, and IIcx exists.
 1.5.2.1  11-Aug-1994  mycroft update from trunk
 1.25.6.1  02-Aug-1999  thorpej Update from trunk.
 1.25.4.1  29-Nov-1999  he Pull up revision 1.27 (reqyested by scottr):
Fix i-cache/d-cache synchronization for M68040 cpus (see M68040
UM p.4-10). Makes regress/sys/kern/sigtramp work even on M68040.
 1.25.2.2  28-Nov-1999  scottr Sync with main branch.
 1.25.2.1  01-Nov-1999  scottr Sync with main branch.
 1.26.8.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.26.2.2  23-Apr-2001  bouyer Sync with HEAD.
 1.26.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.27.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.32.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.32.2.2  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.32.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.33.4.6  11-Nov-2002  nathanw Catch up to -current
 1.33.4.5  18-Oct-2002  nathanw Catch up to -current.
 1.33.4.4  02-Jul-2002  nathanw Adjust whitespace so that this matches the trunk.
 1.33.4.3  24-Jun-2002  nathanw Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).
 1.33.4.2  18-Nov-2001  scw MD Scheduler Activation bits for Mac68k.

XXX: I'm unable to even compile-test these changes since Mac68k hasn't
XXX: transitioned to ELF, and I don't have a -current m68k a.out toolchain
XXX: handy.
 1.33.4.1  10-Sep-2001  scw file pmap.h was added on branch nathanw_sa on 2001-11-18 18:12:01 +0000

RSS XML Feed