diff --git a/core/main.c b/core/main.c index ddffa00..e90fa95 100644 --- a/core/main.c +++ b/core/main.c @@ -201,14 +201,12 @@ static uaddr_t loadElfProg(const char *prog) paddr_t ppage; ppage = allocPhyPage(1); - printf("map user page at 0x%x\n", uaddr); assert(pageMap(uaddr, ppage, PAGING_MEM_USER | PAGING_MEM_WRITE | PAGING_MEM_READ) == 0); unrefPhyPage(ppage); } - printf("memcpy at 0x%x from file offset %d size %d\n", elf_phdrs[i].p_vaddr, elf_phdrs[i].p_offset, elf_phdrs[i].p_filesz); /* Copy segment into memory */ memcpy((void *)elf_phdrs[i].p_vaddr, (void *)(prog + elf_phdrs[i].p_offset), elf_phdrs[i].p_filesz);