summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi/prom/salone.c
blob: 4f120af3af736d9dcaf57934adc11232d1513d8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* $Id: salone.c,v 1.1 1996/06/08 04:47:22 dm 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)
 */

#include <asm/sgialib.h>

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)
{
	return romvec->invoke(pc, sp, argc, argv, envp);
}

long prom_exec(char *name, long argc, char **argv, char **envp)
{
	return romvec->exec(name, argc, argv, envp);
}