* grub-core/loader/multiboot.c: Add support for multiboot kernels

quirks.
This commit is contained in:
Vladimir Serbinenko 2013-10-28 15:23:46 +01:00
parent 81afc5cce6
commit 00bfa988fc
6 changed files with 137 additions and 54 deletions

View file

@ -34,6 +34,16 @@
#include <grub/types.h>
#include <grub/err.h>
#ifndef GRUB_USE_MULTIBOOT2
typedef enum
{
GRUB_MULTIBOOT_QUIRKS_NONE = 0,
GRUB_MULTIBOOT_QUIRK_BAD_KLUDGE = 1,
GRUB_MULTIBOOT_QUIRK_MODULES_AFTER_KERNEL = 2
} grub_multiboot_quirks_t;
extern grub_multiboot_quirks_t grub_multiboot_quirks;
#endif
extern struct grub_relocator *grub_multiboot_relocator;
void grub_multiboot (int argc, char *argv[]);