BPB patching support (untested)
This commit is contained in:
parent
850e937329
commit
b38a498394
6 changed files with 99 additions and 59 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue