From 593e61831841b2a31d6bc5ac8a5307356fe37057 Mon Sep 17 00:00:00 2001 From: pjht Date: Wed, 1 May 2019 09:41:31 -0500 Subject: [PATCH] Remove some logging --- kernel/kernel.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel/kernel.c b/kernel/kernel.c index dadae7e..0016e59 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -63,7 +63,6 @@ static void read_initrd(struct multiboot_boot_header_tag* tags) { initrd=malloc(sizeof(char)*(mod->mod_end-mod->mod_start)); initrd_sz=mod->mod_end-mod->mod_start; memcpy(initrd,mod->mod_start+0xC0000000,mod->mod_end-mod->mod_start); - klog("INFO","Got module called %s at start address %x and end address %x",mod->cmdline,mod->mod_start,mod->mod_end); } } tag=(struct multiboot_tag*)((char*)tag+((tag->size+7)&0xFFFFFFF8)); @@ -97,7 +96,6 @@ static void init() { klog("INFO","Invalid magic number for prog.elf"); fclose(file); } else { - klog("INFO","ENTRY: %x",header.entry); for (int i=0;i0) { fseek(file,pheader.offset,SEEK_SET); - klog("INFO","fread((void*)%x,%x,1,file)",pheader.vaddr,pheader.filesz); fread((void*)pheader.vaddr,pheader.filesz,1,file); } - klog("INFO","OFF:%x VADDR:%x FILESZ:%x MEMSZ:%x",pheader.offset, pheader.vaddr,pheader.filesz,pheader.memsz); } func_ptr prog=(func_ptr)header.entry; int val=prog();