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  * Miscellaneous ARCS PROM routines.
0007  *
0008  * Copyright (C) 1996 David S. Miller (davem@davemloft.net)
0009  * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
0010  * Copyright (C) 1999 Silicon Graphics, Inc.
0011  */
0012 #include <linux/compiler.h>
0013 #include <linux/init.h>
0014 #include <linux/kernel.h>
0015 #include <linux/irqflags.h>
0016 
0017 #include <asm/bcache.h>
0018 
0019 #include <asm/fw/arc/types.h>
0020 #include <asm/sgialib.h>
0021 #include <asm/bootinfo.h>
0022 
0023 VOID __noreturn
0024 ArcEnterInteractiveMode(VOID)
0025 {
0026     bc_disable();
0027     local_irq_disable();
0028     ARC_CALL0(imode);
0029 
0030     unreachable();
0031 }
0032 
0033 DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID)
0034 {
0035     return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID);
0036 }