From b707eed2ccab33aa5c008a84d4a74788b4b2e52d Mon Sep 17 00:00:00 2001 From: David Date: Mon, 11 Nov 2013 19:02:19 +1300 Subject: Added %o %b %c in printf(), started memory detection --- toast.h | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'toast.h') diff --git a/toast.h b/toast.h index 479bd41..7aa1c3d 100644 --- a/toast.h +++ b/toast.h @@ -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 // Get our booleans defined #include // uint_8 etc +#include // Get our boolean types defined -#include // Console output functions -//#include // Console output functions +#define TRUE true +#define FALSE false + +#include // Console output functions #include // Low level assembly, eg outb(port,val) #include // Common string functions -//#include // Common string functions +#include // Kernel panic and emergency procedures +#include + // KERNEL.C void kernel_main(); -- cgit v1.1