Changeset 82163 in vbox for trunk/src/VBox/Devices/PC/BIOS/ebda.h
- Timestamp:
- Nov 25, 2019 10:31:53 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ebda.h
r81089 r82163 106 106 */ 107 107 enum dsk_type_enm { 108 DSK_TYPE_NONE, /* Unknown device. */ 109 DSK_TYPE_UNKNOWN, /* Unknown ATA device. */ 110 DSK_TYPE_ATA, /* ATA disk. */ 111 DSK_TYPE_ATAPI, /* ATAPI device. */ 112 DSK_TYPE_SCSI, /* SCSI disk. */ 113 DSK_TYPE_AHCI, /* SATA disk via AHCI. */ 114 DSKTYP_CNT /* Number of disk types. */ 108 DSK_TYPE_NONE, /* Unknown device. */ 109 DSK_TYPE_UNKNOWN, /* Unknown ATA device. */ 110 DSK_TYPE_ATA, /* ATA disk. */ 111 DSK_TYPE_ATAPI, /* ATAPI device. */ 112 DSK_TYPE_SCSI, /* SCSI disk. */ 113 DSK_TYPE_AHCI, /* SATA disk via AHCI. */ 114 DSK_TYPE_VIRTIO_SCSI, /* SCSI disk. */ 115 DSKTYP_CNT /* Number of disk types. */ 115 116 }; 116 117 … … 287 288 scsi_dev_t scsidev[BX_MAX_SCSI_DEVICES]; 288 289 uint8_t scsi_devcount; /* Number of SCSI devices. */ 290 # ifdef VBOX_WITH_VIRTIO_SCSI 291 uint16_t virtio_seg; /* Segment of VirtIO data block. */ 292 # endif 289 293 #endif 290 294 … … 294 298 uint8_t ahci_devcnt; /* Number of SATA devices. */ 295 299 uint16_t ahci_seg; /* Segment of AHCI data block. */ 296 #endif297 298 #ifdef VBOX_WITH_VIRTIO_SCSI299 /* VirtIO SCSI bus-specific device information. */300 virtio_scsi_dev_t virtiodev[BX_MAX_VIRTIO_SCSI_DEVICES];301 uint8_t virtio_devcnt; /* Number of VirtIO devices. */302 uint16_t virtio_seg; /* Segment of VirtIO data block. */303 300 #endif 304 301 … … 401 398 int __fastcall ahci_write_sectors(bio_dsk_t __far *bios_dsk); 402 399 400 int __fastcall virtio_scsi_read_sectors(bio_dsk_t __far *bios_dsk); 401 int __fastcall virtio_scsi_write_sectors(bio_dsk_t __far *bios_dsk); 402 403 403 extern void set_geom_lba(chs_t __far *lgeo, uint64_t nsectors); 404 404 extern int edd_fill_dpt(dpt_t __far *dpt, bio_dsk_t __far *bios_dsk, uint8_t device);
Note:
See TracChangeset
for help on using the changeset viewer.