Searched refs:sector (Results 1 - 7 of 7) sorted by relevance

/gem5/src/dev/virtio/
H A Dblock.cc75 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 Dblock.hh130 uint64_t sector; member in struct:VirtIOBlock::BlkRequest
/gem5/src/dev/sparc/
H A Dmm_disk.cc59 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 Dsector_tags.cc33 * 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 Ddisk_image.cc283 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 Dide_disk.hh230 /** Current sector in access */
333 void readDisk(uint32_t sector, uint8_t *data);
334 void writeDisk(uint32_t sector, uint8_t *data);
H A Dide_disk.cc371 "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