X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/man/bootstrap_ports.html diff --git a/osfmk/man/bootstrap_ports.html b/osfmk/man/bootstrap_ports.html old mode 100755 new mode 100644 index 3d5030e00..1b5b2fe1a --- a/osfmk/man/bootstrap_ports.html +++ b/osfmk/man/bootstrap_ports.html @@ -1 +1,75 @@ -

bootstrap_ports


Function - Return send rights to the system's control ports.

SYNOPSIS

kern_return_t   bootstrap_ports
                (mach_port_t                          bootstrap,
                 bootstrap                         host_control,
                 host_control                     device_master,
                 device_master                root_wired_ledger,
                 root_wired_ledger            root_paged_ledger,
                 bootstrap                             security);

PARAMETERS

bootstrap
[in bootstrap send right] The bootstrap port obtained from \*Ltask_get_special_ports()\*O.

host_priv
[out host-control send right] The control port for the host.

device_master
[out device-master send right] The device master port.

root_wired_ledger
[out ledger send right] The root wired kernel memory ledger port.

root_paged_ledger
[out ledger send right] The root default memory managed space ledger port.

security
[out security send right] The host security port, used for setting task identity.

DESCRIPTION

The bootstrap_ports function returns a send right to the host control, root ledger, host security and device master ports. The kernel will respond to this message on the TASK_BOOTSTRAP_PORT given to the system bootstrap task (task 1) with the system privileged ports. It is the responsibility of the bootstrap task to manage the distribution of these rights to other servers.

An OS personality can serve as a server on the TASK_BOOTSTRAP_PORT for tasks or servers that it manages, and can regulate or interpose on the ports in any way it deems necessary.

RETURN VALUES

Only generic errors apply.

RELATED INFORMATION

Functions: device_open, host_get_clock_control, host_get_clock_service, host_processor_set_priv, host_processors, ledger_create, task_set_security_token. \ No newline at end of file +

bootstrap_ports

+
+

+Function - Return send rights to the system's control ports. +

SYNOPSIS

+
+kern_return_t   bootstrap_ports
+                (mach_port_t                          bootstrap,
+                 bootstrap                         host_control,
+                 host_control                     device_master,
+                 device_master                root_wired_ledger,
+                 root_wired_ledger            root_paged_ledger,
+                 bootstrap                             security);
+
+

PARAMETERS

+
+

+

bootstrap +
+[in bootstrap send right] +The bootstrap port obtained from \*Ltask_get_special_ports()\*O. +

+

host_priv +
+[out host-control send right] +The control port for the host. +

+

device_master +
+[out device-master send right] +The device master port. +

+

root_wired_ledger +
+[out ledger send right] +The root wired kernel memory ledger port. +

+

root_paged_ledger +
+[out ledger send right] +The root default memory managed space ledger +port. +

+

security +
+[out security send right] +The host security port, used for setting task +identity. +
+

DESCRIPTION

+

+The bootstrap_ports function returns a send right to +the host control, root +ledger, host security and device master ports. The kernel will respond +to this message on the TASK_BOOTSTRAP_PORT given to the system bootstrap +task (task 1) with the system privileged ports. It is the +responsibility of the bootstrap task to manage the distribution +of these rights to other servers. +

+An OS personality can serve as a server on the TASK_BOOTSTRAP_PORT +for tasks or servers that it manages, and can regulate or interpose on +the ports in any way it deems necessary. +

RETURN VALUES

+

+Only generic errors apply. +

RELATED INFORMATION

+

+Functions: +device_open, +host_get_clock_control, +host_get_clock_service, +host_processor_set_priv, +host_processors, +ledger_create, +task_set_security_token.