2020-12-02 03:00:20 +00:00
|
|
|
#include <kernel/tty.h>
|
|
|
|
#include <kernel/init.h>
|
2022-10-29 15:05:05 +00:00
|
|
|
#include <sys/utsname.h>
|
|
|
|
#include <stdio.h>
|
2020-12-02 03:00:20 +00:00
|
|
|
|
|
|
|
void kern_main(void) {
|
|
|
|
term_init();
|
2022-10-29 15:05:05 +00:00
|
|
|
init();
|
|
|
|
struct utsname u;
|
|
|
|
uname(&u);
|
|
|
|
printf("%s %s %s\n", u.sysname, u.release, u.machine);
|
2020-12-02 03:00:20 +00:00
|
|
|
}
|