fallback to CHS if LBA fails in stage1.
This commit is contained in:
parent
8bc82ce256
commit
9f88649c8c
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
1999-11-13 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||
|
||||
From Pavel Roskin:
|
||||
* stage1/stage1.S (lba_mode): Jump to chs_mode if INT 13 AH=42h
|
||||
fails.
|
||||
|
||||
1999-11-12 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
|
||||
|
||||
Do not use the device map file unless --device-map is specified.
|
||||
|
|
|
@ -200,8 +200,8 @@ lba_mode:
|
|||
movb $0x42, %ah
|
||||
int $0x13
|
||||
|
||||
/* should use CHS instead? */
|
||||
jc read_error
|
||||
/* LBA read is not supported, so fallback to CHS. */
|
||||
jc chs_mode
|
||||
|
||||
movw $STAGE1_BUFFERSEG, %bx
|
||||
jmp copy_buffer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue