2N/A * GRUB -- GRand Unified Bootloader 2N/A * Copyright (C) 2003,2004,2005,2007,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 unsigned long,
unsigned long);
2N/A /* Target above the memory chunk. */ 2N/A /* Target inside the memory chunk. */ 2N/A /* Target below the memory chunk. */ 2N/A /* Set the command line arguments. */ 2N/A /* Boot the kernel. */ 2N/A /* Pad it; the kernel scribbles over memory beyond its load address. */ 2N/A /* Linux's entry point incorrectly contains a virtual address. */ 2N/A /* Linux's incorrectly contains a virtual address. */ 2N/A /* On some systems, firmware occupies the memory we're trying to use. 2N/A * Happily, Linux can be loaded anywhere (it relocates itself). Iterate 2N/A * until we find an open area. */ 2N/A /* Now load the segments into the area we claimed. */ 2N/A /* Pad it; the kernel scribbles over memory beyond its load address. */ 2N/A /* Linux's incorrectly contains a virtual address. */ 2N/A /* On some systems, firmware occupies the memory we're trying to use. 2N/A * Happily, Linux can be loaded anywhere (it relocates itself). Iterate 2N/A * until we find an open area. */ 2N/A /* Now load the segments into the area we claimed. */ 2N/A "this ELF file is not of the right type");
2N/A /* Release the previously used memory. */ 2N/A /* Create kernel command line. */ 2N/A /* Attempt to claim at a series of addresses until successful in 2N/A the same way that grub_rescue_cmd_linux does. */