Skip to content

Commit

Permalink
fix boot using QEMU ~1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iefserge committed Oct 5, 2014
1 parent 6b9eff5 commit 5736489
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/kernel/kernel-main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ MultibootParseResult KernelMain::ParseMultiboot(void* mbt) {
uint32_t rd_end = m->end;

// This might be useful if initrd is unable to load files
// rd_start = mod_addr;
// Comment this line if it fails to boot
rd_start = mod_addr;

size_t len = rd_end - rd_start;

Expand Down

0 comments on commit 5736489

Please sign in to comment.