Changeset 1062
- Timestamp:
- 10/03/08 12:19:56 (3 months ago)
- Location:
- Whitix/branches/keobject/fs/icfs
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
Whitix/branches/keobject/fs/icfs/config.c
r971 r1062 82 82 struct KeFsEntry* entry; 83 83 DWORD position=0; 84 85 KePrint("%s\n", name); 84 86 85 87 entry=ConfigResolvePath(name); 88 89 if (!entry) 90 return -ENOENT; 86 91 87 92 IcRead(&position, entry->file, data, size); … … 96 101 97 102 entry=ConfigResolvePath(name); 103 104 if (!entry) 105 return -ENOENT; 98 106 99 107 IcWrite(&position, entry->file, data, size); … … 111 119 int ConfigInit() 112 120 { 113 /* Create standard directories */114 ConfigCreateDir(NULL, "Devices");115 ConfigCreateDir(NULL, "Devices/Storage");116 117 121 /* Register the ReadConf and WriteConf system calls, for quick access to configuration variables. */ 118 122 SysRegisterRange(SYS_CONFIG_BASE, configSystemCalls); -
Whitix/branches/keobject/fs/icfs/info.c
r879 r1062 199 199 { 200 200 InfoRootCreate(); 201 201 202 #if 0 202 203 InfoCreateDir(NULL, "Devices"); 203 204 InfoCpuInit(); … … 205 206 // InfoMemInit(); 206 207 InfoCreateDir(NULL, "Processes"); 207 208 return 0; 209 } 208 #endif 209 210 return 0; 211 }