/*1* This file is subject to the terms and conditions of the GNU General Public2* License. See the file "COPYING" in the main directory of this archive3* for more details.4*5* env.c: ARCS environment variable routines.6*7* Copyright (C) 1996 David S. Miller ([email protected])8*/9#include <linux/init.h>10#include <linux/kernel.h>11#include <linux/string.h>1213#include <asm/fw/arc/types.h>14#include <asm/sgialib.h>1516PCHAR __init17ArcGetEnvironmentVariable(CHAR *name)18{19return (CHAR *) ARC_CALL1(get_evar, name);20}2122LONG __init23ArcSetEnvironmentVariable(PCHAR name, PCHAR value)24{25return ARC_CALL2(set_evar, name, value);26}272829