diff --git a/src/sys/kernel/ld.c b/src/sys/kernel/ld.c index 03aee45..c8e898c 100644 --- a/src/sys/kernel/ld.c +++ b/src/sys/kernel/ld.c @@ -100,7 +100,7 @@ fread(newLoc,programHeader[i].phFilesz,1,ldFd); break; default: - kprintf("Unhandled Header\n"); + kprintf("Unhandled Header : %d\n", programHeader[i].phType); break; } } @@ -164,6 +164,12 @@ /*** $Log$ + Revision 1.33 2004/07/28 15:05:43 reddawg + Major: + Pages now have strict security enforcement. + Many null dereferences have been resolved. + When apps loaded permissions set for pages rw and ro + Revision 1.32 2004/07/28 00:17:05 reddawg Major: Disconnected page 0x0 from the system... Unfortunately this broke many things diff --git a/src/sys/sys/video.c b/src/sys/sys/video.c index 21f3279..71f7e86 100644 --- a/src/sys/sys/video.c +++ b/src/sys/sys/video.c @@ -61,14 +61,16 @@ void kprint(char *string) { + + unsigned int bufferOffset = 0x0, character = 0x0, i = 0x0; + + /* Short circuit if we're in tty mode */ if (tty_foreground) { tty_print(string,tty_find(0)); return; } - unsigned int bufferOffset = 0x0, character = 0x0, i = 0x0; - /* We Need To Get The Y Position */ outportByte(0x3D4, 0x0e); bufferOffset = inportByte(0x3D5); @@ -125,6 +127,9 @@ /*** $Log$ + Revision 1.11 2004/09/07 21:50:25 apwillia + Make kprintf stay on tty0 + Revision 1.10 2004/09/06 21:39:21 reddawg Fixes: Changed the order in which tasks are deleted from the queues. Also fixed backspace to work in the virtual ttys....