[BACK]Return to bootinfo.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / include

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/x86/include/bootinfo.h between version 1.1 and 1.2

version 1.1, 2003/02/26 21:26:10 version 1.2, 2003/04/16 19:16:42
Line 112  struct btinfo_memmap {
Line 112  struct btinfo_memmap {
  * Structure describing disk info as seen by the BIOS.   * Structure describing disk info as seen by the BIOS.
  */   */
 struct bi_biosgeom_entry {  struct bi_biosgeom_entry {
         int sec, head, cyl;                     /* geometry */          int             sec, head, cyl;         /* geometry */
         u_int64_t totsec;                       /* LBA sectors from ext int13 */          u_int64_t       totsec;                 /* LBA sectors from ext int13 */
         int flags, dev;                         /* flags, BIOS device # */          int             flags, dev;             /* flags, BIOS device # */
 #define BI_GEOM_INVALID         0x01  #define BI_GEOM_INVALID         0x000001
 #define BI_GEOM_EXTINT13        0x02  #define BI_GEOM_EXTINT13        0x000002
         unsigned int cksum;                     /* MBR checksum */  #ifdef BIOSDISK_EXT13INFO_V3
         int res0, res1, res2, res3;             /* future expansion; 0 now */  #define BI_GEOM_BADCKSUM        0x000004        /* v3.x checksum invalid */
   #define BI_GEOM_BUS_MASK        0x00ff00        /* connecting bus type */
   #define BI_GEOM_BUS_ISA         0x000100
   #define BI_GEOM_BUS_PCI         0x000200
   #define BI_GEOM_BUS_OTHER       0x00ff00
   #define BI_GEOM_IFACE_MASK      0xff0000        /* interface type */
   #define BI_GEOM_IFACE_ATA       0x010000
   #define BI_GEOM_IFACE_ATAPI     0x020000
   #define BI_GEOM_IFACE_SCSI      0x030000
   #define BI_GEOM_IFACE_USB       0x040000
   #define BI_GEOM_IFACE_1394      0x050000        /* Firewire */
   #define BI_GEOM_IFACE_FIBRE     0x060000        /* Fibre channel */
   #define BI_GEOM_IFACE_OTHER     0xff0000
           unsigned int    cksum;                  /* MBR checksum */
           u_int           interface_path;         /* ISA iobase PCI bus/dev/fun */
           u_int64_t       device_path;
           int             res0;                   /* future expansion; 0 now */
   #else
           unsigned int    cksum;                  /* MBR checksum */
           int             res0, res1, res2, res3; /* future expansion; 0 now */
   #endif
         struct mbr_partition dosparts[NMBRPART]; /* MBR itself */          struct mbr_partition dosparts[NMBRPART]; /* MBR itself */
 } __attribute__((packed));  } __attribute__((packed));
   

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

CVSweb <webmaster@jp.NetBSD.org>