History log of /netbsd/sys/uvm/uvm_pmap.h (Results 1 – 25 of 43)
Revision Date Author Comments
# f7d0cf1b 20-Aug-2022 riastradh <riastradh@NetBSD.org>

uvm/uvm_pmap.h: Fix missing types and forward declarations.

- Need sys/types.h for vaddr_t, paddr_t, u_int, &c.
- Forward-declare struct vm_page so we don't have to rely on
machine/pmap.h to do so.


# b49f812e 16-Feb-2022 riastradh <riastradh@NetBSD.org>

uvm: MI declaration of pmap_pv_protect.


# d95bb611 07-Mar-2021 skrll <skrll@NetBSD.org>

<tab> consistency


# e48bffd9 14-Mar-2020 ad <ad@NetBSD.org>

pmap_remove_all(): Return a boolean value to indicate the behaviour. If
true, all mappings have been removed, the pmap is totally cleared out, and
UVM can then avoid doing the work to call pmap_remo

pmap_remove_all(): Return a boolean value to indicate the behaviour. If
true, all mappings have been removed, the pmap is totally cleared out, and
UVM can then avoid doing the work to call pmap_remove() for each map entry.
If false, either nothing has been done, or some helpful arch-specific voodoo
has taken place.

show more ...


# 2b494698 19-May-2018 jdolecek <jdolecek@NetBSD.org>

add experimental new function uvm_direct_process(), to allow of read/writes
of contents of uvm pages without mapping them into kernel, using
direct map or moral equivalent; pmaps supporting the inter

add experimental new function uvm_direct_process(), to allow of read/writes
of contents of uvm pages without mapping them into kernel, using
direct map or moral equivalent; pmaps supporting the interface need
to provide pmap_direct_process() and define PMAP_DIRECT

implement the new interface for amd64; I hear alpha and mips might be relatively
easy to add too, but I lack the knowledge

part of resolution for PR kern/53124

show more ...


# 52c646d4 02-Feb-2013 matt <matt@NetBSD.org>

Remove __BEGIN_DECLS/__END_DECLS
Allow pmap_kenter_pa to be a macro.


# 8e97b312 30-Jun-2011 matt <matt@NetBSD.org>

Move PMAP_* cache defines to before inclusion of <machine/pmap.h>


# 5e3d994c 11-Feb-2011 jmcneill <jmcneill@NetBSD.org>

add optional MD pmap_mmap_flags macro for passing flags between cdev_mmap
and pmap_enter, ok matt@


# 05061c6a 29-Nov-2010 mrg <mrg@NetBSD.org>

put the kernel-only externs back before <machine/pmap.h>. fixes ofppc build.


# a9bdee4f 26-Nov-2010 christos <christos@NetBSD.org>

don't leak kernel variables to userland!


# 71e8cdce 06-Jul-2010 cegger <cegger@NetBSD.org>

Turn PMAP_NOCACHE into MI flag.
Add MI flags PMAP_WRITE_COMBINE, PMAP_WRITE_BACK, PMAP_NOCACHE_OVR.
Update pmap(9) manpage.

hppa: Remove MD PMAP_NOCACHE flag as it exists as MI flag
mips: Rename MD

Turn PMAP_NOCACHE into MI flag.
Add MI flags PMAP_WRITE_COMBINE, PMAP_WRITE_BACK, PMAP_NOCACHE_OVR.
Update pmap(9) manpage.

hppa: Remove MD PMAP_NOCACHE flag as it exists as MI flag
mips: Rename MD PMAP_NOCACHE to PGC_NOCACHE.

x86: Implement new MI flags using Page-Attribute Tables.
x86: Implement BUS_SPACE_MAP_PREFETCHABLE.

Patch presented on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2010/06/30/msg008458.html

No comments on this last version.
Forgot to commit this in previous.

show more ...


# 9480c51b 07-Nov-2009 cegger <cegger@NetBSD.org>

Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.


# 40cf6f36 21-Oct-2009 rmind <rmind@NetBSD.org>

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pm

Remove uarea swap-out functionality:

- Addresses the issue described in PR/38828.
- Some simplification in threading and sleepq subsystems.
- Eliminates pmap_collect() and, as a side note, allows pmap optimisations.
- Eliminates XS_CTL_DATA_ONSTACK in scsipi code.
- Avoids few scans on LWP list and thus potentially long holds of proc_lock.
- Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k.
- Removes __SWAP_BROKEN cases.

Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on
acorn26 (thanks to <bjh21>).

Discussed on <tech-kern>, reviewed by <ad>.

show more ...


# 071708f2 19-Aug-2009 thorpej <thorpej@NetBSD.org>

Use PMAP_ENABLE_PMAP_KMPAGE to enable PMAP_KMPAGE. We still want the bit
defined in the MI space, not in an MD header.


# 1ed65faa 19-Aug-2009 thorpej <thorpej@NetBSD.org>

Rationalize the definition of PMAP_KMPAGE.


# e3735e2a 23-Apr-2009 cegger <cegger@NetBSD.org>

use top-most bits for PMAP_MD_MASK instead something in the middle.
per request from christos@


# 1d89a182 21-Apr-2009 cegger <cegger@NetBSD.org>

change pmap flags argument from int to u_int.
discussed with christos@ on source-changes-d@


# c2752967 18-Apr-2009 cegger <cegger@NetBSD.org>

Introduce PMAP_MD_MASK. Reserves PMAP bits for use in MD code.
Presented on tech-kern@, port-i386@ and port-amd64@
ok ad@


# ee352f3d 10-Dec-2008 pooka <pooka@NetBSD.org>

Make kernel_pmap_ptr a const. Requested by steve_martin.


# 29d439f8 09-Dec-2008 pooka <pooka@NetBSD.org>

Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module. pmap_kernel()
remains as the syntactic sugar.

Bonus cosmetics round: move all the

Make pmap_kernel() a MI macro for struct pmap *kernel_pmap_ptr,
which is now the "API" provided by the pmap module. pmap_kernel()
remains as the syntactic sugar.

Bonus cosmetics round: move all the pmap_t pointer typedefs into
uvm_pmap.h.

Thanks to Greg Oster for providing cpu muscle for doing test builds.

show more ...


# 3e3119f9 16-Jul-2008 matt <matt@NetBSD.org>

Default PMAP_KMPAGE to 0 unless it's been previously defined by
<machine/pmap.h>


# ad65eb54 16-Jul-2008 matt <matt@NetBSD.org>

Add PMAP_KMPAGE flag for pmap_kenter_pa. This allows pmaps to know that
the page being entered is being for the kernel memory allocator. Such pages
should have no references and don't need bookkeep

Add PMAP_KMPAGE flag for pmap_kenter_pa. This allows pmaps to know that
the page being entered is being for the kernel memory allocator. Such pages
should have no references and don't need bookkeeping.

show more ...


# a1457f59 16-Jul-2007 macallan <macallan@NetBSD.org>

change pmap_phys_address()s parameter to paddr_t since that's what it gets
fed from mmap*() anyway
approved by gimpy


# 712239e3 21-Feb-2007 thorpej <thorpej@NetBSD.org>

Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.


# 95e1ffb1 11-Dec-2005 christos <christos@NetBSD.org>

merge ktrace-lwp.


12