Searched defs:sector (Results 1 - 8 of 8) sorted by relevance
/vbox/src/VBox/Devices/PC/BIOS/ |
H A D | disk.c | 125 uint16_t cylinder, head, sector; local 178 sector = (GET_CL() & 0x3f); 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; 206 sector = 0; // this forces the command to be lba 223 bios_dsk->drqp.sector = sector; 228 // Set nb of sector transferred 255 nlc = nlc - 1; /* 0 based , last sector no [all...] |
H A D | floppy.c | 451 uint8_t drive, num_sectors, track, sector, head; local 509 sector = GET_CL(); 611 outb(0x03f5, sector); 612 outb(0x03f5, 2); // 512 byte sector size 613 outb(0x03f5, sector + num_sectors - 1); // last sector to read on track 748 outb(0x03f5, sector); 749 outb(0x03f5, 2); // 512 byte sector size 750 outb(0x03f5, sector + num_sectors - 1); // last sector t [all...] |
H A D | ata.c | 213 uint16_t sector; local 250 sector = bios_dsk->drqp.sector; 254 // sector will be 0 only on lba access. Convert to lba-chs 255 if (sector == 0) { 258 sector = (lba & 0xff000000L) >> 24; 261 outb(iobase1 + ATA_CB_SN, sector); 268 sector = (uint16_t) (lba & 0x000000ffL); 278 outb(iobase1 + ATA_CB_SN, sector); 315 // adjust if there will be an overrun. 2K max sector siz 690 uint16_t sector; local [all...] |
H A D | eltorito.c | 383 /* Sanity check the sector count. In incorrectly mastered CDs, it might 395 /* Read the disk image's boot sector into memory. */ 470 uint16_t head, sector, cylinder, nbsectors; local 542 sector = GET_CL() & 0x003f; 550 ES, BX, cylinder, head, sector, nbsectors); 552 // no sector to read ? 557 if ((sector > vspt) 571 vlba=((((uint32_t)cylinder*(uint32_t)vheads)+(uint32_t)head)*(uint32_t)vspt)+((uint32_t)(sector-1));
|
H A D | ebda.h | 195 uint32_t sectors; /* Total sector count. */ 207 uint16_t sect_sz; /* Size of a sector in bytes. */ 210 uint16_t sector; /* Starting sector (CHS only). */ member in struct:__anon14990
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/include/ |
H A D | int13.h | 123 /** Bytes per sector */ 243 /** First sector in boot catalog to transfer */ 338 /** Boot catalog sector */ 339 uint32_t sector; member in struct:eltorito_descriptor 395 /** Starting sector */
|
/vbox/src/VBox/Devices/PC/ipxe/src/arch/i386/interface/pcbios/ |
H A D | int13.c | 121 * The sector number field in an INT 13 call is six bits wide, 122 * giving a maximum of 63 sectors, since sector numbering 147 /* 512 bytes per sector */ 185 * Calculate INT 13 drive sector size 461 * @v scratch Scratch area for single-sector reads 524 int13->boot_catalog = boot->sector; 542 * @v scratch Scratch area for single-sector reads 663 * @v scratch Scratch area for single-sector reads 819 unsigned int cylinder, head, sector; local 836 sector [all...] |
/vbox/src/VBox/Devices/Storage/ |
H A D | DevFdc.cpp | 181 uint8_t last_sect; /* Nb sector per track */ 183 uint16_t bps; /* Bytes per sector */ 249 * returns 3 if sector is invalid 255 int sector; local 273 sector = fd_sector_calc(head, track, sect, drv->last_sect, NUM_SIDES(drv)); 275 if (sector != fd_sector(drv)) { 351 /* 360 kB 5"1/4 floppy disks (newer 9-sector formats) */ 356 /* 320 kB 5"1/4 floppy disks (old 8-sector formats) */ 734 uint8_t eot; /* last wanted sector */ 1157 /* Seek to next sector */ [all...] |
Completed in 64 milliseconds