x86: Add processor functions to halt and get stack pointer
authorSimon Glass <sjg@chromium.org>
Tue, 11 Nov 2014 01:00:24 +0000 (18:00 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 21 Nov 2014 06:24:12 +0000 (07:24 +0100)
commit21b9b14b49b742c3ee70f819aab3918f517bf0b8
tree8ac47249a8ff2acc57db96ee24e5a603f4d00ea0
parent880a3cc4381ac0e2e39ce3313e267fb3e297bc3f
x86: Add processor functions to halt and get stack pointer

Add a function to get the stack pointer and another to halt the CPU.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/processor.h