diff --git a/src/arch/x86/cpu_common.c b/src/arch/x86/cpu_common.c index 302a14e6d2..e674afae30 100644 --- a/src/arch/x86/cpu_common.c +++ b/src/arch/x86/cpu_common.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include #if ENV_X86_32 /* Standard macro to see if a specific flag is changeable */ diff --git a/src/arch/x86/ebda.c b/src/arch/x86/ebda.c index e576a14791..e835fcefef 100644 --- a/src/arch/x86/ebda.c +++ b/src/arch/x86/ebda.c @@ -3,7 +3,7 @@ #include #include #include -#include +#include #define X86_BDA_SIZE 0x200 #define X86_BDA_BASE ((void *)0x400) diff --git a/src/arch/x86/mpspec.c b/src/arch/x86/mpspec.c index 739d185bf0..d94308ee18 100644 --- a/src/arch/x86/mpspec.c +++ b/src/arch/x86/mpspec.c @@ -1,14 +1,17 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include -#include -#include +#include #include #include -#include +#include #include #include +#include +#include +#include #include +#include +#include /* Initialize the specified "mc" struct with initial values. */ void mptable_init(struct mp_config_table *mc) diff --git a/src/arch/x86/null_breakpoint.c b/src/arch/x86/null_breakpoint.c index 70b94b6909..43e3727448 100644 --- a/src/arch/x86/null_breakpoint.c +++ b/src/arch/x86/null_breakpoint.c @@ -1,9 +1,10 @@ /* SPDX-License-Identifier: GPL-2.0-only */ + #include #include #include #include -#include +#include static struct breakpoint_handle null_deref_bp; static struct breakpoint_handle null_fetch_bp; diff --git a/src/arch/x86/post.c b/src/arch/x86/post.c index 3c1ca43170..908cc3bd36 100644 --- a/src/arch/x86/post.c +++ b/src/arch/x86/post.c @@ -1,9 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include +#include #include #include -#include -#include void arch_post_code(uint8_t value) { diff --git a/src/arch/x86/postcar_loader.c b/src/arch/x86/postcar_loader.c index c6a128bb69..be4a235bf1 100644 --- a/src/arch/x86/postcar_loader.c +++ b/src/arch/x86/postcar_loader.c @@ -9,9 +9,10 @@ #include #include #include +#include #include #include -#include +#include static size_t var_mtrr_ctx_size(void) { diff --git a/src/arch/x86/rdrand.c b/src/arch/x86/rdrand.c index 5374933b5e..985aeba6c1 100644 --- a/src/arch/x86/rdrand.c +++ b/src/arch/x86/rdrand.c @@ -1,6 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include +#include /* * Intel recommends that applications attempt 10 retries in a tight loop