Changeset 2036 for Whitix/trunk
- Timestamp:
- 04/02/09 21:37:49 (3 years ago)
- Files:
-
- 1 modified
-
Whitix/trunk/user/system/startup.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/user/system/startup.c
r1884 r2036 48 48 pid=ModuleLoad("Core/pci"); 49 49 50 SysWaitForProcessFinish(pid, NULL); 51 52 // ModuleLoad("Video/nvidia"); 53 54 ModuleLoad("Network/ne2k_pci"); 55 50 if (pid < 0) 51 { 52 printf("startup: could not load pci: %s\n", strerror(-pid)); 53 SysExit(0); 54 } 55 56 SysWaitForProcessFinish(pid, NULL); 57 58 pid = ModuleLoad("Core/usb"); 59 60 SysWaitForProcessFinish(pid, NULL); 61 62 pid = ModuleLoad("Core/uhci_usb"); 63 64 SysWaitForProcessFinish(pid, NULL); 65 66 pid = ModuleLoad("Core/ehci_usb"); 67 68 SysWaitForProcessFinish(pid, NULL); 69 70 ModuleLoad("Core/usb_hub"); 71 72 ModuleLoad("Core/usb_storage"); 73 74 ModuleLoad("Video/nvidia"); 75 76 // ModuleLoad("Network/ne2k_pci"); 77 78 // ModuleLoad("Network/pcnet32"); 79 56 80 int ret; 57 81 58 82 /* Move to FS thread? */ 59 83 ModuleLoad("Filesystems/fatfs"); 60 pid=ModuleLoad("Filesystems/icfs"); 84 pid = ModuleLoad("Filesystems/icfs"); 85 86 if (pid < 0) 87 { 88 printf("startup: could not load icfs\n"); 89 SysExit(0); 90 } 61 91 62 92 SysWaitForProcessFinish(pid, NULL); … … 191 221 SysChangeDir("/"); 192 222 193 //SysCreateProcess("/System/Startup/regserver", NULL, NULL);223 SysCreateProcess("/System/Startup/regserver", NULL, NULL); 194 224 195 225 ShellRun(); 226 227 // SysCreateProcess("/Applications/xy", NULL, NULL); 196 228 197 229 // SysShutdown(0);
