[U-Boot] [PATCH 3/3] x86: Use the existing GDT in the ROM for 64-bit U-Boot proper

Bin Meng bmeng.cn at gmail.com
Tue Feb 12 06:23:56 UTC 2019


On Sat, Feb 2, 2019 at 2:06 PM Simon Glass <sjg at chromium.org> wrote:
>
> 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>

applied to u-boot-x86, thanks!


More information about the U-Boot mailing list