/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/ |
BiosInt13.c | 142 UINT16 Cylinder;
172 Cylinder = (UINT16) (((UINT16) Regs.H.DH & 0xc0) << 4);
173 Cylinder = (UINT16) (Cylinder | ((UINT16) Regs.H.CL & 0xc0) << 2);
174 Drive->MaxCylinder = (UINT16) (Cylinder + Regs.H.CH);
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/ |
IsaFloppy.h | 109 UINT8 Cylinder;
138 UINT8 Cylinder;
150 UINT8 Cylinder;
303 // In this mode, the FDC treats a complete cylinder under head0 and 1
372 // End of Cylinder
420 // Wrong Cylinder: The track address from sector ID field is different from
426 // Bad Cylinder
772 Set the head of floppy drive to the new cylinder.
792 @param PresentCylinderNumber UINT8 *: Be used to save present cylinder number
850 Read or Write a number of blocks in the same cylinder. [all...] |
IsaFloppyCtrl.c | 498 Set the head of floppy drive to the new cylinder.
516 UINT8 Cylinder;
532 // Calculate cylinder based on Lba and EOT
534 Cylinder = (UINT8) ((UINTN) Lba / EndOfTrack / 2);
537 // if the destination cylinder is the present cylinder, unnecessary to do the
540 if (FdcDev->PresentCylinderNumber == Cylinder) {
563 Command.NewCylinder = Cylinder;
579 if (FdcDev->PresentCylinderNumber > Cylinder) {
580 DelayTime = (UINT8) (FdcDev->PresentCylinderNumber - Cylinder);
[all...] |
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyPei/ |
Fdc.h | 72 /// In this mode, the FDC treats a complete cylinder under head0 and 1 as a single track
110 #define STS1_EN BIT7 // End of Cylinder
130 #define STS2_WC BIT4 // Wrong Cylinder: The track address from sector ID field is different from the track address maintained inside FDC
135 #define STS2_BC BIT1 // Bad Cylinder
187 UINT8 Cylinder;
|
FloppyPeim.c | 808 Seek for the cylinder according to given LBA.
812 @param Lba LBA for which to seek for cylinder.
814 @retval EFI_SUCCESS Successfully moved to the destination cylinder.
815 @retval EFI_SUCCESS Destination cylinder is just the present cylinder.
816 @retval EFI_DEVICE_ERROR Fail to move to the destination cylinder.
830 UINT8 Cylinder;
855 // Calculate cylinder based on Lba and EOT
857 Cylinder = (UINT8) ((UINTN) Lba / EndOfTrack / 2);
860 // If the dest cylinder is the present cylinder, unnecessary to do the seek operation [all...] |
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
bs16.S | 228 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
235 movb %al, %ch # ch = Cylinder
|
bs32.S | 249 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
256 movb %al, %ch # ch = Cylinder
|
bootsect.asm | 238 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
245 mov ch,al ; ch = Cylinder
|
bs16.asm | 225 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
232 mov ch,al ; ch = Cylinder
|
bs32.asm | 247 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
254 mov ch,al ; ch = Cylinder
|
Mbr.asm | 122 ; Ci: Cylinder number
|
start.S | 259 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
266 movb %al, %ch # ch = Cylinder
[all...] |
start16.S | 253 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
260 movb %al, %ch # ch = Cylinder
[all...] |
start32.S | 268 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
275 movb %al, %ch # ch = Cylinder
[all...] |
st16_64.S | 265 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
272 movb %al,%ch # ch = Cylinder
[all...] |
st32_64.S | 280 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
287 movb %al,%ch # ch = Cylinder
[all...] |
start64.S | 272 divw 2(%bp) # ax = ax / (MaxHead + 1) = Cylinder
279 movb %al,%ch # ch = Cylinder
[all...] |
st16_64.asm | 261 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
268 mov ch,al ; ch = Cylinder
[all...] |
st32_64.asm | 277 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
284 mov ch,al ; ch = Cylinder
[all...] |
start.asm | 256 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
263 mov ch,al ; ch = Cylinder
[all...] |
start16.asm | 249 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
256 mov ch,al ; ch = Cylinder
[all...] |
start32.asm | 264 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
271 mov ch,al ; ch = Cylinder
[all...] |
start64.asm | 268 div word ptr [bp+2] ; ax = ax / (MaxHead + 1) = Cylinder
275 mov ch,al ; ch = Cylinder
[all...] |