From dfac57a3179eb1e95586d35114935fcb37b406ec Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Sat, 21 Jul 2007 15:59:17 +0000 Subject: [PATCH] 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 --- kernel/trunk/detect/getcache.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/detect/getcache.inc b/kernel/trunk/detect/getcache.inc index 08a79b7488..bd5da5f8c9 100644 --- a/kernel/trunk/detect/getcache.inc +++ b/kernel/trunk/detect/getcache.inc @@ -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: