summaryrefslogtreecommitdiff
path: root/src/mainboard/emulation/qemu-q35
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2022-11-11 19:46:05 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2022-11-15 21:09:36 +0000
commit93d759f0be8fcef9950a15e9371c74348783f8d5 (patch)
treea15731d7227122003edc56b99c05fc50f2303237 /src/mainboard/emulation/qemu-q35
parent974f7b23cbec889e4b29617d191d2c37c3a9b56f (diff)
mb/emulation/qemu-q35: Cleanup includes
Change-Id: Ib36d855e1dce8eb800bc077c1e444768c444fef8 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69524 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/emulation/qemu-q35')
-rw-r--r--src/mainboard/emulation/qemu-q35/cpu.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mainboard/emulation/qemu-q35/cpu.c b/src/mainboard/emulation/qemu-q35/cpu.c
index 698cd9c92a..c84b756587 100644
--- a/src/mainboard/emulation/qemu-q35/cpu.c
+++ b/src/mainboard/emulation/qemu-q35/cpu.c
@@ -1,13 +1,14 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/console.h>
-#include <cpu/x86/mp.h>
-#include <stddef.h>
-#include <stdint.h>
-#include <cpu/intel/smm_reloc.h>
#include <cpu/amd/amd64_save_state.h>
+#include <cpu/intel/smm_reloc.h>
#include <cpu/x86/legacy_save_state.h>
+#include <cpu/x86/mp.h>
+#include <cpu/x86/smm.h>
#include <mainboard/emulation/qemu-i440fx/fw_cfg.h>
+#include <stddef.h>
+#include <stdint.h>
static void get_smm_info(uintptr_t *perm_smbase, size_t *perm_smsize,
size_t *smm_save_state_size)