Changeset 2087
- Timestamp:
- 05/24/10 09:21:47 (2 years ago)
- Location:
- Whitix/trunk/arch/i386/kernel
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/arch/i386/kernel/init.c
r1864 r2087 92 92 int ArchInit() 93 93 { 94 KePrint(KERN_INFO "Whitix x86 v0.2 , built on %s at %s\n",__DATE__,__TIME__);94 KePrint(KERN_INFO "Whitix x86 v0.2b, built on %s at %s\n",__DATE__,__TIME__); 95 95 i386InitMultiBoot(); 96 96 PhysInit(); -
Whitix/trunk/arch/i386/kernel/ints.c
r1939 r2087 124 124 if (!funcAddr) 125 125 return -ENOSYS; 126 127 // KePrint("IrqSysCall(%u)\n", index);128 126 129 127 /* Verify stack */ -
Whitix/trunk/arch/i386/kernel/sib.c
r1864 r2087 23 23 block->seconds = seconds; 24 24 block->uSeconds = useconds; 25 } 26 27 void SibUpdateRunningProc(unsigned long nrRunning) 28 { 29 /* TODO */ 30 } 31 32 void SibUpdateTotalProc(unsigned long totalNum) 33 { 34 /* TODO */ 25 35 } 26 36 … … 52 62 block->seconds = 0; 53 63 block->uSeconds = 0; 64 block->pageSize = 4096; 65 strncpy(block->osVersion, "0.21", sizeof("0.21")); 54 66 55 67 KePrint("SIB: Set up system information block\n"); -
Whitix/trunk/arch/i386/kernel/smp.c
r1668 r2087 68 68 { 69 69 DWORD addr; 70 extern DWORD ebdaAddr;70 // extern DWORD ebdaAddr; 71 71 72 72 /* … … 88 88 goto found; 89 89 90 if (ebdaAddr && (addr=SmpDetectStruct(ebdaAddr,0x400)))91 goto found;90 // if (ebdaAddr && (addr=SmpDetectStruct(ebdaAddr,0x400))) 91 // goto found; 92 92 93 93 return 0; -
Whitix/trunk/arch/i386/kernel/sys.c
r1840 r2087 47 47 /* Copy the exit code over to a user accessable page of memory. */ 48 48 VirtMemMapPage(SYSCALL_STUB_ADDR, PageAlloc()->physAddr, PAGE_PRESENT | PAGE_USER); 49 49 50 memcpy((void*)SYSCALL_STUB_ADDR, intAddr, intEndAddr - intAddr); 50 51
