commit | e90f264dfa3387747473cb5a6bc82d1740f9e88e | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Jun 28 12:18:39 2008 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Jun 28 12:18:39 2008 -0400 |
tree | 445c82fcfc8d3bef8127a9e3d897155f6ee0d88f | |
parent | a05223c876ea62952a2e07910d6e6a4dacee3a2f [diff] |
Set BIOS checksum at 0xfffff.
diff --git a/src/post.c b/src/post.c index 33f14f4..b41e77f 100644 --- a/src/post.c +++ b/src/post.c
@@ -329,6 +329,9 @@ // Present the user with a bootup menu. interactive_bootmenu(); + // Setup bios checksum. + *(u8*)0xfffff = -checksum((u8*)0xf0000, 0xffff); + // Prep for boot process. make_bios_readonly(); clear_bss();