Home
last modified time | relevance | path

Searched refs:MaxSector (Results 1 – 22 of 22) sorted by relevance

/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/
DBiosInt13.c76 BlockMedia->LastBlock = (Bios->MaxHead + 1) * Bios->MaxSector * (Bios->MaxCylinder + 1) - 1; in BiosInitBlockIo()
161 Drive->MaxSector = Regs.H.CL; in Int13GetDeviceParameters()
163 if (Drive->MaxSector == 0) { in Int13GetDeviceParameters()
175 Drive->MaxSector = (UINT8) (Regs.H.CL & 0x3f); in Int13GetDeviceParameters()
283 Drive->MaxSector = (UINT8) Drive->Parameters.SectorsPerTrack; in GetDriveParameters()
284 ASSERT (Drive->MaxSector != 0); in GetDriveParameters()
288 Drive->MaxSector = 1; in GetDriveParameters()
302 Drive->MaxSector = 9; in GetDriveParameters()
311 Drive->MaxSector = 18; in GetDriveParameters()
320 Drive->MaxSector = 36; in GetDriveParameters()
[all …]
DEdd.h185 UINT8 MaxSector; member
/device/linaro/bootloader/edk2/DuetPkg/BootSector/
Dbs16.S91 andb $0x3f, %al # MaxSector = al & 0x3f
92 pushw %ax # 0000:7bfc = MaxSector
216 movzwl (%bp), %ebx # bx = MaxSector
217 divl %ebx # ax = StartLBA / MaxSector
218 incw %dx # dx = (StartLBA % MaxSector) + 1
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
Dbs16.asm89 and al,03fh ; MaxSector = al & 0x3f
90 push ax ; 0000:7bfc = MaxSector
213 movzx ebx,word ptr [bp] ; bx = MaxSector
214 div ebx ; ax = StartLBA / MaxSector
215 inc dx ; dx = (StartLBA % MaxSector) + 1
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
Dbs32.S105 andb $0x3f, %al # MaxSector = al & 0x3f
106 pushw %ax # 0000:7bfc = MaxSector
237 movzwl (%bp), %ebx # bx = MaxSector
238 divl %ebx # ax = StartLBA / MaxSector
239 incw %dx # dx = (StartLBA % MaxSector) + 1
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
Dbs32.asm104 and al,03fh ; MaxSector = al & 0x3f
105 push ax ; 0000:7bfc = MaxSector
235 movzx ebx,word ptr [bp] ; bx = MaxSector
236 div ebx ; ax = StartLBA / MaxSector
237 inc dx ; dx = (StartLBA % MaxSector) + 1
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
Dstart.S233 movzwl (%bp), %ebx # bx = MaxSector
234 divl %ebx # ax = StartLBA / MaxSector
235 incw %dx # dx = (StartLBA % MaxSector) + 1
237 movw (%bp), %bx # bx = MaxSector
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
Dstart16.S227 movzwl (%bp), %ebx # bx = MaxSector
228 divl %ebx # ax = StartLBA / MaxSector
229 incw %dx # dx = (StartLBA % MaxSector) + 1
231 movw (%bp), %bx # bx = MaxSector
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
Dstart32.S242 movzwl (%bp), %ebx # bx = MaxSector
243 divl %ebx # ax = StartLBA / MaxSector
244 incw %dx # dx = (StartLBA % MaxSector) + 1
246 movw (%bp), %bx # bx = MaxSector
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
Dstart16.asm223 movzx ebx,word ptr [bp] ; bx = MaxSector
224 div ebx ; ax = StartLBA / MaxSector
225 inc dx ; dx = (StartLBA % MaxSector) + 1
227 mov bx,word ptr [bp] ; bx = MaxSector
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
DMbr.S98 andb $0x3f, %al # MaxSector = AL & 0x3f
99 pushw %ax # 0000:7bfc = MaxSector
Dstart32.asm238 movzx ebx,word ptr [bp] ; bx = MaxSector
239 div ebx ; ax = StartLBA / MaxSector
240 inc dx ; dx = (StartLBA % MaxSector) + 1
242 mov bx,word ptr [bp] ; bx = MaxSector
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
Dstart.asm230 movzx ebx,word ptr [bp] ; bx = MaxSector
231 div ebx ; ax = StartLBA / MaxSector
232 inc dx ; dx = (StartLBA % MaxSector) + 1
234 mov bx,word ptr [bp] ; bx = MaxSector
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.asm98 and al,03fh ; MaxSector = AL & 0x3f
99 push ax ; 0000:7bfc = MaxSector
Dst32_64.S254 movzwl (%bp), %ebx # bx = MaxSector
255 divl %ebx # ax = StartLBA / MaxSector
256 incw %dx # dx = (StartLBA % MaxSector) + 1
258 movw (%bp), %bx # bx = MaxSector
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
Dstart64.S246 movzwl (%bp), %ebx # bx = MaxSector
247 divl %ebx # ax = StartLBA / MaxSector
248 incw %dx # dx = (StartLBA % MaxSector) + 1
250 movw (%bp), %bx # bx = MaxSector
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
Dst16_64.S239 movzwl (%bp), %ebx # bx = MaxSector
240 divl %ebx # ax = StartLBA / MaxSector
241 incw %dx # dx = (StartLBA % MaxSector) + 1
243 movw (%bp), %bx # bx = MaxSector
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
Dst16_64.asm235 movzx ebx,word ptr [bp] ; bx = MaxSector
236 div ebx ; ax = StartLBA / MaxSector
237 inc dx ; dx = (StartLBA % MaxSector) + 1
239 mov bx,word ptr [bp] ; bx = MaxSector
240 sub bx,dx ; bx = MaxSector - Sector
241 inc bx ; bx = MaxSector - Sector + 1
242 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
259 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector
Dst32_64.asm251 movzx ebx,word ptr [bp] ; bx = MaxSector
252 div ebx ; ax = StartLBA / MaxSector
253 inc dx ; dx = (StartLBA % MaxSector) + 1
255 mov bx,word ptr [bp] ; bx = MaxSector
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
Dstart64.asm242 movzx ebx,word ptr [bp] ; bx = MaxSector
243 div ebx ; ax = StartLBA / MaxSector
244 inc dx ; dx = (StartLBA % MaxSector) + 1
246 mov bx,word ptr [bp] ; bx = MaxSector
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
DGpt.S99 andb $0x3f, %al # MaxSector = al & 0x3f
100 pushw %ax # 0000:7bfc = MaxSector
DGpt.asm97 and al,03fh ; MaxSector = al & 0x3f
98 push ax ; 0000:7bfc = MaxSector