2N/A/* Load runtime image of EFIemu. Functions specific to 32/64-bit mode */ 2N/A * GRUB -- GRand Unified Bootloader 2N/A * Copyright (C) 2009 Free Software Foundation, Inc. 2N/A * GRUB is free software: you can redistribute it and/or modify 2N/A * it under the terms of the GNU General Public License as published by 2N/A * the Free Software Foundation, either version 3 of the License, or 2N/A * (at your option) any later version. 2N/A * GRUB is distributed in the hope that it will be useful, 2N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 2N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2N/A * GNU General Public License for more details. 2N/A * You should have received a copy of the GNU General Public License 2N/A/* ELF symbols and their values */ 2N/A/* Return the address of a section whose index is N. */ 2N/A/* Check if EHDR is a valid ELF header. */ 2N/A /* Check the header size. */ 2N/A /* Check the magic numbers. */ 2N/A/* Load all segments from memory specified by E. */ 2N/A/* Get a string at offset OFFSET from strtab */ 2N/A/* Request memory for segments and fill segments info */ 2N/A .text-physical doesn't need to be relocated when switching to 2N/A/* Fill grub_efiemu_elfsyms with symbol values */ 2N/A /* Resolve a global symbol. */ 2N/A "unknown symbol type `%d'", (
int)
type);
2N/A/* Load runtime to the memory and request memory for definitive location*/ 2N/A /* Make sure that every section is within the core. */ 2N/A/* Load runtime definitively */