[build] Various.

This commit is contained in:
Kevin Lange 2011-03-22 00:57:24 -04:00
parent 65a53722bb
commit 781659d67b
3 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,15 @@
#ifndef EXT2_H
#define EXT2_h
#include <types.h>
#ifdef _KERNEL_
# include <types.h>
#else
# ifdef BOOTLOADER
# include <types.h>
# else
# include <stdint.h>
# endif
#endif
#define EXT2_SUPER_MAGIC 0xEF53

View File

@ -1,8 +1,9 @@
#ifndef __SYSTEM_H
#define __SYSTEM_H
#define _KERNEL_
#include <types.h>
/* Unimportant Kernel Strings */
#define KERNEL_UNAME "ToAruOS"
#define KERNEL_VERSION_STRING "0.0.1"

View File

@ -6,9 +6,10 @@
* architecture you feel like running me on, though I much
* prefer something simple and 32-bit.
*/
#include <stdint.h>
#include <stdio.h>
#include "../kernel/include/ext2.h"
int main(int argc, char ** argv) {
printf("Mr. Boots Installer\n");
}