* hd_read doesn't add sector to cache if read error has occured

* hd read errors at boot do not hang up system

git-svn-id: svn://kolibrios.org@725 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Evgeny Grechnikov (Diamond)
2008-02-10 10:16:46 +00:00
parent 6e65ab7c45
commit ee2c4f4c94
2 changed files with 22 additions and 13 deletions

View File

@@ -62,6 +62,8 @@ hd_read:
.bios:
call bd_read
@@:
cmp [hd_error], 0
jne return_01
; lea esi,[edi*8+HD_CACHE]
; push eax
call calculate_cache_1