Searched refs:read_fis (Results 1 - 1 of 1) sorted by relevance
/barrelfish-2018-10-04/lib/vfs/ |
H A D | vfs_blockdevfs_ahci.c | 182 struct sata_fis_reg_h2d read_fis; local 183 memset(&read_fis, 0, sizeof(struct sata_fis_reg_h2d)); 184 read_fis.type = SATA_FIS_TYPE_H2D; 185 read_fis.device = 1 << 6; // LBA mode, not CHS; ??? 186 sata_set_command(&read_fis, 0xC8); // read dma; ATA Command Set, 7.24 187 sata_set_count(&read_fis, aligned_bytes / PR_SIZE); // nr. of sectors/blocks 188 sata_set_lba28(&read_fis, pos / PR_SIZE); 198 (uint8_t*)&read_fis, sizeof(read_fis), false, bufregion, aligned_bytes);
|
Completed in 97 milliseconds