diff options
author | David <dbphillipsnz@gmail.com> | 2013-11-11 19:02:19 +1300 |
---|---|---|
committer | David <dbphillipsnz@gmail.com> | 2014-03-27 20:32:47 +1300 |
commit | b707eed2ccab33aa5c008a84d4a74788b4b2e52d (patch) | |
tree | 7f6402a0025e084559e5fe4646a94c11d9e670ef /toast.h | |
parent | 9d9de30b314f763069ed18fe8da8b6187d6faf38 (diff) | |
download | toast-b707eed2ccab33aa5c008a84d4a74788b4b2e52d.tar.xz |
Added %o %b %c in printf(), started memory detection
Diffstat (limited to 'toast.h')
-rw-r--r-- | toast.h | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -19,17 +19,24 @@ #ifndef TOAST_H #define TOAST_H -#define KERNEL_VERSION "0.1" +#define KERNEL_VERSION_MAJ 0 +#define KERNEL_VERSION_MIN 1 #define KERNEL_NICKNAME "Hydrogen" +#define NULL 0 +#define SUCCESS 1 -#include <stdbool.h> // Get our booleans defined #include <stdint.h> // uint_8 etc +#include <stdbool.h> // Get our boolean types defined -#include <screen/console.h> // Console output functions -//#include <console.h> // Console output functions +#define TRUE true +#define FALSE false + +#include <screen/console.h> // Console output functions #include <lowlevel.h> // Low level assembly, eg outb(port,val) #include <string/common.h> // Common string functions -//#include <string.h> // Common string functions +#include <panic.h> // Kernel panic and emergency procedures +#include <multiboot.h> + // KERNEL.C void kernel_main(); |