patch-2.1.101 linux/arch/mips/sgi/prom/salone.c
Next file: linux/arch/mips/sgi/prom/tags.c
Previous file: linux/arch/mips/sgi/prom/printf.c
Back to the patch index
Back to the overall index
- Lines: 32
- Date:
Fri May 8 00:13:25 1998
- Orig file:
v2.1.100/linux/arch/mips/sgi/prom/salone.c
- Orig date:
Wed Dec 10 10:31:10 1997
diff -u --recursive --new-file v2.1.100/linux/arch/mips/sgi/prom/salone.c linux/arch/mips/sgi/prom/salone.c
@@ -1,24 +1,25 @@
-/* $Id: salone.c,v 1.1.1.1 1997/06/01 03:16:40 ralf Exp $
+/*
* salone.c: Routines to load into memory and execute stand-along
* program images using ARCS PROM firmware.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ *
+ * $Id: salone.c,v 1.2 1998/05/01 01:35:27 ralf Exp $
*/
-
+#include <linux/init.h>
#include <asm/sgialib.h>
-long prom_load(char *name, unsigned long end, unsigned long *pc, unsigned long *eaddr)
+__initfunc(long prom_load(char *name, unsigned long end, unsigned long *pc, unsigned long *eaddr))
{
return romvec->load(name, end, pc, eaddr);
}
-long prom_invoke(unsigned long pc, unsigned long sp, long argc,
- char **argv, char **envp)
+__initfunc(long prom_invoke(unsigned long pc, unsigned long sp, long argc, char **argv, char **envp))
{
return romvec->invoke(pc, sp, argc, argv, envp);
}
-long prom_exec(char *name, long argc, char **argv, char **envp)
+__initfunc(long prom_exec(char *name, long argc, char **argv, char **envp))
{
return romvec->exec(name, argc, argv, envp);
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov