summaryrefslogtreecommitdiffstats
path: root/arch/mips/arc/env.c
blob: 8132442d5615fd2feb934a20c17c381e551e3980 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * env.c: ARCS environment variable routines.
 *
 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
 *
 * $Id: env.c,v 1.1 1998/10/18 13:32:08 tsbogend Exp $
 */
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/string.h>

#include <asm/sgialib.h>

char * __init prom_getenv(char *name)
{
	return romvec->get_evar(name);
}

long __init prom_setenv(char *name, char *value)
{
	return romvec->set_evar(name, value);
}