mirror of
https://github.com/ish-app/ish.git
synced 2025-12-08 17:36:02 +00:00
15 lines
415 B
C
15 lines
415 B
C
#ifndef KERNEL_INIT_H
|
|
#define KERNEL_INIT_H
|
|
|
|
#include "fs/tty.h"
|
|
|
|
// Incredibly sloppy. Please do not reference as an example of good API design.
|
|
int mount_root(const struct fs_ops *fs, const char *source);
|
|
void set_console_device(int major, int minor);
|
|
int become_first_process(void);
|
|
int become_new_init_child(void);
|
|
int create_stdio(const char *file, int major, int minor);
|
|
int create_piped_stdio(void);
|
|
|
|
#endif
|