Loading...
/* * 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/03/27 08:53:48 ralf Exp $ */ #include <linux/init.h> #include <asm/sgialib.h> __initfunc(long prom_load(char *name, unsigned long end, unsigned long *pc, unsigned long *eaddr)) { return romvec->load(name, end, pc, eaddr); } __initfunc(long prom_invoke(unsigned long pc, unsigned long sp, long argc, char **argv, char **envp)) { return romvec->invoke(pc, sp, argc, argv, envp); } __initfunc(long prom_exec(char *name, long argc, char **argv, char **envp)) { return romvec->exec(name, argc, argv, envp); } |