Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * env.c: ARCS environment variable routines.
0007  *
0008  * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
0009  */
0010 #include <linux/init.h>
0011 #include <linux/kernel.h>
0012 #include <linux/string.h>
0013 
0014 #include <asm/fw/arc/types.h>
0015 #include <asm/sgialib.h>
0016 
0017 PCHAR __init
0018 ArcGetEnvironmentVariable(CHAR *name)
0019 {
0020     return (CHAR *) ARC_CALL1(get_evar, name);
0021 }