Home
last modified time | relevance | path

Searched refs:Sector (Results 1 – 25 of 36) sorted by relevance

12

/device/linaro/bootloader/edk2/OvmfPkg/XenPvBlkDxe/
DBlockIo.c87 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()
DBlockFront.h28 UINTN Sector; ///< 512 bytes sector. member
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs32.S42 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 …]
Dbs32.asm40 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 …]
Dbs16.S42 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
Dbs16.asm40 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
Dstart32.S39 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
Dstart32.asm35 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
Dst32_64.S39 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
Dstart16.S40 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
Dstart.S39 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
Dst32_64.asm35 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
Dstart16.asm36 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
DGpt.S272 .byte 0xff # Start Sector
276 .byte 0xff # End Sector
289 # Sector Signature
294 .word 0xaa55 # Boot Sector Signature
DMbr.S110 movl $0x0000600, %eax # Assume LegacyMBR is backuped in Sector 6
111 jmp StartReadTo7C00 # EAX = Header/Sector/Tracker/Zero
Dstart.asm36 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
DMbr.asm110 mov eax, 00000600h ; Assume LegacyMBR is backuped in Sector 6
111 jmp StartReadTo7C00 ; EAX = Header/Sector/Tracker/Zero
Dst16_64.S40 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
Dstart64.S40 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
DGpt.asm269 db 0ffh ; Start Sector
273 db 0ffh ; End Sector
286 ; Sector Signature
291 dw 0aa55h ; Boot Sector Signature
Dstart64.asm36 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/
DBiosInt13.c1127 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/
DVirtioBlk.h73 UINT64 Sector; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaFloppyDxe/
DIsaFloppy.h111 UINT8 Sector; member
140 UINT8 Sector; member
152 UINT8 Sector; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DIdeMode.h92 UINT8 Sector; member

12