freebsd-nq/sys/ia64
Marcel Moolenaar b4b7c60d70 Better preserve the original protection for the mappings we maintain.
The hardware always gives read access for privilege level 0, which
means that we cannot use the hardware access rights and privilege
level in the PTE to test whether there's a change in protection.  So,
we save the original vm_prot_t in the PTE as well.
Add pmap_pte_prot() to set the proper access rights and privilege
level on the PTE given a pmap and the requested protection.

The above allows us to compare the protection in pmap_extract_and_hold()
which was missing. While in pmap_extract_and_hold(), add pmap locking.

While here, clean up most (i.e. all but one) PTE macros we inherited
from alpha. They were either unused, used inconsistently, badly named
or simply weren't beneficial. We save the wired and managed state of
the PTE in distinct (bit) fields.

While in pte.h, s/u_int64_t/uint64_t/g

pmap locking obtained from: alc@
feedback & review by: alc@
2004-08-09 20:44:41 +00:00
..
acpica Add machdep quirks functions. On i386, this disables acpi on systems with 2004-06-30 04:42:29 +00:00
compile
conf Making a loadable null.ko for /dev/(null|zero) proved rather 2004-08-03 19:24:54 +00:00
disasm
ia32 Add missing #include "opt_compat.h" so that the compatability function 2003-12-18 06:59:18 +00:00
ia64 Better preserve the original protection for the mappings we maintain. 2004-08-09 20:44:41 +00:00
include Better preserve the original protection for the mappings we maintain. 2004-08-09 20:44:41 +00:00
isa Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
pci