patch-1.3.4 linux/arch/sparc/boot/bare.h
Next file: linux/arch/sparc/boot/imperical.h
Previous file: linux/arch/sparc/boot/bare.S
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat May 13 07:09:46 1995
- Orig file:
v1.3.3/linux/arch/sparc/boot/bare.h
- Orig date:
Thu Jan 1 02:00:00 1970
diff -u --recursive --new-file v1.3.3/linux/arch/sparc/boot/bare.h linux/arch/sparc/boot/bare.h
@@ -0,0 +1,17 @@
+/* bare.h: Defines for the low level entry code of the BOOT program.
+ * We include in the head.h stuff that the real kernel uses
+ * and this saves a lot of repetition here.
+ *
+ * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
+ */
+
+#include <asm/head.h>
+#include <asm/psr.h>
+#include <asm/cprefix.h>
+
+#define SANE_PIL (0xd00) /* No interrupts except clock and unmaskable NMI's */
+#define SANE_PSR (SANE_PIL|PSR_S|PSR_ET)
+
+#define BOOTBLOCK_NENTRIES 0x40 /* Number of entries in the boot block */
+#define BOOTBLOCK_ENTSIZE 0x04 /* Size in bytes of each boot block entry */
+
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this