2011-12-11 03:45:04 +04:00
|
|
|
/* vim: tabstop=4 shiftwidth=4 noexpandtab
|
|
|
|
*/
|
2011-02-20 04:27:46 +03:00
|
|
|
#ifndef BOOT_H
|
|
|
|
#define BOOT_H
|
|
|
|
/*
|
|
|
|
* Boot Information Types
|
|
|
|
* Used in the kernel boot process to determine
|
|
|
|
* how we booted and where we can get BIOS
|
|
|
|
* information from that bootloader.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
#include <system.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Multiboot
|
|
|
|
* A format managed by GNU and used in GRUB.
|
|
|
|
* Also supported natively by QEMU and a few
|
|
|
|
* other emulators.
|
|
|
|
*/
|
|
|
|
#include <multiboot.h>
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Boot Types
|
|
|
|
*/
|
|
|
|
enum BOOTMODE {
|
|
|
|
unknown,
|
|
|
|
mrboots,
|
|
|
|
multiboot
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* BOOT_H */
|