Skip to content

Commit

Permalink
multiboot_load_aout: actually copy kernel in
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianfreyer committed Feb 20, 2018
1 parent 82e1f38 commit bba9d66
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions multiboot.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ multiboot_load_aout(void* kernel, size_t kernsz, struct multiboot_header *mb)
return ENOMEM;
}

CALLBACK(copyin,
kernel+offset,
mb->load_addr,
loadsz);

if (mb->bss_end_addr) {
/*
* Handle .bss sections.
Expand Down

0 comments on commit bba9d66

Please sign in to comment.