x86: Add support for starting 64-bit kernel
authorSimon Glass <sjg@chromium.org>
Fri, 10 Oct 2014 14:21:55 +0000 (08:21 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 29 Oct 2014 02:43:47 +0000 (20:43 -0600)
commit200182a748afd430da97b707dc5dff53c3147b5f
tree6552542960e3ed576811f85ba8431d1566542c32
parent92cc94a1fe8e7a3ec78e993ea1ff1dd0bbaa5c36
x86: Add support for starting 64-bit kernel

Add code to jump to a 64-bit Linux kernel. We need to set up a flat page
table structure, a new GDT and then go through a few hoops in the right
order.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/Makefile
arch/x86/cpu/call64.S [new file with mode: 0644]
arch/x86/cpu/cpu.c
arch/x86/include/asm/cpu.h