Re: Increasing BOOTINFO_MAXSIZE
Kimihiro Nonaka <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.i386,gmane.os.netbsd.ports.x86-64 |
|---|---|
| Message-ID | <CAM+xf6An3y8euBj8gNAUg9MwGvxwsO3PuN7uUUbUtmd6SWukww@mail.gmail.com> |
2018-04-11 19:48 GMT+09:00 Kimihiro Nonaka <[email protected]>: > I found that the size of the bootinfo is not enough with UEFI VM on > VMware ESXi 6.5. > The memory map entries is used 4.5 KiB of bootinfo, uses 5.1 KiB of > bootinfo in total. > I would like to increase BOOTINFO_MAXSIZE to 8KiB. > Any objections? > > diff --git a/sys/arch/x86/include/bootinfo.h b/sys/arch/x86/include/bootinfo.h > index 889746f49d6..ecc056ba31b 100644 > --- a/sys/arch/x86/include/bootinfo.h > +++ b/sys/arch/x86/include/bootinfo.h > @@ -251,7 +251,7 @@ struct btinfo_efimemmap { > > #ifdef _KERNEL > > -#define BOOTINFO_MAXSIZE 4096 > +#define BOOTINFO_MAXSIZE 8192 > > #ifndef _LOCORE > /* Commited. Regards, -- Kimihiro Nonaka