BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / d41a53cbc7d055b1c00cf0a339dbed6925f4f02c / screen.h

// Related

Orion

Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)
diff --git a/screen.h b/screen.h
new file mode 100644
index 0000000..3fbda71
--- /dev/null
+++ b/screen.h
@@ -0,0 +1,16 @@
+#ifndef KERNEL_SCREEN_H
+#define KERNEL_SCREEN_H
+
+int sprintf(char *buf, char *fmt, ...);
+void panic(char *fmt, ...);
+void kprintf(char *fmt, ...);
+void dbgprintf(char *msg);
+
+#define ASSERT(c)  ({ \
+        if (!(c)) \
+        	panic("Assertion failed (%s:%d): " #c, \
+        	      __FILE__, __LINE__); \
+        c; \
+})
+
+#endif