=================================================================== RCS file: /cvs/funnyos/sys/mem.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- funnyos/sys/mem.h 2007/10/16 09:41:05 1.1 +++ funnyos/sys/mem.h 2007/10/16 12:48:00 1.2 @@ -1,5 +1,5 @@ /* - * $Id: mem.h,v 1.1 2007/10/16 08:41:05 init Exp $ + * $Id: mem.h,v 1.2 2007/10/16 11:48:00 init Exp $ */ #ifndef _SYS_MEM_H #define _SYS_MEM_H @@ -12,6 +12,8 @@ #define KMEM_STACKBEGIN (CONFIG_PHYSMEM - 1) /* end of physical memory */ #define KMEM_MINESTSTACKSIZE 1024 /* 1KB, minimum estimated stack size (when brk shifts to the top of stack) */ + +#define KMEM_FILLBYTE 0x00 /* byte with which free pages will be filled */ void kmem_init(void); void *kmalloc(uint32_t nbytes);