- update of the example files

git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@157 315a16e6-25f9-4109-90ae-ca3045a26c18
This commit is contained in:
stefan 2010-09-10 22:24:02 +00:00
parent 81df510743
commit 17c61b4a23
2 changed files with 5 additions and 18 deletions

View file

@ -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

View file

@ -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