EFI requests support for newreloc
This commit is contained in:
parent
dae84898b2
commit
91b58e6b74
12 changed files with 399 additions and 86 deletions
|
@ -41,10 +41,18 @@ void grub_cpu_relocator_jumper (void *rels, grub_addr_t addr);
|
|||
|
||||
#ifdef GRUB_MACHINE_IEEE1275
|
||||
#define GRUB_RELOCATOR_HAVE_FIRMWARE_REQUESTS 1
|
||||
#define GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT_LOG 0
|
||||
#elif defined (GRUB_MACHINE_EFI)
|
||||
#define GRUB_RELOCATOR_HAVE_FIRMWARE_REQUESTS 1
|
||||
#define GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT_LOG 12
|
||||
#else
|
||||
#define GRUB_RELOCATOR_HAVE_FIRMWARE_REQUESTS 0
|
||||
#endif
|
||||
|
||||
#if GRUB_RELOCATOR_HAVE_FIRMWARE_REQUESTS
|
||||
#define GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT (1 << GRUB_RELOCATOR_FIRMWARE_REQUESTS_QUANT_LOG)
|
||||
#endif
|
||||
|
||||
struct grub_relocator_mmap_event
|
||||
{
|
||||
enum {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue