Searched refs:heads (Results 1 - 2 of 2) sorted by relevance
/gem5/util/ |
H A D | gem5img.py | 30 # Figure out cylinders, heads and sectors from a size in blocks. 42 heads = 16 44 heads = sizeInBlocks 46 cylinders = sizeInBlocks / (sectors * heads) 48 return (cylinders, heads, sectors) 262 (cylinders, heads, sectors) = chsFromSize((mb * MB) / BlockSize) 263 size = cylinders * heads * sectors * BlockSize 284 def partition(dev, cylinders, heads, sectors): 289 '-H', "%d" % heads, \
|
/gem5/src/dev/storage/ |
H A D | ide_disk.cc | 88 uint8_t heads; local 94 heads = 16; 105 heads = 16; 107 heads = (lba_size / sectors); 109 cylinders = lba_size / (heads * sectors); 124 driveID.atap_heads = heads;
|
Completed in 8 milliseconds