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

2019-02-11 Thread Bin Meng
On Sat, Feb 2, 2019 at 2:06 PM Simon Glass wrote: > > Hi Bin, > > On Thu, 31 Jan 2019 at 09:17, Bin Meng 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

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

2019-02-01 Thread Simon Glass
Hi Bin, On Thu, 31 Jan 2019 at 09:17, Bin Meng 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

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

2019-01-31 Thread Bin Meng
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 ---