patch-2.3.25 linux/include/asm-arm/setup.h
Next file: linux/include/asm-arm/termios.h
Previous file: linux/include/asm-arm/proc-armv/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Oct 28 10:16:02 1999
- Orig file:
v2.3.24/linux/include/asm-arm/setup.h
- Orig date:
Fri Oct 22 13:21:53 1999
diff -u --recursive --new-file v2.3.24/linux/include/asm-arm/setup.h linux/include/asm-arm/setup.h
@@ -16,6 +16,8 @@
* - when adding fields, don't rely on the address until
* a patch from me has been released
* - unused fields should be zero (for future expansion)
+ * - this structure is relatively short-lived - only
+ * guaranteed to contain useful data in setup_arch()
*/
#define COMMAND_LINE_SIZE 1024
@@ -59,5 +61,21 @@
} u2;
char commandline[COMMAND_LINE_SIZE];
};
+
+/*
+ * Memory map description
+ */
+#define NR_BANKS 4
+
+struct meminfo {
+ int nr_banks;
+ unsigned long end;
+ struct {
+ unsigned long start;
+ unsigned long size;
+ } bank[NR_BANKS];
+};
+
+extern struct meminfo meminfo;
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)