changeset 8223:a88e53ef3029

exporting fs_seg
author alex
date Sun, 17 Nov 2002 17:41:19 +0000
parents c8677169cc2c
children fefc56153615
files loader/ldt_keeper.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/loader/ldt_keeper.c	Sun Nov 17 17:35:31 2002 +0000
+++ b/loader/ldt_keeper.c	Sun Nov 17 17:41:19 2002 +0000
@@ -161,7 +161,7 @@
 }
 #endif
 
-//void* fs_seg=0;
+void* fs_seg=0;
 
 ldt_fs_t* Setup_LDT_Keeper(void)
 {
@@ -177,7 +177,7 @@
         perror( "Cannot open /dev/zero for READ+WRITE. Check permissions! error: ");
 	return NULL;
     }
-//    fs_seg=
+    fs_seg=
     ldt_fs->fs_seg = mmap(NULL, getpagesize(), PROT_READ | PROT_WRITE, MAP_PRIVATE,
 			  ldt_fs->fd, 0);
     if (ldt_fs->fs_seg == (void*)-1)