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

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

diff -u --recursive --new-file v2.3.8/linux/include/asm-mips/sgialib.h linux/include/asm-mips/sgialib.h
@@ -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)