2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
|
|
|
* Miscellaneous ARCS PROM routines.
|
|
|
|
*
|
2011-04-05 05:15:29 +08:00
|
|
|
* Copyright (C) 1996 David S. Miller (davem@davemloft.net)
|
2005-04-17 06:20:36 +08:00
|
|
|
* Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
|
|
|
|
* Copyright (C) 1999 Silicon Graphics, Inc.
|
|
|
|
*/
|
2015-01-03 00:16:24 +08:00
|
|
|
#include <linux/compiler.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <linux/init.h>
|
|
|
|
#include <linux/kernel.h>
|
2012-11-17 06:14:52 +08:00
|
|
|
#include <linux/irqflags.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#include <asm/bcache.h>
|
|
|
|
|
2007-09-05 14:59:34 +08:00
|
|
|
#include <asm/fw/arc/types.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
#include <asm/sgialib.h>
|
|
|
|
#include <asm/bootinfo.h>
|
|
|
|
|
2015-01-03 00:16:24 +08:00
|
|
|
VOID __noreturn
|
2005-04-17 06:20:36 +08:00
|
|
|
ArcEnterInteractiveMode(VOID)
|
|
|
|
{
|
|
|
|
bc_disable();
|
|
|
|
local_irq_disable();
|
|
|
|
ARC_CALL0(imode);
|
2015-01-03 00:16:24 +08:00
|
|
|
|
|
|
|
unreachable();
|
2005-04-17 06:20:36 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID)
|
|
|
|
{
|
|
|
|
return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID);
|
|
|
|
}
|