misc.c 842 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  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
  4. * for more details.
  5. *
  6. * Miscellaneous ARCS PROM routines.
  7. *
  8. * Copyright (C) 1996 David S. Miller ([email protected])
  9. * Copyright (C) 1999 Ralf Baechle ([email protected])
  10. * Copyright (C) 1999 Silicon Graphics, Inc.
  11. */
  12. #include <linux/compiler.h>
  13. #include <linux/init.h>
  14. #include <linux/kernel.h>
  15. #include <linux/irqflags.h>
  16. #include <asm/bcache.h>
  17. #include <asm/fw/arc/types.h>
  18. #include <asm/sgialib.h>
  19. #include <asm/bootinfo.h>
  20. VOID __noreturn
  21. ArcEnterInteractiveMode(VOID)
  22. {
  23. bc_disable();
  24. local_irq_disable();
  25. ARC_CALL0(imode);
  26. unreachable();
  27. }
  28. DISPLAY_STATUS * __init ArcGetDisplayStatus(ULONG FileID)
  29. {
  30. return (DISPLAY_STATUS *) ARC_CALL1(GetDisplayStatus, FileID);
  31. }