Xv6 with picoc & Linkage editor
v1.0
The project delineate mutual cohesion between c library, linkage editor ( linker), interpreter and operating system by porting the same on xv6 kernel
|
00001 #define T_DIR 1 // Directory 00002 #define T_FILE 2 // File 00003 #define T_DEV 3 // Special device 00004 00005 struct stat { 00006 short type; // Type of file 00007 int dev; // Device number 00008 uint ino; // Inode number on device 00009 short nlink; // Number of links to file 00010 uint size; // Size of file in bytes 00011 }; 00012 00013 00014