home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / fsiboot.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.5 KB  |  45 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_FSIBOOT_H
  11. #define _SYS_FSIBOOT_H
  12.  
  13. #ident    "@(#)/usr/include/sys/fsiboot.h.sl 1.1 4.0 12/08/90 13103 AT&T-USL"
  14. #define FFSO    18    /* File system offset on floppy disk */
  15. #define LBOOT "mUNIX"   /* The configuration program (Operating system) */
  16. #define UNIX "unix"     /* The default AUTOBOOT program */
  17. #define DGMON "dgmon"       /* If either of these are being AUTOBOOTED, */
  18. #define FILLEDT "filledt"    /* don't check for reconfig */
  19. #define SYSTEM "system"   /* Used to compare dates */
  20. #define AUBOOT "auto boot"     /* auto boot after root fail to remount */
  21. #define HMAJOR 1
  22. #define TRUE (char)1
  23. #define FALSE (char)0
  24. #define FMAJOR 2
  25. #define BSIZE 512
  26. #define SECTSIZE 512
  27. #define FASTBOOT "fast boot"
  28. #define MYVTOC ((struct vtoc *) (BOOTADDR + BSIZE))
  29. #define MYPDINFO ((struct pdinfo *)(BOOTADDR + 2 * BSIZE))
  30. #define    restart() { RST=1; for (;;) ; }
  31. #define MAGICMODE "magic mode"
  32.  
  33. #define S3BC_TCDRV    0x10    /* EDT name[] is a TC driver; board code is the
  34.                   * major number of this TC.
  35.                   */
  36. #define EDT_START    P_EDT    /* origin of EDT */
  37.  
  38. struct badblock {
  39.     long bad;
  40.     long good;
  41. };
  42.  
  43.  
  44. #endif    /* _SYS_FSIBOOT_H */
  45.