forked from KolibriOS/kolibrios
* 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:
@@ -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
|
||||
|
Reference in New Issue
Block a user