From 61b4f7fb29db2e8f8af266fcb0836b6b9232245a Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 31 Jan 2021 22:08:01 +0200 Subject: Initial commit --- stdlib/stdlib.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 stdlib/stdlib.h (limited to 'stdlib/stdlib.h') 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 + +class Console { +public: + virtual void write(const String &msg) = 0; +}; + +void console_set(Console *ptr); + +void printk(const String &msg); + +__attribute__((__noreturn__)) void abort(); -- cgit v1.2.1