/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file COPYING in the main directory of this archive * for more details. * * Copyright (C) 1995, 1996, 2003 by Ralf Baechle * Copyright (C) 1995, 1996 Andreas Busse * Copyright (C) 1995, 1996 Stoned Elipot * Copyright (C) 1995, 1996 Paul M. Antoine. * Copyright (C) 2009 Zhang Le
*/ #ifndef _ASM_BOOTINFO_H #define _ASM_BOOTINFO_H
#include <linux/types.h> #include <asm/setup.h>
/* * The MACH_ IDs are sort of equivalent to PCI product IDs. As such the * numbers do not necessarily reflect technical relations or similarities * between systems.
*/
/* * Valid machtype values for group unknown
*/ #define MACH_UNKNOWN 0 /* whatever... */
#ifdef CONFIG_USE_OF /** * plat_get_fdt() - Return a pointer to the platform's device tree blob * * This function provides a platform independent API to get a pointer to the * flattened device tree blob. The interface between bootloader and kernel * is not consistent across platforms so it is necessary to provide this * API such that common startup code can locate the FDT. * * This is used by the KASLR code to get command line arguments and random * seed from the device tree. Any platform wishing to use KASLR should * provide this API and select SYS_SUPPORTS_RELOCATABLE. * * Return: Pointer to the flattened device tree blob.
*/ externvoid *plat_get_fdt(void);
#ifdef CONFIG_RELOCATABLE
/** * plat_fdt_relocated() - Update platform's information about relocated dtb * * This function provides a platform-independent API to set platform's * information about relocated DTB if it needs to be moved due to kernel * relocation occurring at boot.
*/ void plat_fdt_relocated(void *new_location);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.