1 /* 2 * SYS/TLS.H 3 * 4 * Implements the architecture independant TLS info structure. 5 * 6 * $DragonFly: src/sys/sys/tls.h,v 1.2 2005/02/22 02:17:56 dillon Exp $ 7 */ 8 9 #ifndef _SYS_TLS_H_ 10 #define _SYS_TLS_H_ 11 12 struct tls_info { 13 void *base; 14 int size; 15 }; 16 17 #ifndef _KERNEL 18 int sys_set_tls_area(int which, struct tls_info *info, int infosize); 19 int sys_get_tls_area(int which, struct tls_info *info, int infosize); 20 #endif 21 22 #endif 23