Fix calculate size of cache (IDE devices). Now data do not intersect limits of the cache.

git-svn-id: svn://kolibrios.org@584 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Marat Zakiyanov (Mario79) 2007-07-21 15:59:17 +00:00
parent 59e4c92d8d
commit dfac57a317

View File

@ -358,6 +358,7 @@ calculate_for_hd:
shl ebx,9
pop eax
sub eax,ebx
dec ecx
ret
calculate_for_cd:
@ -371,6 +372,7 @@ calculate_for_cd:
shl ebx,11
pop eax
sub eax,ebx
dec ecx
ret
clear_ide_cache: