File: bare.h

package info (click to toggle)
kernel-source-2.0.32 2.0.32-5
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 29,648 kB
  • ctags: 86,850
  • sloc: ansic: 542,141; asm: 26,201; makefile: 3,423; sh: 1,195; perl: 727; tcl: 408; cpp: 277; lisp: 211; awk: 134
file content (18 lines) | stat: -rw-r--r-- 693 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* $Id: bare.h,v 1.2 1995/11/25 00:57:41 davem Exp $
 * 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 */