summaryrefslogtreecommitdiff
path: root/mach-defpager/mig-mutate.h
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-03-14 00:29:02 +0100
committerJustus Winter <4winter@informatik.uni-hamburg.de>2014-11-03 11:18:34 +0100
commit282e4ae275dc1b9b0b5bba6eb1b145cd1e80fa33 (patch)
tree972b4d244dc4f9511163f7da151381a5356c9558 /mach-defpager/mig-mutate.h
parent89abef408f02e463cfe9d462fa10be64a94b3b36 (diff)
mach-defpager: use protected payloads for object lookups
* mach-defpager/default_pager.c (pager_port_list_insert): Set protected payload. (pager_port_list_delete): Clear protected payload. * mach-defpager/mig-decls.h (begin_using_default_pager_payload): New function. * mach-defpager/mig-mutate.h: Add mutator.
Diffstat (limited to 'mach-defpager/mig-mutate.h')
-rw-r--r--mach-defpager/mig-mutate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mach-defpager/mig-mutate.h b/mach-defpager/mig-mutate.h
index 54aeeba6..31acaa6e 100644
--- a/mach-defpager/mig-mutate.h
+++ b/mach-defpager/mig-mutate.h
@@ -18,5 +18,8 @@
along with the GNU Hurd. If not, see <http://www.gnu.org/licenses/>. */
#define MEMORY_OBJECT_INTRAN default_pager_t begin_using_default_pager (mach_port_t)
+#define MEMORY_OBJECT_INTRAN_PAYLOAD \
+ default_pager_t begin_using_default_pager_payload
+
#define MEMORY_OBJECT_IMPORTS import "mig-decls.h";
#define DEFAULT_PAGER_IMPORTS import "mig-decls.h";