/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/BlockIoDxe/ |
BiosInt13.c | 76 BlockMedia->LastBlock = (Bios->MaxHead + 1) * Bios->MaxSector * (Bios->MaxCylinder + 1) - 1;
161 Drive->MaxSector = Regs.H.CL;
163 if (Drive->MaxSector == 0) {
175 Drive->MaxSector = (UINT8) (Regs.H.CL & 0x3f);
283 Drive->MaxSector = (UINT8) Drive->Parameters.SectorsPerTrack;
284 ASSERT (Drive->MaxSector != 0);
288 Drive->MaxSector = 1;
302 Drive->MaxSector = 9;
311 Drive->MaxSector = 18;
320 Drive->MaxSector = 36; [all...] |
Edd.h | 185 UINT8 MaxSector;
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
bs16.S | 91 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
|
bs32.S | 105 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
|
bootsect.asm | 102 and al,03fh ; MaxSector = al & 0x3f
103 push ax ; 0000:7bfc = MaxSector
226 movzx ebx,word ptr [bp] ; bx = MaxSector
227 div ebx ; ax = StartLBA / MaxSector
228 inc dx ; dx = (StartLBA % MaxSector) + 1
229 sub bx,dx ; bx = MaxSector - Sector
230 inc bx ; bx = MaxSector - Sector + 1
231 cmp cx,bx ; Compare (Blocks) to (MaxSector - Sector + 1)
236 mov cl,dl ; cl = (StartLBA % MaxSector) + 1 = Sector
|
bs16.asm | 89 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
|
bs32.asm | 104 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
|
Mbr.S | 98 andb $0x3f, %al # MaxSector = AL & 0x3f
99 pushw %ax # 0000:7bfc = MaxSector
|
start.S | 233 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
[all...] |
start16.S | 227 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
[all...] |
start32.S | 242 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
[all...] |
st16_64.S | 239 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
[all...] |
st32_64.S | 254 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
[all...] |
start64.S | 246 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
[all...] |
Gpt.asm | 97 and al,03fh ; MaxSector = al & 0x3f
98 push ax ; 0000:7bfc = MaxSector
|
Mbr.asm | 98 and al,03fh ; MaxSector = AL & 0x3f
99 push ax ; 0000:7bfc = MaxSector
|
st16_64.asm | 235 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
[all...] |
st32_64.asm | 251 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
[all...] |
start.asm | 230 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
[all...] |
start16.asm | 223 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
[all...] |
start32.asm | 238 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
[all...] |
start64.asm | 242 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
[all...] |
Gpt.S | 99 andb $0x3f, %al # MaxSector = al & 0x3f
100 pushw %ax # 0000:7bfc = MaxSector
|