summary refs log tree commit diff
path: root/mach/mach_init.h
diff options
context:
space:
mode:
Diffstat (limited to 'mach/mach_init.h')
-rw-r--r--mach/mach_init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mach/mach_init.h b/mach/mach_init.h
index 44a7ce2c50..26b2639fd8 100644
--- a/mach/mach_init.h
+++ b/mach/mach_init.h
@@ -31,6 +31,11 @@ extern mach_port_t __mach_task_self_;
 #define __mach_task_self()	(__mach_task_self_ + 0)	/* Not an lvalue.  */
 #define mach_task_self()	(__mach_task_self ())
 
+/* This cache is initialized at startup.  */
+extern mach_port_t __mach_host_self_;
+#define __mach_host_self()	(__mach_host_self_ + 0)	/* Not an lvalue.  */
+#define mach_host_self()	(__mach_host_self ())
+
 /* Kernel page size.  */
 extern vm_size_t __vm_page_size;
 extern vm_size_t vm_page_size;