fixes
This commit is contained in:
parent
50447355b0
commit
f14e707144
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue