fix disk_cache.inc by dunkaist

git-svn-id: svn://kolibrios.org@4442 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
CleverMouse 2014-01-13 11:06:54 +00:00
parent 75ff73eb60
commit 85b2b4bfbe

View File

@ -231,7 +231,7 @@ end virtual
; If failed, save error code.
test eax, eax
jz @f
mov [.error_code], eax
mov [.error_code+.local_vars2_size], eax
@@:
; 11. Copy data for the caller.
; 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
; stores number of sectors to be copied.
push edi
push [.current_num_sectors]
push [.current_num_sectors+4]
.store_to_cache:
; 12c. For each sector, call the lookup function with adding to the cache, if not yet.
mov eax, [.sector_lo+.local_vars2_size+8]