summaryrefslogtreecommitdiff
path: root/kernel/old/include/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/old/include/common.h')
-rw-r--r--kernel/old/include/common.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/kernel/old/include/common.h b/kernel/old/include/common.h
new file mode 100644
index 0000000..599c492
--- /dev/null
+++ b/kernel/old/include/common.h
@@ -0,0 +1,31 @@
+/**
+** @file common.h
+**
+** @author Warren R. Carithers
+**
+** @brief Common definitions for the baseline system.
+**
+** This header file pulls in the standard header information needed
+** by all parts of the system. It is purely for our convenience.
+*/
+
+#ifndef COMMON_H_
+#define COMMON_H_
+
+// everything needs these; they also pull in
+// the kernel- or user-level defs and lib headers
+#include <types.h>
+#include <params.h>
+#include <defs.h>
+#include <lib.h>
+
+#ifdef KERNEL_SRC
+
+// only kernel code needs these headers
+#include <common.h>
+#include <cio.h>
+#include <debug.h>
+
+#endif /* KERNEL_SRC */
+
+#endif