00001 /* 00002 ** asrele.h for in /root/work/lseos-0.2.5/libc/conven 00003 ** 00004 ** Copyright (c)2004 Vianney Rancurel 00005 ** Login <vianney@epita.fr> 00006 ** 00007 ** Started on Wed Apr 28 17:00:25 2004 Vianney Rancurel 00008 ** Last update Mon Dec 6 12:30:51 2004 Vianney Rancurel 00009 */ 00010 #ifndef __CONVEN_ASRELE_H__ 00011 #define __CONVEN_ASRELE_H__ 1 00012 #include <libc.h> 00013 00014 #define ASRELEOPT_SPECIAL (1<<0u) 00015 #define ASRELEOPT_VIRT_ONLY (1<<1u) 00017 typedef enum 00018 { 00019 ASRELE_EZERO, 00021 ASRELE_VUNMAP_FAILED = 100, 00022 ASRELE_VRELE_FAILED, 00023 ASRELE_KRELE_FAILED, 00024 ASRELE_PRELE_FAILED, 00025 ASRELE_MEMDEF_FAILED, 00026 } t_asrele_status; 00027 00028 /* PROTO asrele.c */ 00029 /* asrele.c */ 00030 t_asrele_status asrele(asid_t asid, u_int32_t opts); 00031 #endif