home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / boot.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.4 KB  |  56 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_BOOT_H
  11. #define _SYS_BOOT_H
  12.  
  13. #ident    "@(#)/usr/include/sys/boot.h.sl 1.1 4.0 12/08/90 10801 AT&T-USL"
  14.  
  15. #define BOOTADDR 0x2004000
  16.  
  17. #define AUTOBOOT 0
  18. #define DEMANDBOOT 1
  19. #define UNIXBOOT 2
  20.  
  21. #define FDBOOTBLK 0
  22.  
  23. #define FLOPDISK  0
  24. #define HARDDISK0 1
  25. #define HARDDISK1 2
  26. #define HARDDISK HARDDISK0
  27. #define ICD      3
  28.  
  29. #define ICDBLKSZ    512    /* Size of In-Core Disk block   */
  30. #define ICDNSWAP    400    /* Size of swap area in ICD.    */
  31.  
  32. #define ICDROOT        0     /* Minor device number of root  */
  33.                 /* file system on a In-Core     */
  34.                 /* Disk at installation.        */
  35. #define ICDSWAP        1    /* Minor device number of swap  */
  36.                 /* space on an In-Core Disk.    */
  37.  
  38. #define    FLOPMINOR    0x85    /* Minor device number of root    */
  39.                 /* file system on a bootable    */
  40.                 /* floppy disk.            */
  41.  
  42. #define BOOTNAME 80
  43.  
  44. struct bootcmd {
  45.     char b_type;        /* type of boot (auto or demand) */
  46.     char b_dev;        /* source of boot (HARDDISK, FLOPDISK, or ..) */
  47.     char b_name[BOOTNAME];    /* full pathname of file to boot */
  48. };
  49.  
  50. struct blk_acs {
  51.     unsigned long blkno;
  52.     unsigned long bufptr;
  53. };
  54.  
  55. #endif    /* _SYS_BOOT_H */
  56.