diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-06-02 00:26:57 +0200 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-06-02 00:26:57 +0200 |
commit | 45f420a338ea02225bb8a98c9aca5eed8d6a23ae (patch) | |
tree | 97fdb1c8e81ba79b101b928158e5e37fa938c8f3 /kernel/lib.h |
Initial commit
Diffstat (limited to 'kernel/lib.h')
-rw-r--r-- | kernel/lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/lib.h b/kernel/lib.h new file mode 100644 index 0000000..c325dfd --- /dev/null +++ b/kernel/lib.h @@ -0,0 +1,10 @@ +#pragma once
+
+#define NULL (0)
+
+typedef unsigned int uint32_t;
+typedef int int32_t;
+
+static_assert(sizeof(uint32_t) == 4);
+
+void panic(const char*);
|