mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
clear the bss at the startup and fix some netboot bugs.
This commit is contained in:
1 parent
f4c8bacd5a
commit
1f6d422a9a
23 files changed
+2406
-125
No files matched your search
+7
-3
@@ -1,4 +1,3 @@
|
||||
|
||||
/*
|
||||
* GRUB -- GRand Unified Bootloader
|
||||
* Copyright (C) 1996 Erich Boleyn <erich@uruk.org>
|
||||
@@ -29,8 +28,13 @@ cmain (void)
|
||||
* Here load the true second-stage boot-loader.
|
||||
*/
|
||||
|
||||
if (grub_open (config_file) && grub_read ((char *) 0x8000, -1))
|
||||
chain_stage2 (0, 0x8200);
|
||||
if (grub_open (config_file))
|
||||
{
|
||||
grub_close ();
|
||||
|
||||
if (grub_read ((char *) 0x8000, -1))
|
||||
chain_stage2 (0, 0x8200);
|
||||
}
|
||||
|
||||
/*
|
||||
* If not, then print error message and die.
|
||||
|
||||
Reference in new issue
Block a user