Searched refs:sector (Results 1 - 7 of 7) sorted by relevance
/gem5/src/dev/virtio/ |
H A D | block.cc | 75 uint64_t sector(req.sector); 77 DPRINTF(VIOBlock, "Read request starting @ sector %i (size: %i)\n", 78 sector, size); 81 panic("Unexpected request/sector size relationship\n"); 84 if (image.read(&data[offset], sector) != SectorSize) { 85 warn("Failed to read sector %i\n", sector); 88 ++sector; 101 uint64_t sector(re [all...] |
H A D | block.hh | 130 uint64_t sector; member in struct:VirtIOBlock::BlkRequest
|
/gem5/src/dev/sparc/ |
H A D | mm_disk.cc | 59 off_t sector; local 67 sector = accessAddr / SectorSize; 69 if (sector != curSector) { 80 image->read(diskData, sector); 82 curSector = sector; 117 off_t sector; local 125 sector = accessAddr / SectorSize; 127 if (sector != curSector) { 138 image->read(diskData, sector); 140 curSector = sector; [all...] |
/gem5/src/mem/cache/tags/ |
H A D | sector_tags.cc | 33 * Definitions of a sector tag store. 62 "# of blocks per sector must be non-zero and a power of 2"); 68 // Create blocks and sector blocks 77 // Locate next cache sector 80 // Associate a replacement data entry to the sector 83 // Initialize all blocks in this sector 95 // Associate sector block to this block 98 // Associate the sector replacement data to this block 101 // Set its index and sector offset 118 // Get block's sector [all...] |
/gem5/src/dev/storage/ |
H A D | disk_image.cc | 283 Sector *sector = new Sector; local 284 SafeRead(stream, sector, sizeof(Sector)); 287 (*table)[offset] = sector; 423 Sector *sector = new Sector; local 424 memcpy(sector, data, SectorSize); 425 table->insert(make_pair(offset, sector));
|
H A D | ide_disk.hh | 230 /** Current sector in access */ 333 void readDisk(uint32_t sector, uint8_t *data); 334 void writeDisk(uint32_t sector, uint8_t *data);
|
H A D | ide_disk.cc | 371 "PRD: baseAddr:%#x (%#x) byteCount:%d (%d) eot:%#x sector:%d\n", 576 IdeDisk::readDisk(uint32_t sector, uint8_t *data) argument 578 uint32_t bytesRead = image->read(data, sector); 586 IdeDisk::writeDisk(uint32_t sector, uint8_t *data) argument 588 uint32_t bytesWritten = image->write(data, sector);
|
Completed in 14 milliseconds