patch-2.3.16 linux/include/asm-ppc/machdep.h

Next file: linux/include/asm-ppc/mmu_context.h
Previous file: linux/include/asm-ppc/m48t35.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.15/linux/include/asm-ppc/machdep.h linux/include/asm-ppc/machdep.h
@@ -79,4 +79,19 @@
 
 extern void setup_pci_ptrs(void);
 
+#define BOOT_INFO_VER 0x1
+#define BOOT_INFO_MAGIC 0x05027800
+
+struct boot_info
+{
+	unsigned long magic_start;
+	char cmd_line[256];
+	char boot_loader[128];
+	int _machine;
+	unsigned long initrd_start, initrd_size;
+	unsigned long systemmap_start, systemmap_size;
+	char reserved[3684];	/* pad to 1 page */
+	unsigned long magic_end;
+};
+struct boot_info *binfo;
 #endif /* _PPC_MACHDEP_H */

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