Back to index

glibc  2.9
Defines | Variables
mach_init.h File Reference
#include <mach/mach_types.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define __mach_task_self()   (__mach_task_self_ + 0) /* Not an lvalue. */
#define mach_task_self()   (__mach_task_self ())
#define round_page(x)
#define trunc_page(x)   ((((vm_offset_t) (x)) / __vm_page_size) * __vm_page_size)

Variables

mach_port_t __mach_task_self_
vm_size_t __vm_page_size
vm_size_t vm_page_size

Define Documentation

mach_port_t __mach_task_self ( )    (__mach_task_self_ + 0) /* Not an lvalue. */

Definition at line 32 of file mach_init.h.

mach_port_t mach_task_self ( )    (__mach_task_self ())

Definition at line 33 of file mach_init.h.

#define round_page (   x)
Value:
((((vm_offset_t) (x) + __vm_page_size - 1) / __vm_page_size) * \
   __vm_page_size)

Definition at line 40 of file mach_init.h.

#define trunc_page (   x)    ((((vm_offset_t) (x)) / __vm_page_size) * __vm_page_size)

Definition at line 45 of file mach_init.h.


Variable Documentation

mach_port_t __mach_task_self_

Definition at line 23 of file mach_init.c.

vm_size_t __vm_page_size

Definition at line 24 of file mach_init.c.

vm_size_t vm_page_size