/* * 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. * * identify.c: identify machine by looking up system identifier * * Copyright (C) 1998 Thomas Bogendoerfer * * This code is based on arch/mips/sgi/kernel/system.c, which is * * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
*/ #include <linux/bug.h> #include <linux/init.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/string.h>
/* * The root component tells us what machine architecture we have here.
*/
p = ArcGetChild(PROM_NULL_COMPONENT); if (p == NULL) {
iname = "Unknown";
} else
iname = (char *) (long) p->iname;
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.