Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Increasing BOOTINFO_MAXSIZE



2018-04-11 19:48 GMT+09:00 Kimihiro Nonaka <nonakap%gmail.com@localhost>:

> 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


Home | Main Index | Thread Index | Old Index