diff --git a/src/sys/kernel/exec.c b/src/sys/kernel/exec.c index dc56f91..4cd9c7d 100644 --- a/src/sys/kernel/exec.c +++ b/src/sys/kernel/exec.c @@ -194,7 +194,9 @@ /* Loop Through The Header And Load Sections Which Need To Be Loaded */ for (i=0;iePhnum;i++) { + kprintf("."); if (programHeader[i].phType == 1) { + kprintf("z"); newLoc = (char *)programHeader[i].phVaddr; /* Allocate Memory Im Going To Have To Make This Load Memory With Correct @@ -209,12 +211,14 @@ fread(newLoc,programHeader[i].phFilesz,1,tmpFd); } else if (programHeader[i].phType == 2) { + kprintf("x"); newLoc = (char *)programHeader[i].phVaddr; //elfDynamicS = (elfDynamic *)programHeader[i].phVaddr; fseek(tmpFd,programHeader[i].phOffset,0); fread(newLoc,programHeader[i].phFilesz,1,tmpFd); } else if (programHeader[i].phType == 3) { + kprintf("c"); linker = (char *)kmalloc(programHeader[i].phMemsz); fseek(tmpFd,programHeader[i].phOffset,0); fread(linker,programHeader[i].phFilesz,1,tmpFd); @@ -451,6 +455,9 @@ /*** $Log$ + Revision 1.10 2004/05/21 21:15:04 reddawg + Fixed a few bugs which prevented the system from loadin + Revision 1.9 2004/05/21 15:34:23 reddawg Fixed a couple of typo