kfreebsd-aout bootchecks

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-08-28 16:21:45 +02:00
parent 0101a723ce
commit 9bd44ab21a
3 changed files with 20 additions and 5 deletions

View file

@ -0,0 +1,4 @@
kfreebsd /kfreebsd.aout
boot
# Shouln't happen
halt

View file

@ -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 */