diff options
Diffstat (limited to 'mach/mach_init.h')
-rw-r--r-- | mach/mach_init.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mach/mach_init.h b/mach/mach_init.h index 44a7ce2c50..3cced775b4 100644 --- a/mach/mach_init.h +++ b/mach/mach_init.h @@ -1,5 +1,5 @@ /* Declarations and macros for the basic Mach things set at startup. - Copyright (C) 1993-2015 Free Software Foundation, Inc. + Copyright (C) 1993-2016 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -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; |