diff options
author | Simon Glass <sjg@chromium.org> | 2014-10-10 08:21:54 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-28 20:42:56 -0600 |
commit | 92cc94a1fe8e7a3ec78e993ea1ff1dd0bbaa5c36 (patch) | |
tree | aa5553fbc06b31b4ef61c8371490c6aad16b1a0e /arch/x86/include/asm | |
parent | dc68584b420139b8160c3b10921fdf3155f2549f (diff) |
x86: Display basic CPU information on boot
Display the type of CPU (x86 or x86_64) when starting up.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r-- | arch/x86/include/asm/cpu.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/cpu.h b/arch/x86/include/asm/cpu.h index 2938087cc1..32930bd8c5 100644 --- a/arch/x86/include/asm/cpu.h +++ b/arch/x86/include/asm/cpu.h @@ -19,4 +19,11 @@ void cpu_enable_paging_pae(ulong cr3); */ void cpu_disable_paging_pae(void); +/** + * cpu_has_64bit() - Check if the CPU has 64-bit support + * + * @return 1 if this CPU supports long mode (64-bit), 0 if not + */ +int cpu_has_64bit(void); + #endif |