| 12345678910111213141516 |
- /* Ring-3 init bootstrap and supervision.
- *
- * The kernel starts /ramfs/bin/init as PID 1 after the ramfs/share mounts and
- * wm_server_init(), and before any WM exists. Init owns the WM and services;
- * the kernel only restarts init if it dies. `init_pid` is recorded inside
- * process_create_user_full() before the process is made runnable, so an AP
- * cannot run init and see an empty pid. */
- #ifndef INIT_H
- #define INIT_H
- unsigned int init_server_pid(void);
- void init_server_note_pid(unsigned int pid);
- int init_server_start(void);
- void init_server_supervise(void);
- #endif
|