kfreebsd-aout bootchecks
This commit is contained in:
parent
0101a723ce
commit
9bd44ab21a
3 changed files with 20 additions and 5 deletions
4
grub-core/tests/boot/kfreebsd-aout.cfg
Normal file
4
grub-core/tests/boot/kfreebsd-aout.cfg
Normal file
|
@ -0,0 +1,4 @@
|
|||
kfreebsd /kfreebsd.aout
|
||||
boot
|
||||
# Shouln't happen
|
||||
halt
|
|
@ -1,7 +1,7 @@
|
|||
#define ASM_FILE 1
|
||||
#ifdef MULTIBOOT2
|
||||
#ifdef TARGET_MULTIBOOT2
|
||||
#include <multiboot2.h>
|
||||
#else
|
||||
#elif defined (TARGET_MULTIBOOT)
|
||||
#include <multiboot.h>
|
||||
#endif
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
|||
/* Align 32 bits boundary. */
|
||||
.align 8
|
||||
|
||||
#ifdef MULTIBOOT2
|
||||
#ifdef TARGET_MULTIBOOT2
|
||||
/* Multiboot header. */
|
||||
multiboot_header:
|
||||
/* magic */
|
||||
|
@ -26,7 +26,7 @@ multiboot_header:
|
|||
.short 0
|
||||
.long 8
|
||||
multiboot_header_end:
|
||||
#else
|
||||
#elif defined (TARGET_MULTIBOOT)
|
||||
/* Multiboot header. */
|
||||
multiboot_header:
|
||||
/* magic */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue