[PATCH v3 02/16] x86: Adjust search range for sysinfo table

Bin Meng bmeng.cn at gmail.com
Thu May 4 15:18:24 CEST 2023


On Mon, Mar 27, 2023 at 12:16 PM Simon Glass <sjg at chromium.org> wrote:
>
> Avoid searching starting at 0 since this memory may not be available,
> e.g. if protection against NULL-pointer access is enabled. The table
> cannot be there anyway, since the first 1KB of memory was originally
> used for the interrupt table and coreboot avoids it.
>
> Start at 0x400 instead.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> (no changes since v2)
>
> Changes in v2:
> - Update commit message with more detail
> - Update code comment to mention that addresses <1KB are ignored
>
>  arch/x86/cpu/cpu.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list