param.h

Go to the documentation of this file.
00001 /*
00002 ** param.h for lseos in lseos-lib/libc/machdep
00003 ** 
00004 ** Copyright (c)2004 Vianney Rancurel
00005 ** Login   <vianney@epita.fr>
00006 ** 
00007 ** Started on  Fri Apr 30 11:18:56 2004 Vianney Rancurel
00008 ** Last update Mon Nov 29 15:13:32 2004 Vianney Rancurel
00009 */
00010 #ifndef __MACHDEP_PARAM_H__
00011 #define __MACHDEP_PARAM_H__     1 
00012 
00013 #define PAGESIZE        0x1000
00014 #define GDT_SIZEPG      16              /* that covers the processor limit */
00015 #define IDT_SIZEPG      1               /* 16pgs covers the processor
00016                                            limit but 256 entries is
00017                                            sufficient */
00018 #define PGTBLSIZE       (1024 * PAGESIZE)
00019 
00020 #define KERNEL_PGTBL    0xc0000000
00021 #define MAX_UADDR       (KERNEL_PGTBL - 1)              
00022 
00023 #define GLAST_IDXSEL    ((GDT_SIZEPG * PAGESIZE)/sizeof (union descriptor))
00024 #define ILAST_IDXSEL    256
00025 
00026 #define MAX_CPUS        8
00027 #define NB_CPUS         1
00028 
00029 #endif

Generated on Wed May 24 23:04:17 2006 for LSE/OS by  doxygen 1.4.6