Changeset 104142 in vbox
- Timestamp:
- Apr 3, 2024 3:49:45 PM (11 months ago)
- svn:sync-xref-src-repo-rev:
- 162564
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ebda.h
r100658 r104142 100 100 #endif 101 101 102 #ifdef VBOX_WITH_VIRTIO_SCSI 103 /* Four should be enough for now */ 104 #define BX_MAX_VIRTIO_SCSI_DEVICES 4 105 106 /* An AHCI device starts always at BX_MAX_ATA_DEVICES + BX_MAX_SCSI_DEVICES. */ 107 #define VBOX_IS_VIRTIO_SCSI_DEVICE(device_id) (device_id >= (BX_MAX_ATA_DEVICES + BX_MAX_SCSI_DEVICES + BX_MAX_AHCI_DEVICES)) 108 #define VBOX_GET_VIRTIO_SCSI_DEVICE(device_id) (device_id - (BX_MAX_ATA_DEVICES + BX_MAX_SCSI_DEVICES + BX_MAX_AHCI_DEVICES)) 109 #else 110 #define BX_MAX_VIRTIO_SCSI_DEVICES 0 111 #endif 112 113 #define BX_MAX_STORAGE_DEVICES (BX_MAX_ATA_DEVICES + BX_MAX_SCSI_DEVICES + BX_MAX_AHCI_DEVICES + BX_MAX_VIRTIO_SCSI_DEVICES) 102 #define BX_MAX_STORAGE_DEVICES (BX_MAX_ATA_DEVICES + BX_MAX_SCSI_DEVICES + BX_MAX_AHCI_DEVICES) 114 103 115 104 /* Generic storage device types. These depend on the controller type and … … 329 318 fdpt_t fdpt0; /* FDPTs for the first two ATA disks. */ 330 319 fdpt_t fdpt1; 331 332 #ifndef VBOX_WITH_VIRTIO_SCSI /** @todo For development only, need to find a real solution to voercome the 1KB limit. */333 uint8_t filler2[0xC4];334 #endif335 320 336 321 bio_dsk_t bdisk; /* Disk driver data (ATA/SCSI/AHCI). */
Note:
See TracChangeset
for help on using the changeset viewer.