ntldr bootcheck
This commit is contained in:
parent
c5c8cf354c
commit
0101a723ce
3 changed files with 22 additions and 3 deletions
4
grub-core/tests/boot/ntldr.cfg
Normal file
4
grub-core/tests/boot/ntldr.cfg
Normal file
|
@ -0,0 +1,4 @@
|
|||
ntldr /ntldr.bin
|
||||
boot
|
||||
# Shouln't happen
|
||||
halt
|
|
@ -39,8 +39,14 @@ serialmsg:
|
|||
1:
|
||||
ret
|
||||
|
||||
cont:
|
||||
cont:
|
||||
#ifdef TARGET_NTLDR
|
||||
movw $0x2000, %ax
|
||||
#elif defined (TARGET_CHAINLOADER)
|
||||
xorw %ax, %ax
|
||||
#else
|
||||
#error unsupported target
|
||||
#endif
|
||||
movw %ax, %ds
|
||||
lea message, %si
|
||||
call serialmsg
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue