mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-11 05:24:44 -04:00
Add some values to sysfs
This commit is contained in:
parent
5a432d9f70
commit
8febad7357
@ -24,6 +24,7 @@
|
|||||||
#include "terminal.hpp"
|
#include "terminal.hpp"
|
||||||
#include "scheduler.hpp"
|
#include "scheduler.hpp"
|
||||||
#include "vfs/vfs.hpp"
|
#include "vfs/vfs.hpp"
|
||||||
|
#include "fs/sysfs.hpp"
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
@ -83,6 +84,9 @@ void kernel_main(){
|
|||||||
|
|
||||||
init_console();
|
init_console();
|
||||||
|
|
||||||
|
sysfs::set_value("/sys/", "version", "0.1");
|
||||||
|
sysfs::set_value("/sys/", "author", "Baptiste Wicht");
|
||||||
|
|
||||||
scheduler::init();
|
scheduler::init();
|
||||||
|
|
||||||
//Launch the shell
|
//Launch the shell
|
||||||
|
Loading…
x
Reference in New Issue
Block a user