Rev 8493 | Rev 8675 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8493 | Rev 8598 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | format binary as "mnt" |
69 | format binary as "mnt" |
Line 70... | Line 70... | ||
70 | 70 | ||
71 | include 'macros.inc' |
71 | include 'macros.inc' |
Line 72... | Line 72... | ||
72 | include 'struct.inc' |
72 | include 'struct.inc' |
Line 73... | Line 73... | ||
73 | 73 | ||
74 | $Revision: 8493 $ |
74 | $Revision: 8598 $ |
Line 2437... | Line 2437... | ||
2437 | align 4 |
2437 | align 4 |
2438 | sysfn_getdiskinfo: ; 18.11 = get disk info table |
2438 | sysfn_getdiskinfo: ; 18.11 = get disk info table |
2439 | dec ecx |
2439 | dec ecx |
2440 | jnz .exit |
2440 | jnz .exit |
2441 | .small_table: |
2441 | .small_table: |
- | 2442 | stdcall is_region_userspace, edx, DRIVE_DATA_SIZE |
|
- | 2443 | jz .exit |
|
2442 | mov edi, edx |
2444 | mov edi, edx |
2443 | mov esi, DRIVE_DATA |
2445 | mov esi, DRIVE_DATA |
2444 | mov ecx, DRIVE_DATA_SIZE ;10 |
2446 | mov ecx, DRIVE_DATA_SIZE ;10 |
2445 | cld |
2447 | cld |
2446 | rep movsb |
2448 | rep movsb |
Line 5346... | Line 5348... | ||
5346 | and edx, 0xffff |
5348 | and edx, 0xffff |
5347 | mov esi, ecx |
5349 | mov esi, ecx |
5348 | ; ecx - size x, edx - size y |
5350 | ; ecx - size x, edx - size y |
Line 5349... | Line 5351... | ||
5349 | 5351 | ||
- | 5352 | mov ebp, edx |
|
- | 5353 | lea ebp, [ebp*3] |
|
- | 5354 | imul ebp, esi |
|
- | 5355 | stdcall is_region_userspace, edi, ebp |
|
- | 5356 | jz .exit |
|
- | 5357 | ||
5350 | mov ebp, edx |
5358 | mov ebp, edx |
5351 | dec ebp |
5359 | dec ebp |
Line 5352... | Line 5360... | ||
5352 | lea ebp, [ebp*3] |
5360 | lea ebp, [ebp*3] |
Line 5384... | Line 5392... | ||
5384 | jnz .start_x |
5392 | jnz .start_x |
5385 | pop edx ecx |
5393 | pop edx ecx |
5386 | dec ebx |
5394 | dec ebx |
5387 | dec edx |
5395 | dec edx |
5388 | jnz .start_y |
5396 | jnz .start_y |
- | 5397 | ||
- | 5398 | .exit: |
|
5389 | popad |
5399 | popad |
5390 | ret |
5400 | ret |
5391 | ;----------------------------------------------------------------------------- |
5401 | ;----------------------------------------------------------------------------- |
5392 | align 4 |
5402 | align 4 |
5393 | syscall_putarea_backgr: |
5403 | syscall_putarea_backgr: |