2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
6 * Miscellaneous ARCS PROM routines.
8 * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
9 * Copyright (C) 1999 Ralf Baechle (ralf@gnu.org)
10 * Copyright (C) 1999 Silicon Graphics, Inc.
12 #include <linux/init.h>
13 #include <linux/kernel.h>
15 #include <asm/bcache.h>
17 #include <asm/fw/arc/types.h>
18 #include <asm/sgialib.h>
19 #include <asm/bootinfo.h>
20 #include <asm/system.h>
40 /* XXX is this a soft reset basically? XXX */
60 ArcEnterInteractiveMode(VOID
)
69 ArcSaveConfiguration(VOID
)
71 return ARC_CALL0(cfg_save
);
77 return (struct linux_sysid
*) ARC_CALL0(get_sysid
);
81 ArcFlushAllCaches(VOID
)
83 ARC_CALL0(cache_flush
);
86 DISPLAY_STATUS
* __init
ArcGetDisplayStatus(ULONG FileID
)
88 return (DISPLAY_STATUS
*) ARC_CALL1(GetDisplayStatus
, FileID
);