BPB patching support (untested)

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-04-05 14:40:15 +02:00
parent 850e937329
commit b38a498394
6 changed files with 99 additions and 59 deletions

View file

@ -32,6 +32,7 @@
#include <grub/video.h>
#include <grub/mm.h>
#include <grub/cpu/relocator.h>
#include <grub/machine/chainloader.h>
static grub_dl_t my_mod;
static struct grub_relocator *rel;
@ -110,6 +111,7 @@ grub_cmd_ntldr (grub_command_t cmd __attribute__ ((unused)),
grub_device_close (dev);
goto fail;
}
grub_chainloader_patch_bpb (bs, dev, edx);
}
if (dev)