forked from KolibriOS/kolibrios
fix disk_cache.inc by dunkaist
git-svn-id: svn://kolibrios.org@4442 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
75ff73eb60
commit
85b2b4bfbe
@ -231,7 +231,7 @@ end virtual
|
|||||||
; If failed, save error code.
|
; If failed, save error code.
|
||||||
test eax, eax
|
test eax, eax
|
||||||
jz @f
|
jz @f
|
||||||
mov [.error_code], eax
|
mov [.error_code+.local_vars2_size], eax
|
||||||
@@:
|
@@:
|
||||||
; 11. Copy data for the caller.
|
; 11. Copy data for the caller.
|
||||||
; Note that buffer in edi is advanced automatically.
|
; Note that buffer in edi is advanced automatically.
|
||||||
@ -250,7 +250,7 @@ end virtual
|
|||||||
; 12b. Prepare for the loop: save edi and create a local variable that
|
; 12b. Prepare for the loop: save edi and create a local variable that
|
||||||
; stores number of sectors to be copied.
|
; stores number of sectors to be copied.
|
||||||
push edi
|
push edi
|
||||||
push [.current_num_sectors]
|
push [.current_num_sectors+4]
|
||||||
.store_to_cache:
|
.store_to_cache:
|
||||||
; 12c. For each sector, call the lookup function with adding to the cache, if not yet.
|
; 12c. For each sector, call the lookup function with adding to the cache, if not yet.
|
||||||
mov eax, [.sector_lo+.local_vars2_size+8]
|
mov eax, [.sector_lo+.local_vars2_size+8]
|
||||||
|
Loading…
Reference in New Issue
Block a user