構造体定義書 HotDocument 今井浩司

edd_device_parameters

構文構文

struct edd_device_parameters

ファイル名ファイル名

geom.h

構造体情報構造体情報

No. 名称 属性説明
1
edd_device_parameters   
  len uint16_t size of returned data
  info uint16_t information flags
  cylinders uint32_t number of physical cylinders on drive
  heads uint32_t number of physical heads on drive
  sectors_per_track uint32_t number of physical sectors per track
  sectors uint64_t total number of sectors on drive
  bytes_per_sector uint16_t bytes per sector
  dpte_pointer uint32_t EDD configuration parameters, FFFFh:FFFFh if not available
  device_path_information uint16_t signature BEDDh to indicate presence of Device Path info
  device_path_length uint8_t length of Device Path information, including signature and this byte (24h for v3.0)
  device_path_reserved uint8_t reserved (0)
  device_path_reserved_2 uint16_t reserved (0)
  host_bus_type[4] uint8_t ASCIZ name of host bus ("ISA" or "PCI")
  interface_type[8] uint8_t ASCIZ name of interface type
  base_address uint16_t  
  reserved1 uint16_t  
  reserved2 uint32_t  
  isa } __attribute__ ((packed))  
  bus uint8_t  
  slot uint8_t  
  function uint8_t  
  channel uint8_t  
  reserved uint32_t  
  pci } __attribute__ ((packed))  
  reserved uint64_t  
  ibnd } __attribute__ ((packed))  
  reserved uint64_t  
  xprs } __attribute__ ((packed))  
  reserved uint64_t  
  htpt } __attribute__ ((packed))  
  reserved uint64_t  
  unknown } __attribute__ ((packed))  
  interface_path    
  device uint8_t  
  reserved1 uint8_t  
  reserved2 uint16_t  
  reserved3 uint32_t  
  reserved4 uint64_t  
  ata } __attribute__ ((packed))  
  device uint8_t  
  lun uint8_t  
  reserved1 uint8_t  
  reserved2 uint8_t  
  reserved3 uint32_t  
  reserved4 uint64_t  
  atapi } __attribute__ ((packed))  
  id uint16_t  
  lun uint64_t  
  reserved1 uint16_t  
  reserved2 uint32_t  
  scsi } __attribute__ ((packed))  
  serial_number uint64_t  
  reserved uint64_t  
  usb } __attribute__ ((packed))  
  eui uint64_t  
  reserved uint64_t  
  i1394 } __attribute__ ((packed))  
  wwid uint64_t  
  lun uint64_t  
  fibre } __attribute__ ((packed))  
  identity_tag uint64_t  
  reserved uint64_t  
  i2o } __attribute__ ((packed))  
  array_number uint32_t  
  reserved1 uint32_t  
  reserved2 uint64_t  
  raid } __attribute__ ((packed))  
  device uint8_t  
  reserved1 uint8_t  
  reserved2 uint16_t  
  reserved3 uint32_t  
  reserved4 uint64_t  
  sata } __attribute__ ((packed))  
  reserved1 uint64_t  
  reserved2 uint64_t  
  unknown } __attribute__ ((packed))  
  device_path    
  reserved uint8_t reserved (0)
  checksum uint8_t checksum of bytes 1Eh-40h (two's complement of sum, which makes

See Also

目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー