[BACK]Return to mem.h CVS log [TXT][DIR] Up to [local] / funnyos / sys

Diff for /funnyos/sys/mem.h between version 1.1.1.1 and 1.3

version 1.1.1.1, 2007/10/16 09:41:05 version 1.3, 2007/11/09 15:04:34
Line 8 
Line 8 
   
 /* XXX replace with dynamic macross */  /* XXX replace with dynamic macross */
 #define KMEM_DATABEGIN  0x00100000 /* 1st MB */  #define KMEM_DATABEGIN  0x00100000 /* 1st MB */
   
   #ifdef ARCH_SAM7S64
   #define KMEM_HEAPBEGIN 0x00200800
   #else
 #define KMEM_HEAPBEGIN  0x00200000 /* 2nd MB */  #define KMEM_HEAPBEGIN  0x00200000 /* 2nd MB */
   #endif
   
 #define KMEM_STACKBEGIN (CONFIG_PHYSMEM - 1) /* end of physical memory */  #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_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    kmem_init(void);
 void    *kmalloc(uint32_t nbytes);  void    *kmalloc(uint32_t nbytes);

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.3

CVSweb