[BACK]Return to pnpbiosreg.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / pnpbios

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

Diff for /src/sys/arch/i386/pnpbios/pnpbiosreg.h between version 1.3 and 1.4

version 1.3, 2005/12/26 19:24:00 version 1.4, 2007/12/25 18:33:33
Line 99  struct pnpinstcheck {
Line 99  struct pnpinstcheck {
         uint32_t        ic_oemid;          uint32_t        ic_oemid;
         uint16_t        ic_rdataseg;          uint16_t        ic_rdataseg;
         uint32_t        ic_pdataseg;          uint32_t        ic_pdataseg;
 } __attribute__((__packed__));  } __packed;
 #define PNP_IC_VERSION_1_0              0x10  #define PNP_IC_VERSION_1_0              0x10
 #define PNP_IC_CONTORL_EVENT_MASK       0x0003  #define PNP_IC_CONTORL_EVENT_MASK       0x0003
 #define PNP_IC_CONTROL_EVENT_NONE       0x0000  #define PNP_IC_CONTROL_EVENT_NONE       0x0000
Line 118  struct pnpdevnode {
Line 118  struct pnpdevnode {
         /* variable - allocated resource */          /* variable - allocated resource */
         /* variable - possible resource */          /* variable - possible resource */
         /* variable - compatible identifiers */          /* variable - compatible identifiers */
 } __attribute__((__packed__));  } __packed;
 #define PNP_DN_ATTR_CONFIG_TIME_MASK            0x0180  #define PNP_DN_ATTR_CONFIG_TIME_MASK            0x0180
 #define PNP_DN_ATTR_CONFIG_TIME_NEXT_BOOT       0x0000  #define PNP_DN_ATTR_CONFIG_TIME_NEXT_BOOT       0x0000
 #define PNP_DN_ATTR_CONFIG_TIME_BOTH            0x0080  #define PNP_DN_ATTR_CONFIG_TIME_BOTH            0x0080
Line 137  struct pnpdockinfo {
Line 137  struct pnpdockinfo {
         uint32_t        di_id;          /* dock station id */          uint32_t        di_id;          /* dock station id */
         uint32_t        di_serial;      /* serial number */          uint32_t        di_serial;      /* serial number */
         uint16_t        di_cap;         /* capabilities */          uint16_t        di_cap;         /* capabilities */
 } __attribute__((__packed__));  } __packed;
 #define PNP_DI_ID_UNKNOWN_DOCKING_ID    0xffffffff  #define PNP_DI_ID_UNKNOWN_DOCKING_ID    0xffffffff
 #define PNP_DI_DOCK_WHEN_MASK           0x0006  #define PNP_DI_DOCK_WHEN_MASK           0x0006
 #define PNP_DI_DOCK_WHEN_NO_POWER       0x0000  #define PNP_DI_DOCK_WHEN_NO_POWER       0x0000
Line 152  struct pnplargeres {
Line 152  struct pnplargeres {
         uint8_t         r_type;          uint8_t         r_type;
         uint16_t        r_len;          uint16_t        r_len;
         /* variable */          /* variable */
 } __attribute__((__packed__));  } __packed;
   
 /* resource descriptors */  /* resource descriptors */
 struct pnpmem16rangeres {  struct pnpmem16rangeres {
Line 162  struct pnpmem16rangeres {
Line 162  struct pnpmem16rangeres {
         uint16_t        r_maxbase;      /* bits 23-8 */          uint16_t        r_maxbase;      /* bits 23-8 */
         uint16_t        r_align;        /* 0 == 0x10000 */          uint16_t        r_align;        /* 0 == 0x10000 */
         uint16_t        r_len;          /* bits 23-8 */          uint16_t        r_len;          /* bits 23-8 */
 } __attribute__((__packed__));  } __packed;
   
 struct pnpmem32rangeres {  struct pnpmem32rangeres {
         struct pnplargeres      r_hdr;          struct pnplargeres      r_hdr;
Line 171  struct pnpmem32rangeres {
Line 171  struct pnpmem32rangeres {
         uint32_t        r_maxbase;          uint32_t        r_maxbase;
         uint32_t        r_align;          uint32_t        r_align;
         uint32_t        r_len;          uint32_t        r_len;
 } __attribute__((__packed__));  } __packed;
   
 struct pnpfixedmem32rangeres {  struct pnpfixedmem32rangeres {
         struct pnplargeres      r_hdr;          struct pnplargeres      r_hdr;
         uint8_t         r_flags;          uint8_t         r_flags;
         uint32_t        r_base;          uint32_t        r_base;
         uint32_t        r_len;          uint32_t        r_len;
 } __attribute__((__packed__));  } __packed;
   
 struct pnpansiidentres {  struct pnpansiidentres {
         struct pnplargeres      r_hdr;          struct pnplargeres      r_hdr;
         uint8_t         r_id[1];        /* variable */          uint8_t         r_id[1];        /* variable */
 } __attribute__((__packed__));  } __packed;
   
 struct pnpdevidres {  struct pnpdevidres {
         uint8_t         r_hdr;          uint8_t         r_hdr;
         uint32_t        r_id;          uint32_t        r_id;
         uint16_t        r_flags;          uint16_t        r_flags;
 } __attribute__((__packed__));  } __packed;
   
 struct pnpcompatres {  struct pnpcompatres {
         uint8_t         r_hdr;          uint8_t         r_hdr;
         uint32_t        r_id;          uint32_t        r_id;
 } __attribute__((__packed__));  } __packed;
   
 struct pnpirqres {  struct pnpirqres {
         uint8_t         r_hdr;          uint8_t         r_hdr;
         uint16_t        r_mask;          uint16_t        r_mask;
         uint8_t         r_info;         /* may not be present */          uint8_t         r_info;         /* may not be present */
 } __attribute__((__packed__));  } __packed;
   
 struct pnpdmares {  struct pnpdmares {
         uint8_t         r_hdr;          uint8_t         r_hdr;
         uint8_t         r_mask;          uint8_t         r_mask;
         uint8_t         r_flags;          uint8_t         r_flags;
 } __attribute__((__packed__));  } __packed;
   
 struct pnpportres {  struct pnpportres {
         uint8_t         r_hdr;          uint8_t         r_hdr;
Line 215  struct pnpportres {
Line 215  struct pnpportres {
         uint16_t        r_maxbase;          uint16_t        r_maxbase;
         uint8_t         r_align;          uint8_t         r_align;
         uint8_t         r_len;          uint8_t         r_len;
 } __attribute__((__packed__));  } __packed;
   
 struct pnpfixedportres {  struct pnpfixedportres {
         uint8_t         r_hdr;          uint8_t         r_hdr;
         uint16_t        r_base;          uint16_t        r_base;
         uint8_t         r_len;          uint8_t         r_len;
 } __attribute__((__packed__));  } __packed;
   
 struct pnpdepstartres {  struct pnpdepstartres {
         uint8_t         r_hdr;          uint8_t         r_hdr;
         uint8_t         r_pri;  /* may not be present */          uint8_t         r_pri;  /* may not be present */
 } __attribute__((__packed__));  } __packed;
   
 struct pnpendres {  struct pnpendres {
         uint8_t         r_hdr;          uint8_t         r_hdr;
         uint8_t         r_cksum;          uint8_t         r_cksum;
 } __attribute__((__packed__));  } __packed;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>