diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-01-31 22:08:01 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2021-01-31 22:08:01 +0200 |
commit | 61b4f7fb29db2e8f8af266fcb0836b6b9232245a (patch) | |
tree | c5aa7d9049cbeb60e17e8440ac8eb0f79decf66b /stdlib/stdlib.h | |
download | kernel.cpp-61b4f7fb29db2e8f8af266fcb0836b6b9232245a.tar.xz |
Initial commit
Diffstat (limited to 'stdlib/stdlib.h')
-rw-r--r-- | stdlib/stdlib.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h new file mode 100644 index 0000000..3e6619d --- /dev/null +++ b/stdlib/stdlib.h @@ -0,0 +1,14 @@ +#pragma once + +#include <string.h> + +class Console { +public: + virtual void write(const String &msg) = 0; +}; + +void console_set(Console *ptr); + +void printk(const String &msg); + +__attribute__((__noreturn__)) void abort(); |