/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/ |
D | BlockIo.c | 87 UINTN Sector; in XenPvBlkDxeBlockIoReadWriteBlocks() local 141 Sector = (UINTN)MultU64x32 (Lba, Media->BlockSize / 512); in XenPvBlkDxeBlockIoReadWriteBlocks() 153 IoData.Sector = Sector; in XenPvBlkDxeBlockIoReadWriteBlocks() 156 Sector += IoData.Size / 512; in XenPvBlkDxeBlockIoReadWriteBlocks()
|
D | BlockFront.h | 28 UINTN Sector; ///< 512 bytes sector. member
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
D | bs32.S | 42 SectorSize: .word 0 # Sector Size - 16 bits 43 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits 66 FSInfo: .word 0 # Sector Number of FSINFO - 2 bytes 67 BkBootSector: .word 0 # Sector Number of Bk BootSector - 2 bytes 108 cmpw $0xaa55, SectorSignature(%bp) # Verify Boot Sector Signature 240 subw %dx, %bx # bx = MaxSector - Sector 241 incw %bx # bx = MaxSector - Sector + 1 242 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1) 247 movb %dl, %cl # cl = (StartLBA % MaxSector) + 1 = Sector 304 # Sector Signature [all …]
|
D | bs32.asm | 40 SectorSize dw 0 ; Sector Size - 16 bits 41 SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits 64 FSInfo dw 0 ; Sector Number of FSINFO - 2 bytes 65 BkBootSector dw 0 ; Sector Number of Bk BootSector - 2 bytes 107 cmp word ptr [bp+SectorSignature],0aa55h ; Verify Boot Sector Signature 238 sub bx,dx ; bx = MaxSector - Sector 239 inc bx ; bx = MaxSector - Sector + 1 240 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1) 245 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector 302 ; Sector Signature [all …]
|
D | bs16.S | 42 SectorSize: .word 0 # Sector Size - 16 bits 43 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits 94 cmpw $0xaa55, SectorSignature(%bp) # Verify Boot Sector Signature 219 subw %dx, %bx # bx = MaxSector - Sector 220 incw %bx # bx = MaxSector - Sector + 1 221 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1) 226 movb %dl, %cl # cl = (StartLBA % MaxSector) + 1 = Sector 283 # Sector Signature 288 .word 0xaa55 # Boot Sector Signature
|
D | bs16.asm | 40 SectorSize dw 0 ; Sector Size - 16 bits 41 SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits 92 cmp word ptr [bp+SectorSignature],0aa55h ; Verify Boot Sector Signature 216 sub bx,dx ; bx = MaxSector - Sector 217 inc bx ; bx = MaxSector - Sector + 1 218 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1) 223 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector 280 ; Sector Signature 285 dw 0aa55h ; Boot Sector Signature
|
D | start32.S | 39 SectorSize: .word 0 # Sector Size - 2 bytes 40 SectorsPerCluster: .byte 0 # Sector Per Cluster - 1 byte 63 FSInfo: .word 0 # Sector Number of FSINFO - 2 bytes 64 BkBootSector: .word 0 # Sector Number of Bk BootSector - 2 bytes 80 # Re use the BPB data stored in Boot Sector 210 popw %ax # ax = Start Sector 247 subw %dx, %bx # bx = MaxSector - Sector 248 incw %bx # bx = MaxSector - Sector + 1 249 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1) 266 movb %dl, %cl # cl = (StartLBA % MaxSector) + 1 = Sector
|
D | start32.asm | 35 SectorSize dw 0 ; Sector Size - 2 bytes 36 SectorsPerCluster db 0 ; Sector Per Cluster - 1 byte 59 FSInfo dw 0 ; Sector Number of FSINFO - 2 bytes 60 BkBootSector dw 0 ; Sector Number of Bk BootSector - 2 bytes 76 ; Re use the BPB data stored in Boot Sector 206 pop ax ; ax = Start Sector 243 sub bx,dx ; bx = MaxSector - Sector 244 inc bx ; bx = MaxSector - Sector + 1 245 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1) 262 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector
|
D | st32_64.S | 39 SectorSize: .word 0 # Sector Size - 2 bytes 40 SectorsPerCluster: .byte 0 # Sector Per Cluster - 1 byte 63 FSInfo: .word 0 # Sector Number of FSINFO - 2 bytes 64 BkBootSector: .word 0 # Sector Number of Bk BootSector - 2 bytes 81 # Re use the BPB data stored in Boot Sector 222 popw %ax # ax = Start Sector 259 subw %dx,%bx # bx = MaxSector - Sector 260 incw %bx # bx = MaxSector - Sector + 1 261 cmpw %bx,%cx # Compare (Blocks) to (MaxSector - Sector + 1) 278 movb %dl,%cl # cl = (StartLBA % MaxSector) + 1 = Sector
|
D | start16.S | 40 SectorSize: .word 0 # Sector Size - 16 bits 41 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits 66 # Re use the BPB data stored in Boot Sector 195 popw %ax # ax = Start Sector 232 subw %dx, %bx # bx = MaxSector - Sector 233 incw %bx # bx = MaxSector - Sector + 1 234 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1) 251 movb %dl, %cl # cl = (StartLBA % MaxSector) + 1 = Sector
|
D | start.S | 39 SectorSize: .word 0 # Sector Size - 16 bits 40 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits 65 # Re use the BPB data stored in Boot Sector 201 popw %ax # ax = Start Sector 238 subw %dx, %bx # bx = MaxSector - Sector 239 incw %bx # bx = MaxSector - Sector + 1 240 cmpw %bx, %cx # Compare (Blocks) to (MaxSector - Sector + 1) 257 movb %dl, %cl # cl = (StartLBA % MaxSector) + 1 = Sector
|
D | st32_64.asm | 35 SectorSize dw 0 ; Sector Size - 2 bytes 36 SectorsPerCluster db 0 ; Sector Per Cluster - 1 byte 59 FSInfo dw 0 ; Sector Number of FSINFO - 2 bytes 60 BkBootSector dw 0 ; Sector Number of Bk BootSector - 2 bytes 76 ; Re use the BPB data stored in Boot Sector 219 pop ax ; ax = Start Sector 256 sub bx,dx ; bx = MaxSector - Sector 257 inc bx ; bx = MaxSector - Sector + 1 258 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1) 275 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector
|
D | start16.asm | 36 SectorSize dw 0 ; Sector Size - 16 bits 37 SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits 62 ; Re use the BPB data stored in Boot Sector 191 pop ax ; ax = Start Sector 228 sub bx,dx ; bx = MaxSector - Sector 229 inc bx ; bx = MaxSector - Sector + 1 230 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1) 247 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector
|
D | Gpt.S | 272 .byte 0xff # Start Sector 276 .byte 0xff # End Sector 289 # Sector Signature 294 .word 0xaa55 # Boot Sector Signature
|
D | Mbr.S | 110 movl $0x0000600, %eax # Assume LegacyMBR is backuped in Sector 6 111 jmp StartReadTo7C00 # EAX = Header/Sector/Tracker/Zero
|
D | start.asm | 36 SectorSize dw 0 ; Sector Size - 16 bits 37 SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits 62 ; Re use the BPB data stored in Boot Sector 198 pop ax ; ax = Start Sector 235 sub bx,dx ; bx = MaxSector - Sector 236 inc bx ; bx = MaxSector - Sector + 1 237 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1) 254 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector
|
D | Mbr.asm | 110 mov eax, 00000600h ; Assume LegacyMBR is backuped in Sector 6 111 jmp StartReadTo7C00 ; EAX = Header/Sector/Tracker/Zero
|
D | st16_64.S | 40 SectorSize: .word 0 # Sector Size - 16 bits 41 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits 66 # Re use the BPB data stored in Boot Sector 207 popw %ax # ax = Start Sector 244 subw %dx,%bx # bx = MaxSector - Sector 245 incw %bx # bx = MaxSector - Sector + 1 246 cmpw %bx,%cx # Compare (Blocks) to (MaxSector - Sector + 1) 263 movb %dl,%cl # cl = (StartLBA % MaxSector) + 1 = Sector
|
D | start64.S | 40 SectorSize: .word 0 # Sector Size - 16 bits 41 SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits 66 # Re use the BPB data stored in Boot Sector 214 popw %ax # ax = Start Sector 251 subw %dx,%bx # bx = MaxSector - Sector 252 incw %bx # bx = MaxSector - Sector + 1 253 cmpw %bx,%cx # Compare (Blocks) to (MaxSector - Sector + 1) 270 movb %dl,%cl # cl = (StartLBA % MaxSector) + 1 = Sector
|
D | Gpt.asm | 269 db 0ffh ; Start Sector 273 db 0ffh ; End Sector 286 ; Sector Signature 291 dw 0aa55h ; Boot Sector Signature
|
D | start64.asm | 36 SectorSize dw 0 ; Sector Size - 16 bits 37 SectorsPerCluster db 0 ; Sector Per Cluster - 8 bits 62 ; Re use the BPB data stored in Boot Sector 210 pop ax ; ax = Start Sector 247 sub bx,dx ; bx = MaxSector - Sector 248 inc bx ; bx = MaxSector - Sector + 1 249 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1) 266 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/ |
D | BiosInt13.c | 1127 UINTN Sector; in BiosReadLegacyDrive() local 1174 Sector = (ShortLba % BiosBlockIoDev->Bios.MaxSector) + 1; in BiosReadLegacyDrive() 1183 Temp = BiosBlockIoDev->Bios.MaxSector - Sector + 1; in BiosReadLegacyDrive() 1198 CheckLba = CheckLba * BiosBlockIoDev->Bios.MaxSector + Sector - 1; in BiosReadLegacyDrive() 1205 Sector, in BiosReadLegacyDrive() 1214 Regs.H.CL = (UINT8) ((Sector & 0x3f) + (UpperCylinder & 0xff)); in BiosReadLegacyDrive() 1228 (UINT8) ((Sector & 0x3f) + (UpperCylinder & 0xff)), in BiosReadLegacyDrive() 1329 UINTN Sector; in BiosWriteLegacyDrive() local 1376 Sector = (ShortLba % BiosBlockIoDev->Bios.MaxSector) + 1; in BiosWriteLegacyDrive() 1385 Temp = BiosBlockIoDev->Bios.MaxSector - Sector + 1; in BiosWriteLegacyDrive() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/ |
D | VirtioBlk.h | 73 UINT64 Sector; member
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/ |
D | IsaFloppy.h | 111 UINT8 Sector; member 140 UINT8 Sector; member 152 UINT8 Sector; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/ |
D | IdeMode.h | 92 UINT8 Sector; member
|