[U-Boot] [PATCH 3/3] x86: Use the existing GDT in the ROM for 64-bit U-Boot proper
Simon Glass
sjg at chromium.org
Sat Feb 2 06:06:18 UTC 2019
Hi Bin,
On Thu, 31 Jan 2019 at 09:17, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> It is unnecessary to use a RAM version GDT for 64-bit U-Boot proper.
> In fact we can just use the ROM version directly, which not only
> eliminates the risk of being overwritten by application, but also
> removes the complexity of patching the cpu_call64().
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> arch/x86/cpu/i386/cpu.c | 14 --------------
> 1 file changed, 14 deletions(-)
I am not sure what issue I had with this, but I'm pleased that this works.
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list