
17 Jan
2017
17 Jan
'17
4:26 a.m.
On Mon, Jan 16, 2017 at 10:03 PM, Simon Glass sjg@chromium.org wrote:
At present this is just an ordinary variable. We may consider making it a fixed register in the future.
Signed-off-by: Simon Glass sjg@chromium.org
Changes in v3:
- Add a TODO to look at using a fixed register for gd on x86_64
- Expand the TODO about the necessary printch() call
- Add a required debug_uart.h #include in this patch
Changes in v2: None
arch/x86/cpu/x86_64/cpu.c | 27 +++++++++++++++++++++++++++ arch/x86/include/asm/global_data.h | 7 ++++++- 2 files changed, 33 insertions(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com