Searched refs:cylinders (Results 1 - 11 of 11) sorted by relevance

/vbox/src/VBox/Devices/PC/BIOS/
H A Dscsi.c430 uint32_t sectors, sector_size, cylinders; local
486 cylinders = inb_cmos(cmos_base + 0) + (inb_cmos(cmos_base + 1) << 8);
510 cylinders = (uint32_t)(sectors / (heads * sectors_per_track));
528 if (cylinders > 1024)
529 bios_dsk->devices[hd_index].lchs.cylinders = 1024;
531 bios_dsk->devices[hd_index].lchs.cylinders = (uint16_t)cylinders;
534 i, (uint16_t)cylinders, heads, sectors_per_track, sectors);
539 if (cylinders > 1024)
540 bios_dsk->devices[hd_index].pchs.cylinders
[all...]
H A Ddisk.c114 lgeo->cylinders = nsectors / (heads * 63UL);
115 if (lgeo->cylinders > 1024)
116 lgeo->cylinders = 1024;
188 nlc = bios_dsk->devices[device].lchs.cylinders;
249 nlc = bios_dsk->devices[device].lchs.cylinders;
254 /* Maximum cylinder number is just one less than the number of cylinders. */
284 cylinder = bios_dsk->devices[device].pchs.cylinders;
457 npc = bios_dsk->devices[device].pchs.cylinders;
465 dpt->cylinders = npc;
H A Data.c106 bios_dsk->devices[device].lchs.cylinders = 0;
109 bios_dsk->devices[device].pchs.cylinders = 0;
463 uint16_t cylinders, heads, spt, blksize; local
481 cylinders = *(uint16_t *)(buffer+(1*2)); // word 1
508 lgeo.cylinders = inb_cmos(chsgeo_base) + (inb_cmos(chsgeo_base + 1) << 8);
516 cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt);
523 bios_dsk->devices[device].pchs.cylinders = cylinders;
541 fdpt->lcyl = lgeo.cylinders;
[all...]
H A Deltorito.c205 write_byte(DS,SI+0x10,cdemu->vdevice.cylinders);
418 cdemu->vdevice.cylinders = 80;
423 cdemu->vdevice.cylinders = 80;
428 cdemu->vdevice.cylinders = 80;
433 cdemu->vdevice.cylinders = (read_byte(boot_segment,446+6)<<2) + read_byte(boot_segment,446+7) + 1;
437 BX_DEBUG_ELTORITO("VCHS=%u/%u/%u\n", cdemu->vdevice.cylinders,
538 vcylinders = cdemu->vdevice.cylinders;
611 vcylinders = cdemu->vdevice.cylinders - 1;
895 dpt->cylinders = 0xffffffff;
H A Dahci.c693 uint16_t cylinders, heads, spt; local
710 cylinders = *(uint16_t *)(abBuffer+(1*2)); // word 1
731 bios_dsk->devices[hd_index].pchs.cylinders = cylinders;
754 lgeo.cylinders = inb_cmos(idxCmosChsBase + 0) + (inb_cmos(idxCmosChsBase + 1) << 8);
762 u8Port, cylinders, heads, spt, lgeo.cylinders, lgeo.heads, lgeo.spt, sectors);
H A Data.h183 uint32_t cylinders; member in struct:__anon14960
H A Debda.h152 uint16_t cylinders; /* Number of cylinders. */ member in struct:__anon14985
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/
H A Dint13.c102 /** Number of cylinders
105 * wide, giving a maximum of 1024 cylinders. Conventionally,
107 * the number of cylinders that is increased beyond the
110 unsigned int cylinders; member in struct:int13_drive
631 unsigned int cylinders; local
638 cylinders = INT13_FDD_CYLINDERS ( geometry );
641 if ( ( cylinders * (*heads) * (*sectors) ) == blocks ) {
644 cylinders, *heads, *sectors, ( blocks / 2 ) );
694 if ( ! int13->cylinders ) {
699 int13->cylinders
[all...]
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/
H A Dint13.h115 /** Number of cylinders */
116 uint32_t cylinders; member in struct:int13_disk_parameters
419 #define INT13_FDD_GEOMETRY( cylinders, heads, sectors ) \
421 .tracks = (cylinders), \
425 /** Get floppy disk number of cylinders */
/vbox/src/VBox/Devices/EFI/Firmware/MdePkg/Include/IndustryStandard/
H A DAtapi.h29 UINT16 cylinders; ///< Number of Cylinders. member in struct:__anon11602
/vbox/src/VBox/ValidationKit/bootsectors/
H A Dbootsector2-vbinstst-kernel.asm267 db 13, 10, 'Floppy params max: sectors=%RX16 heads=%RX16 cylinders=%RX16', 13, 10, 0

Completed in 95 milliseconds