#
67e98139 |
| 03-Apr-2024 |
miod <miod@openbsd.org> |
pmap_virtual_space() and pmap_steal_memory() are mutually exclusive, so make sure only one of them is prototyped and only one of them is implemented. ok mpi@ kettenis@
|
#
ba8b8a70 |
| 13-Apr-2023 |
miod <miod@openbsd.org> |
pmap_copy() has never, ever, been implemented in any of the platforms OpenBSD ever ran on, and it's unlikely to ever be implemented, so remove it. ok jsg@
|
#
58e38c50 |
| 01-Jan-2023 |
miod <miod@openbsd.org> |
With the introduction of the PMAP_PREFER_{ALIGN,OFFSET} macros a long time ago, there are actually no more uses of the PMAP_PREFER() macro left in the kernel. Remove that macro but keep PMAP_PREFER a
With the introduction of the PMAP_PREFER_{ALIGN,OFFSET} macros a long time ago, there are actually no more uses of the PMAP_PREFER() macro left in the kernel. Remove that macro but keep PMAP_PREFER as a simple #define for it to let uvm knows the PMAP_PREFER_{ALIGN,OFFSET} macros are available.
ok mpi@
show more ...
|
#
f88a4ea9 |
| 10-Sep-2022 |
miod <miod@openbsd.org> |
Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise. Use that define to shunt uvm_swapout_threads(), which is a noop when pmap_collect() does nothing.
ok mpi@
|
#
39f3b5a8 |
| 07-Aug-2022 |
miod <miod@openbsd.org> |
Move fallback PMAP_PREFER definitions from uvm_map.c to uvm_pmap.h for them to be available to other files. NFC
ok kettenis@ mpi@
|
#
bbcfe7aa |
| 08-Dec-2019 |
visa <visa@openbsd.org> |
Remove an unnecessary #ifndef PMAP_EXCLUDE_DECLS. It was last utilized by sparc pmap.
OK mpi@ guenther@ kettenis@
|
#
642e262e |
| 31-Oct-2018 |
kettenis <kettenis@openbsd.org> |
Add support to uvm to establish write-combining mappings. Use this in the inteldrm driver to add support for the I915_MMAP_WC flag.
ok deraadt@, jsg@
|
#
71ff4f45 |
| 19-Oct-2016 |
guenther <guenther@openbsd.org> |
Change pmap_proc_iflush() to take a process instead of a proc powerpc: rename second argument of pmap_proc_iflush() to match other archs
ok kettenis@
|
#
cf122666 |
| 03-Mar-2016 |
naddy <naddy@openbsd.org> |
Remove option USER_LDT and everything depending on it. Remove machdep.userldt sysctl. Remove i386_[gs]et_ldt syscall stub from libi386. Remove i386_[gs]et_ldt regression test.
ok mlarkin@ millert@ g
Remove option USER_LDT and everything depending on it. Remove machdep.userldt sysctl. Remove i386_[gs]et_ldt syscall stub from libi386. Remove i386_[gs]et_ldt regression test.
ok mlarkin@ millert@ guenther@
show more ...
|
#
b9032da0 |
| 10-Nov-2015 |
mlarkin <mlarkin@openbsd.org> |
UVM change needed for vmm.
discussed with miod, deraadt, and guenther.
|
#
120b8d62 |
| 15-Feb-2015 |
miod <miod@openbsd.org> |
Change pmap_remove_holes() to take a vmspace instead of a map as its argument.
Use this on vax to correctly pick the end of the stack area now that the stackgap adjustment code will no longer guaran
Change pmap_remove_holes() to take a vmspace instead of a map as its argument.
Use this on vax to correctly pick the end of the stack area now that the stackgap adjustment code will no longer guarantee it is a fixed location.
show more ...
|
#
1e8cdc2e |
| 16-Nov-2014 |
deraadt <deraadt@openbsd.org> |
Replace a plethora of historical protection options with just PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove
Replace a plethora of historical protection options with just PROT_NONE, PROT_READ, PROT_WRITE, and PROT_EXEC from mman.h. PROT_MASK is introduced as the one true way of extracting those bits. Remove UVM_ADV_* wrapper, using the standard names. ok doug guenther kettenis
show more ...
|
#
97c974cd |
| 26-Dec-2010 |
miod <miod@openbsd.org> |
Kill pmap_phys_address(), and force every driver's mmap() routine to return a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].
This allows MI
Kill pmap_phys_address(), and force every driver's mmap() routine to return a physical address [more precisely, something suitable to pass to pmap_enter()'sphysical address argument].
This allows MI drivers to implement mmap() routines without having to know about the pmap_phys_address() implementation and #ifdef obfuscation.
show more ...
|
#
e9b47358 |
| 18-Nov-2010 |
miod <miod@openbsd.org> |
Declare pmap_proc_iflush() in <uvm/uvm_pmap.h> unless <machine/pmap.h> provides an inline version of it.
|
#
88f8526a |
| 05-Feb-2009 |
oga <oga@openbsd.org> |
Add some (currently unused) MD pmap flags to be used for pushing in parameters such as cacheability, which is too different per-arch to be MI.
discussed with miod, kettenis and art. ok miod@, art@.
|
#
8e46a4c8 |
| 10-Sep-2007 |
miod <miod@openbsd.org> |
Introduce a md pmap hook, pmap_remove_holes(), which is supposed to mark the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces.
On platforms wit
Introduce a md pmap hook, pmap_remove_holes(), which is supposed to mark the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces.
On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway).
Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later.
show more ...
|
#
f8b8cf49 |
| 04-Apr-2005 |
miod <miod@openbsd.org> |
Nuke pmap_bootstrap_alloc(), not used anymore.
|
#
c181fde6 |
| 29-Jan-2004 |
drahn <drahn@openbsd.org> |
fix prototype of pmap_update(), ok miod@
|
#
29295d1c |
| 02-Jun-2003 |
millert <millert@openbsd.org> |
Remove the advertising clause in the UCB license which Berkeley rescinded 22 July 1999. Proofed by myself and Theo.
|
#
a87dd069 |
| 10-Sep-2002 |
art <art@openbsd.org> |
Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page * instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outsi
Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page * instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code.
This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes.
deraadt@ miod@ drahn@ ok.
show more ...
|
#
950c866b |
| 18-Mar-2002 |
hugh <hugh@openbsd.org> |
These are macro inlines on vax, so check if they're defined before trying to prototype them. millert@ ok.
|
#
921bdb06 |
| 18-Mar-2002 |
hugh <hugh@openbsd.org> |
$OpenBSD$
|
#
48a39fef |
| 14-Mar-2002 |
dhartmei <dhartmei@openbsd.org> |
Prototype pmap_unwire() only if it's not already defined. ok drahn@.
|
#
34b934ec |
| 14-Mar-2002 |
mickey <mickey@openbsd.org> |
do not proto pmap(de)activate if one was defined
|
#
c4071fd1 |
| 14-Mar-2002 |
millert <millert@openbsd.org> |
First round of __P removal in sys
|