diff --git a/Makefile.example b/Makefile.example index ee2a9629..5d0f7ca8 100644 --- a/Makefile.example +++ b/Makefile.example @@ -1,4 +1,4 @@ -export TOPDIR = /home/stefan/SCC/MetalSVM +export TOPDIR = $(shell pwd) export ARCH = x86 NAME = metalsvm.bin KERNDIRS = libkern kernel mm fs arch lwip drivers diff --git a/include/metalsvm/config.h.example b/include/metalsvm/config.h.example index 6c0e0501..45d99102 100644 --- a/include/metalsvm/config.h.example +++ b/include/metalsvm/config.h.example @@ -27,9 +27,10 @@ extern "C" { #define METALSVM_VERSION "0.1" #define MAX_TASKS 16 #define MAX_CORES 8 +#define MAX_FNAME 128 #define DEFAULT_STACK_SIZE (32*1024) #define KERNEL_STACK_SIZE 8192 -#define KMSG_SIZE (1024*1024) +#define KMSG_SIZE (128*1024) #define PAGE_SIZE 4096 #define MAILBOX_SIZE 2 #define TIMER_FREQ 100 /* in HZ */ @@ -49,7 +50,8 @@ extern "C" { #define CONFIG_VGA #define CONFIG_KEYBOARD #define CONFIG_MULTIBOOT -//define CONFIG_ROCKCREEK +//#define CONFIG_ROCKCREEK +//#define CONFIG_LAPICTIMER #define BUILTIN_EXPECT(exp, b) __builtin_expect((exp), (b)) //#define BUILTIN_EXPECT(exp, b) (exp) @@ -65,21 +67,6 @@ extern "C" { #define HAVE_ARCH_STRCPY #define HAVE_ARCH_STRNCPY -typedef unsigned long long uint64_t; -typedef long long int64_t; -typedef unsigned int uint32_t; -typedef int int32_t; -typedef unsigned short uint16_t; -typedef short int16_t; -typedef unsigned char uint8_t; -typedef char int8_t; -typedef unsigned short wchar_t; - -#ifndef _WINT_T -#define _WINT_T -typedef unsigned int wint_t; -#endif - #ifdef __cplusplus } #endif