00001 /* 00002 ** ascreate.h for in /root/work/lseos-0.2.30/lseos_libc/conven 00003 ** 00004 ** Copyright (c)2004 Vianney Rancurel, Arthur Kopatsy 00005 ** Login <vianney@epita.fr> 00006 ** 00007 ** Started on Mon May 10 15:13:27 2004 Vianney Rancurel 00008 ** Last update Mon Dec 6 12:31:00 2004 Vianney Rancurel 00009 */ 00010 #ifndef __CONVEN_ASCREATE_H__ 00011 #define __CONVEN_ASCREATE_H__ 1 00012 #include <libc.h> 00013 00014 #define ASCREATEOPT_BPT (1<<0u) 00015 #define ASCREATEOPT_VERBOSE (1<<10u) 00016 00017 typedef enum 00018 { 00019 ASCREATE_EZERO, 00020 00021 ASCREATE_PRSV_PGDIR = 100, 00022 ASCREATE_PRSV_TCB, 00023 ASCREATE_KRSV_TCB, 00024 ASCREATE_MAP_TCB, 00025 ASCREATE_ASREG, 00026 } t_ascreate_status; 00027 00028 /* PROTO ascreate.c */ 00029 /* ascreate.c */ 00030 t_ascreate_status ascreate(u_int32_t ascreateopts, asid_t *asid_ret); 00031 #endif