[U-Boot] [PATCH 2/3] x86: Don't copy the cpu_call64() function to a hardcoded address
Simon Glass
sjg at chromium.org
Sat Feb 2 06:06:15 UTC 2019
On Thu, 31 Jan 2019 at 09:17, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> Before jumping to 64-bit U-Boot proper, SPL copies the cpu_call64()
> function to a hardcoded address 0x3000000. This can have potential
> conflicts with application usage. Switch the destination address
> to be allocated from the heap to avoid such risk.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> arch/x86/cpu/i386/call64.S | 4 ++++
> arch/x86/cpu/i386/cpu.c | 11 ++++++++---
> 2 files changed, 12 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list