diff options
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(); |