]> git.baikalelectronics.ru Git - uboot.git/commit
x86: Adjust search range for sysinfo table
authorSimon Glass <sjg@chromium.org>
Thu, 4 May 2023 22:54:55 +0000 (16:54 -0600)
committerBin Meng <bmeng@tinylab.org>
Thu, 11 May 2023 02:25:29 +0000 (10:25 +0800)
commit7d3296e6964f919e96f6253b37edfb30b608ed1e
treef042fb8fa46cb123911767708c67fdf1e921d1ad
parent70f5073b9d3eb22a26d96c27a94b28987791f0b2
x86: Adjust search range for sysinfo table

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@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/cpu.c