/vbox/src/VBox/Devices/PC/BIOS/ |
H A D | disk.c | 104 unsigned heads = 255; local 110 heads = (heads + 1) / 2; 114 lgeo->cylinders = nsectors / (heads * 63UL); 117 lgeo->heads = heads; 189 nlh = bios_dsk->devices[device].lchs.heads; 204 if (( (bios_dsk->devices[device].pchs.heads != nlh) || (bios_dsk->devices[device].pchs.spt != nlspt)) || VBOX_IS_SCSI_DEVICE(device)) { 250 nlh = bios_dsk->devices[device].lchs.heads; 285 head = bios_dsk->devices[device].pchs.heads; [all...] |
H A D | scsi.c | 431 uint16_t heads, sectors_per_track; local 487 heads = inb_cmos(cmos_base + 2); 497 heads = 255; 502 heads = 128; 507 heads = 64; 510 cylinders = (uint32_t)(sectors / (heads * sectors_per_track)); 526 bios_dsk->devices[hd_index].lchs.heads = heads; 534 i, (uint16_t)cylinders, heads, sectors_per_track, sectors); 537 bios_dsk->devices[hd_index].pchs.heads [all...] |
H A D | ata.c | 105 bios_dsk->devices[device].lchs.heads = 0; 108 bios_dsk->devices[device].pchs.heads = 0; 463 uint16_t cylinders, heads, spt, blksize; local 482 heads = *(uint16_t *)(buffer+(3*2)); // word 3 509 lgeo.heads = inb_cmos(chsgeo_base + 2); 516 cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt); 522 bios_dsk->devices[device].pchs.heads = heads; 542 fdpt->lhead = lgeo.heads; [all...] |
H A D | eltorito.c | 207 write_byte(DS,SI+0x12,cdemu->vdevice.heads); 419 cdemu->vdevice.heads = 2; 424 cdemu->vdevice.heads = 2; 429 cdemu->vdevice.heads = 2; 434 cdemu->vdevice.heads = read_byte(boot_segment,446+5) + 1; 438 cdemu->vdevice.heads, cdemu->vdevice.spt); 539 vheads = cdemu->vdevice.heads; 612 vheads = cdemu->vdevice.heads - 1; 896 dpt->heads = 0xffffffff;
|
H A D | ahci.c | 693 uint16_t cylinders, heads, spt; local 711 heads = *(uint16_t *)(abBuffer+(3*2)); // word 3 730 bios_dsk->devices[hd_index].pchs.heads = heads; 755 lgeo.heads = inb_cmos(idxCmosChsBase + 2); 762 u8Port, cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt, sectors);
|
H A D | ata.h | 184 uint32_t heads; member in struct:__anon14960
|
H A D | ebda.h | 151 uint16_t heads; /* Number of heads. */ member in struct:__anon14985
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/ |
H A D | int13.c | 111 /** Number of heads 114 * giving a maximum of 256 heads. However, apparently all 116 * heads, so the maximum encountered in practice is 255. 118 unsigned int heads; member in struct:int13_drive 543 * @ret heads Guessed number of heads 550 unsigned int *heads, 558 *heads = 255; 575 * heads and sectors_per_track if we find any used 582 *heads 549 int13_guess_geometry_hdd( struct int13_drive *int13, void *scratch, unsigned int *heads, unsigned int *sectors ) argument 626 int13_guess_geometry_fdd( struct int13_drive *int13, unsigned int *heads, unsigned int *sectors ) argument [all...] |
/vbox/src/VBox/Devices/EFI/Firmware/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
H A D | LzFindMt.h | 43 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc);
|
H A D | LzFindMt.c | 136 UInt32 *hash, UInt32 hashMask, UInt32 *heads, UInt32 numHeads, const UInt32 *crc) \ 138 const UInt32 value = (v); p++; *heads++ = pos - hash[value]; hash[value] = pos++; } } 196 UInt32 *heads = mt->hashBuf + ((numProcessedBlocks++) & kMtHashNumBlocksMask) * kMtHashBlockSize; local 198 heads[0] = 2; 199 heads[1] = num; 205 mt->GetHeadsFunc(mf->buffer, mf->pos, mf->hash + mf->fixedHashSize, mf->hashMask, heads + 2, num, mf->crc); 206 heads[0] += num;
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/ |
H A D | int13.h | 117 /** Number of heads */ 118 uint32_t heads; member in struct:int13_disk_parameters 414 /** Number of heads and sectors per track */ 419 #define INT13_FDD_GEOMETRY( cylinders, heads, sectors ) \ 422 .heads_spt = ( ( (heads) << 6 ) | (sectors) ), \ 428 /** Get floppy disk number of heads */
|
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/ |
H A D | Atapi.h | 31 UINT16 heads; ///< Number of logical heads. member in struct:__anon11602
|
/vbox/src/VBox/ValidationKit/bootsectors/ |
H A D | bootsector2-vbinstst-kernel.asm | 267 db 13, 10, 'Floppy params max: sectors=%RX16 heads=%RX16 cylinders=%RX16', 13, 10, 0
|
/vbox/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/ |
H A D | IdeBus.c | 808 DriveParameters.Heads = (UINT8) (((ATA5_IDENTIFY_DATA *) IdeBlkIoDevicePtr->IdData)->heads - 1);
|
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
H A D | IdeMode.c | 2755 DriveParameters.Heads = (UINT8) (((ATA5_IDENTIFY_DATA *)(&Buffer.AtaData))->heads - 1);
|