sector_per_block 80 ide.c int sector_per_block = BSIZE/SECTOR_SIZE; sector_per_block 81 ide.c int sector = b->blockno * sector_per_block; sector_per_block 82 ide.c int read_cmd = (sector_per_block == 1) ? IDE_CMD_READ : IDE_CMD_RDMUL; sector_per_block 83 ide.c int write_cmd = (sector_per_block == 1) ? IDE_CMD_WRITE : IDE_CMD_WRMUL; sector_per_block 85 ide.c if (sector_per_block > 7) panic("idestart"); sector_per_block 89 ide.c outb(0x1f2, sector_per_block); // number of sectors