diff --git a/src/sys/kernel/exec.c b/src/sys/kernel/exec.c index 6f1bee8..a873da2 100644 --- a/src/sys/kernel/exec.c +++ b/src/sys/kernel/exec.c @@ -140,7 +140,7 @@ _current->tss.cr3 = (uInt32)vmmCreateVirtualSpace(_current->id); /* To Better Load This Application We Will Switch Over To Its VM Space */ - asm( + asm volatile( "movl %0,%%eax \n" "movl %%eax,%%cr3 \n" : : "d" ((uInt32 *)(_current->tss.cr3)) @@ -214,7 +214,7 @@ kprintf("E"); /* Now Load Section To Memory */ fseek(tmpFd,programHeader[i].phOffset,0); - kprintf("R"); + kprintf("R: [0x0%X]"); fread(newLoc,programHeader[i].phFilesz,1,tmpFd); kprintf("T"); } @@ -465,6 +465,9 @@ /*** $Log$ + Revision 1.18 2004/06/14 12:20:54 reddawg + notes: many bugs repaired and ld works 100% now. + Revision 1.17 2004/06/12 01:27:26 reddawg shared objects: yes we almost fully support shared objects