Martin Roth has submitted this change. ( https://review.coreboot.org/c/coreboot/+/68032 )
Change subject: cpu/x86/smm/smm_module_loader.c: Clean up includes ......................................................................
cpu/x86/smm/smm_module_loader.c: Clean up includes
Signed-off-by: Elyes Haouas ehaouas@noos.fr Change-Id: I36c54e62797e67c1732f8deaf8843daf35610e22 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68032 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Martin L Roth gaumless@gmail.com --- M src/cpu/x86/smm/smm_module_loader.c 1 file changed, 14 insertions(+), 5 deletions(-)
Approvals: build bot (Jenkins): Verified Martin L Roth: Looks good to me, approved
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c index 0555424..71d49ab 100644 --- a/src/cpu/x86/smm/smm_module_loader.c +++ b/src/cpu/x86/smm/smm_module_loader.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */
-#include "assert.h" #include <acpi/acpi_gnvs.h> #include <cbmem.h> #include <commonlib/helpers.h> @@ -8,12 +7,9 @@ #include <console/console.h> #include <cpu/x86/smm.h> #include <rmodule.h> -#include <security/intel/stm/SmmStm.h> -#include <stddef.h> -#include <stdint.h> #include <stdio.h> -#include <stdlib.h> #include <string.h> +#include <types.h>
#define FXSAVE_SIZE 512 #define SMM_CODE_SEGMENT_SIZE 0x10000