Rev 2987 | Rev 3500 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2987 | Rev 3232 | ||
---|---|---|---|
Line 457... | Line 457... | ||
457 | ; 3a. Call the driver. |
457 | ; 3a. Call the driver. |
458 | mov al, DISKFUNC.close |
458 | mov al, DISKFUNC.close |
459 | stdcall disk_call_driver |
459 | stdcall disk_call_driver |
460 | ; 3b. Free the structure. |
460 | ; 3b. Free the structure. |
461 | xchg eax, esi |
461 | xchg eax, esi |
- | 462 | push ebx |
|
462 | call free |
463 | call free |
- | 464 | pop ebx |
|
463 | ; 4. Return. |
465 | ; 4. Return. |
464 | .nothing: |
466 | .nothing: |
465 | ret |
467 | ret |
Line 466... | Line 468... | ||
466 | 468 | ||
Line 624... | Line 626... | ||
624 | xor eax, eax |
626 | xor eax, eax |
625 | ret 4 |
627 | ret 4 |
Line 626... | Line 628... | ||
626 | 628 | ||
627 | ; The default implementation of DISKFUNC.adjust_cache_size. |
629 | ; The default implementation of DISKFUNC.adjust_cache_size. |
628 | disk_default_adjust_cache_size: |
630 | disk_default_adjust_cache_size: |
629 | mov eax, [esp+4] |
631 | mov eax, [esp+8] |
Line 630... | Line 632... | ||
630 | ret 4 |
632 | ret 8 |
631 | 633 | ||
632 | ; This is an internal function called from 'disk_media_changed' when a new media |
634 | ; This is an internal function called from 'disk_media_changed' when a new media |
633 | ; is detected. It creates the list of partitions for the media. |
635 | ; is detected. It creates the list of partitions for the media. |