ish/kernel/init.h
Theodore Dubois cef1841a40 Make it possible to run init
If you set the init command to /sbin/init, you'll see it fail to run openrc and then start a working getty.
2019-05-01 08:53:25 -07:00

12 lines
278 B
C

#ifndef KERNEL_INIT_H
#define KERNEL_INIT_H
#include "fs/tty.h"
int mount_root(const struct fs_ops *fs, const char *source);
void create_first_process(void);
void set_console_device(int major, int minor);
int create_stdio(const char *file, struct tty_driver *driver);
#endif