00001 /* 00002 ** kinfo.h for lseos in lseos-lib/libc/machdep 00003 ** 00004 ** Copyright (c)2004 Vianney Rancurel 00005 ** Login <vianney@epita.fr> 00006 ** 00007 ** Started on Mon Sep 15 18:16:32 2003 Vianney Rancurel 00008 ** Last update Mon Nov 29 15:12:47 2004 Vianney Rancurel 00009 */ 00010 #ifndef __MACHDEP_KINFO_H__ 00011 #define __MACHDEP_KINFO_H__ 1 00012 00013 /* 00014 * setup by bootstrap for kernel 00015 */ 00016 typedef struct s_kinfo 00017 { 00018 paddr_t pstart; /* start of phys space */ 00019 paddr_t pend; /* end of phys space */ 00020 00021 paddr_t pbootfs; /* modules definitions */ 00022 00023 paddr_t pgdt; /* physical addr of gdt */ 00024 paddr_t pidt; /* physical addr of idt */ 00025 paddr_t ppagedir; /* physical addr of pagedir */ 00026 paddr_t ppt1; /* physical addr of pt1 */ 00027 paddr_t ppt2; /* physical addr of pt2 */ 00028 00029 vaddr_t vpt1; /* virtual addr of pt1 */ 00030 vaddr_t vpt2; /* virtual addr of pt2 */ 00031 vaddr_t vvideo; /* virtual addr of console */ 00032 00033 vaddr_t vstart; /* start of avail virtual space in 00034 kern zone */ 00035 } t_kinfo; 00036 00037 #endif