patch-2.2.11 linux/arch/mips/baget/prom/init.c
Next file: linux/arch/mips/baget/reset.c
Previous file: linux/arch/mips/baget/prom/Makefile
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Mon Aug 9 12:04:38 1999
- Orig file:
v2.2.10/linux/arch/mips/baget/prom/init.c
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.2.10/linux/arch/mips/baget/prom/init.c linux/arch/mips/baget/prom/init.c
@@ -0,0 +1,20 @@
+/*
+ * init.c: PROM library initialisation code.
+ *
+ * Copyright (C) 1998 Gleb Raiko & Vladimir Roganov
+ *
+ * $Id$
+ */
+#include <linux/init.h>
+#include <asm/bootinfo.h>
+
+char arcs_cmdline[CL_SIZE];
+
+__initfunc(int prom_init(unsigned int mem_upper))
+{
+ mips_memory_upper = mem_upper;
+ mips_machgroup = MACH_GROUP_UNKNOWN;
+ mips_machtype = MACH_UNKNOWN;
+ arcs_cmdline[0] = 0;
+ return 0;
+}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)