patch-2.2.11 linux/include/asm-mips/sgialib.h

Next file: linux/include/asm-mips/sgiarcs.h
Previous file: linux/include/asm-mips/serial.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.10/linux/include/asm-mips/sgialib.h linux/include/asm-mips/sgialib.h
@@ -1,4 +1,4 @@
-/* $Id: sgialib.h,v 1.2 1998/07/08 16:01:13 ralf Exp $
+/* $Id: sgialib.h,v 1.4 1999/02/25 20:55:07 tsbogend Exp $
  * sgialib.h: SGI ARCS firmware interface library for the Linux kernel.
  *
  * Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
@@ -14,6 +14,9 @@
 extern int prom_argc;
 extern char **prom_argv, **prom_envp;
 
+extern int prom_flags;
+#define PROM_FLAG_ARCS  1
+
 /* Init the PROM library and it's internal data structures.  Called
  * at boot time from head.S before start_kernel is invoked.
  */
@@ -31,6 +34,7 @@
 struct prom_pmemblock {
 	unsigned long base; /* Within KSEG0. */
 	unsigned int size;  /* In bytes. */
+        unsigned int type;  /* free or prom memory */
 };
 
 /* Get next memory descriptor after CURR, returns first descriptor
@@ -71,10 +75,10 @@
 extern long prom_delcomponent(pcomponent *this);
 extern pcomponent *prom_componentbypath(char *path);
 
-/* This is called at prom_init time to setup the tags which the
- * MIPS kernel setup code wants to diddle with. 
+/* This is called at prom_init time to identify the
+ * ARC architecture we are running on
  */
-extern void prom_setup_archtags(void);
+extern void prom_identify_arch(void);
 
 /* Environemt variable routines. */
 extern char *prom_getenv(char *name);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)