Searched refs:cylinders (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. 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): 288 '-C', "%d" % cylinders, \
|
/gem5/src/dev/storage/ |
H A D | ide_disk.cc | 87 uint16_t cylinders; local 93 cylinders = 16383; 109 cylinders = lba_size / (heads * sectors); 122 driveID.atap_cylinders = cylinders;
|
Completed in 8 milliseconds