Home | History | Annotate | Download | only in include
History log of /src/sys/arch/mvme68k/include/pmap.h
RevisionDateAuthorComments
 1.27  03-Nov-2002  chs merge pmap.h for all 4k-page motorola-MMU (or compatible) m68k platforms.
 1.26  22-Sep-2002  chs it really helps to get the stub right before cutting + pasting it 27 times.
alas, I did not. doh.
 1.25  22-Sep-2002  chs add pmap_remove_all() hook (empty on most platforms so far).
 1.24  10-Sep-2001  chris branches: 1.24.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.23  26-May-2001  chs branches: 1.23.2; 1.23.4;
replace vm_page_t with struct vm_page *.
 1.22  26-May-2001  chs replace {simple_,}lock{_data,}_t with struct {simple,}lock {,*}.
 1.21  16-May-2001  scw Finally nobble the bus_dmamap_sync() problem with osiop(4).

Basically, bus_dmamap_sync() `PREREAD' needs to flush the cache
for the start and end of the region if it is not aligned to
a cacheline boundary, otherwise a subsequent POSTREAD can *purge*
valid data which was in the cacheline but *outside* the region
passed to bus_dmamap_sync().

Bus snooping doesn't always help here because osiop(4) calls
bus_dmamap_sync() with POSTREAD even if no data was actually
transferred! (And we can't rely on snooping on the 68060 models anyway).
 1.20  22-Apr-2001  thorpej Undo a misguided previous change to the pmap_update() API.
 1.19  22-Apr-2001  thorpej Give pmap_update() an argument (a pmap_t) so that it knows which
pmap it should be updating.
 1.18  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.17  22-Sep-2000  scw branches: 1.17.2;
Add pmap_zero_page_uncached(), and the PMAP_PAGEIDLEZERO macro.
 1.16  27-May-2000  scw Nuke HP_SEG_SIZE. Use NBSEG instead (as used by m68k_trunc_seg() et al),
which takes into account the mmu type.
 1.15  18-Mar-2000  scw branches: 1.15.2;
Merge 'scw_mvme68k_bus_space' branch with the trunk.
These changes add support for:

o The MI VMEbus framework on both MVME147 and MVME167.
o Enhancements to the existing MD bus_space(9) implementation.
o Most of the bus_dma(9) API.
 1.14  26-Feb-1999  is branches: 1.14.8; 1.14.16;
MVME68K specific part of fix for PR 6152
 1.13  16-Jan-1999  chuck MNN is no longer optional
 1.12  22-Aug-1998  scw vm_offset -> [vp]addr_t and vm_size_t -> [vp]size_t
While I'm here, expunge use of 'register' storage class.
 1.11  21-Feb-1998  scw Whoops, cgd's pmap_map change got lost! Put it back.
 1.10  21-Feb-1998  scw Implement changes for MACHINE_NEW_NONCONTIG and UVM.
 1.9  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.8  06-Jan-1998  thorpej Garbage-collect pm_stchanged; it's not used by anything.
 1.7  06-Jan-1998  thorpej Garbage-collect use of the PCB's copy of the user segment table pointer.
 1.6  03-Jan-1998  thorpej Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>
 1.5  01-Jan-1998  thorpej Change an argument name to PMAP_ACTIVATE() to more accurately describe the
semantics of the argument.
 1.4  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.3  09-Oct-1997  scw Added support for VMEbus RAM cards via MACHINE_NONCONTIG.
The kernel should still compile and run without it, but I've
put the config option in std.mvme68k so it's built like this
as standard.
 1.2  21-Jun-1997  scw branches: 1.2.4;
Deleted m68k_round_seg and m68k_trunc_seg. They're in common m68k/param.h now.
 1.1  25-Jul-1995  chuck branches: 1.1.1;
Initial revision
 1.1.1.1  25-Jul-1995  chuck mvme68k port -- for the motorola vme147 m68030 card
 1.2.4.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.14.16.3  18-Mar-2000  scw MI VMEbus glue more or less complete.
Kernels now compiled with -Wall, etc. (lots of fixes needed for this)
All MD drivers now bus_spaced/bus_dma'd. The two SCSI drivers should
be replaced with bus_spaced MI versions at some point.
 1.14.16.2  14-Mar-2000  scw s/v/va/
 1.14.16.1  13-Mar-2000  scw Add constraints for bus_dmamem_map() to allow allocation from onboard
RAM only, and/or restricting physical addresses to 24-bits.

Also make bus_dmamem_map() actually honour the BUS_DMA_COHERENT flag.
 1.14.8.2  23-Apr-2001  bouyer Sync with HEAD.
 1.14.8.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.15.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.17.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.23.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.23.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.23.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.24.4.6  11-Nov-2002  nathanw Catch up to -current
 1.24.4.5  18-Oct-2002  nathanw Catch up to -current.
 1.24.4.4  02-Jul-2002  nathanw Adjust whitespace so that this matches the trunk.
 1.24.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.24.4.2  17-Nov-2001  scw Kernel support for Scheduler Activations on m68k-based ports using
mvme68k as a testbed.

Boots multi-user on an mvme162, although userland support for SA is not
yet integrated/tested.
 1.24.4.1  10-Sep-2001  scw file pmap.h was added on branch nathanw_sa on 2001-11-17 13:07:54 +0000

RSS XML Feed