]> git.saurik.com Git - apple/xnu.git/blame - osfmk/man/bootstrap_completed.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / bootstrap_completed.html
CommitLineData
13fec989
A
1<h2>bootstrap_completed</h2>
2<hr>
3<p>
4<strong>Server Interface</strong> - Inform bootstrap server that
5initialization is complete.
6<h3>SYNOPSIS</h3>
7<pre>
8<strong>kern_return_t bootstrap_completed</strong>
9 <strong>(mach_port_t</strong> <var>bootstrap_port</var>,
10 <strong>task_t</strong> <var>task</var><strong>);</strong>
11</pre>
12<h3>PARAMETERS</h3>
13<dl>
14<p>
15<dt> <var>bootstrap_port</var>
16<dd>
17The port representing the calling task's bootstrap server.
18<p>
19<dt> <var>task</var>
20<dd>
21This parameter represents the calling task.
22</dl>
23<h3>DESCRIPTION</h3>
24<p>
25This interface allows a given server task to inform the bootstrap
26server that it is fully initialized and ready to handle requests.
27Upon receiving such notification, the bootstrap server can initialize
28any additional servers that may require services provided by the
29previously initialized server.
30<p>
31Note the following: not all servers that may be invoked by the bootstrap server
32send this message upon startup. If the bootstrap server is told to
33wait for this message before spawning further servers (via setting a
34flag in the <strong>bootstrap.conf</strong> file) and the server just invoked never
35sends this message, the bootstrap server will wait forever.
36<h3>NOTES</h3>
37<p>
38Currently, this interface is used exclusively by the default
39pager server so that the bootstrap server can defer initializing the
40OS server until the default pager is in place. (In small memory
41configurations, an OS server may not be able to initialize
42successfully unless the default pager is ready to handle paging
43requests.)
44<h3>RETURN VALUES</h3>
45<dl>
46<p>
47<dt> <strong>KERN_SUCCESS</strong>
48<dd>
49The bootstrap server has updated the calling server's state with
50respect to bootstrap completion.
51<p>
52<dt> <strong>KERN_INVALID_ARGUMENT</strong>
53<dd>
54The bootstrap server does not recognize the calling server (the task
55specified by the <var>task</var> parameter).
56</dl>
57<h3>RELATED INFORMATION</h3>
58<p>
59Functions: