aboutsummaryrefslogtreecommitdiff
path: root/src/include/cpu/x86
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-07-12 09:03:22 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-26 21:37:35 +0000
commit5817c56d193515d39f402ac95104b10f6de6e41f (patch)
tree5f15ea89efcbc7514ce7b8b5a2dcd7245ec3c2da /src/include/cpu/x86
parent722e610fbc287a44112db3cef8996ebba0343440 (diff)
src/include: Add missing includes
Change-Id: I746ea7805bae553a146130994d8174aa2e189610 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43368 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/cpu/x86')
-rw-r--r--src/include/cpu/x86/bist.h1
-rw-r--r--src/include/cpu/x86/mp.h2
-rw-r--r--src/include/cpu/x86/smi_deprecated.h2
3 files changed, 5 insertions, 0 deletions
diff --git a/src/include/cpu/x86/bist.h b/src/include/cpu/x86/bist.h
index 9535e69781..eb34c97e34 100644
--- a/src/include/cpu/x86/bist.h
+++ b/src/include/cpu/x86/bist.h
@@ -2,6 +2,7 @@
#define CPU_X86_BIST_H
#include <console/console.h>
+#include <stdint.h>
static inline void report_bist_failure(u32 bist)
{
diff --git a/src/include/cpu/x86/mp.h b/src/include/cpu/x86/mp.h
index 04f7804d74..b2704eb5b0 100644
--- a/src/include/cpu/x86/mp.h
+++ b/src/include/cpu/x86/mp.h
@@ -5,6 +5,8 @@
#include <arch/smp/atomic.h>
#include <cpu/x86/smm.h>
+#include <stddef.h>
+#include <stdint.h>
#define CACHELINE_SIZE 64
diff --git a/src/include/cpu/x86/smi_deprecated.h b/src/include/cpu/x86/smi_deprecated.h
index d7f3c7fd9e..c20f21baf5 100644
--- a/src/include/cpu/x86/smi_deprecated.h
+++ b/src/include/cpu/x86/smi_deprecated.h
@@ -3,6 +3,8 @@
#ifndef __X86_SMI_DEPRECATED_H__
#define __X86_SMI_DEPRECATED_H__
+#include <stdint.h>
+
#if CONFIG(PARALLEL_MP) || !CONFIG(HAVE_SMI_HANDLER)
/* Empty stubs for platforms without SMI handlers. */
static inline void smm_init(void) { }