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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user