Searched refs:cylinder (Results 1 - 7 of 7) sorted by relevance
/vbox/src/VBox/Devices/PC/BIOS/ |
H A D | ata.c | 211 uint16_t cylinder; local 251 cylinder = bios_dsk->drqp.cylinder; 259 cylinder = 0; /* The parameter lba is just a 32 bit value. */ 262 outb(iobase1 + ATA_CB_CL, cylinder & 0x00ff); 263 outb(iobase1 + ATA_CB_CH, cylinder >> 8); 270 cylinder = (uint16_t) (lba & 0x0000ffffL); 279 outb(iobase1 + ATA_CB_CL, cylinder & 0x00ff); 280 outb(iobase1 + ATA_CB_CH, cylinder >> 8); 688 uint16_t cylinder; local [all...] |
H A D | disk.c | 125 uint16_t cylinder, head, sector; local 176 cylinder = GET_CH(); 177 cylinder |= ( ((uint16_t) GET_CL()) << 2) & 0x300; 193 if( (cylinder >= nlc) || (head >= nlh) || (sector > nlspt )) { 194 BX_INFO("%s: function %02x, disk %02x, parameters out of range %04x/%04x/%04x!\n", __func__, GET_AH(), GET_DL(), cylinder, head, sector); 205 lba = ((((uint32_t)cylinder * (uint32_t)nlh) + (uint32_t)head) * (uint32_t)nlspt) + (uint32_t)sector - 1; 221 bios_dsk->drqp.cylinder = cylinder; 254 /* Maximum cylinder number is just one less than the number of cylinders. */ 284 cylinder [all...] |
H A D | eltorito.c | 470 uint16_t head, sector, cylinder, nbsectors; local 507 case 0x0c: /* seek to specified cylinder */ 543 cylinder = (GET_CL() & 0x00c0) << 2 | GET_CH(); 550 ES, BX, cylinder, head, sector, nbsectors); 558 || (cylinder >= vcylinders) 571 vlba=((((uint32_t)cylinder*(uint32_t)vheads)+(uint32_t)head)*(uint32_t)vspt)+((uint32_t)(sector-1)); 721 case 0x0c: /* seek to specified cylinder */
|
H A D | ebda.h | 208 uint16_t cylinder; /* Starting cylinder (CHS only). */ member in struct:__anon14990
|
H A D | orgs.asm | 1180 mov ds:[445h], al ; cylinder number 1216 mov ds:[494h], al ; drv0 current cylinder 1217 mov ds:[495h], al ; drv1 current cylinder
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/ |
H A D | int13.c | 104 * The cylinder number field in an INT 13 call is ten bits 123 * (unlike head and cylinder numbering) starts at 1, not 0. 802 * @v ch Low bits of cylinder number 803 * @v cl (bits 7:6) High bits of cylinder number 819 unsigned int cylinder, head, sector; local 834 cylinder = ( ( ( ix86->regs.cl & 0xc0 ) << 2 ) | ix86->regs.ch ); 837 if ( ( cylinder >= int13->cylinders ) || 841 "%d/%d/%d\n", cylinder, head, sector, int13->cylinders, 845 lba = ( ( ( ( cylinder * int13->heads ) + head ) 851 cylinder, hea [all...] |
/vbox/src/VBox/ValidationKit/bootsectors/ |
H A D | bootsector2-vbinstst-kernel.asm | 278 mov cx, 0001h ; sector (1-based), cylinder (0-based). 301 ; Fixed registers (above): dl=drive, cl[7:6]:ch=cylinder, dh=head, cl[5:0]=sector. 365 ; advance to the next sector/head/cylinder and address (lazy impl).
|
Completed in 4212 milliseconds