Go to the first, previous, next, last section, table of contents.
This section describes the Mach interface to a host executing a Mach kernel. The intrface allows it to query statistics about a host and control its behaviour.
A host is represented by two ports, a name port host of type
host_t
used to query information about the host accessible to
everyone and a control port host_priv of type host_priv_t
used to manipulate it. For example, you can query the current time over
the name port, but to change the time you need to send a message to the
host control port.
A send right to the name port of the host a task is running on is
available with the mach_host_self
system trap. A send right to
the host control port is inserted into the first task at bootstrap.
Everything described in this section is declared in the header file `mach.h'.
Go to the first, previous, next, last section, table of contents.