/* init.c - generic EFI initialization and finalization */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2006,2007 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
/* Pointers to other useful tables */
void *grub_efi_smbios_ptr;
static void
grub_efi_table_init(void)
{
if (grub_efi_system_table == 0) {
return;
}
for (i = 0; i < grub_efi_system_table->num_table_entries; i++)
{
sizeof (grub_efi_guid_t)) == 0)
{
}
}
}
void
grub_efi_init (void)
{
/* First of all, initialize the console so that GRUB can display
messages. */
/* Initialize the memory management system. */
grub_efi_mm_init ();
0, 0, 0, NULL);
}
char **device,
char **path);
void
{
char *p;
if (!image)
return;
if (!*device && grub_efi_net_config)
/* Get the directory. */
if (p)
*p = '\0';
}
void
grub_efi_fini (void)
{
}