This commit is contained in:
Murphy 2025-05-06 13:21:53 -04:00
parent 50447355b0
commit f14e707144
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17
2 changed files with 2 additions and 2 deletions

View file

@ -1,9 +1,8 @@
set timeout=1
set default=0
insmod all_video
insmod normal
menuentry "kern" {
multiboot2 /boot/kernel
# module2 /boot/initrd.tar
module2 /boot/initrd.tar
}

View file

@ -79,6 +79,7 @@ static int user_load_segment(struct pcb *pcb, struct file *file, int idx)
ERROR("Could not load elf segment");
return 1;
}
TRACE("Read %zu bytes", read);
memcpyv(mapADDR + total_read, load_buffer, read);
total_read += read;
}