aboutsummaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/smm/smm_module_loader.c12
-rw-r--r--src/cpu/x86/smm/smm_module_loaderv2.c12
2 files changed, 0 insertions, 24 deletions
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c
index 876fde6733..a4ace43880 100644
--- a/src/cpu/x86/smm/smm_module_loader.c
+++ b/src/cpu/x86/smm/smm_module_loader.c
@@ -26,18 +26,6 @@ __attribute__((aligned(16)));
* The components are assumed to consist of one consecutive region.
*/
-/* These parameters are used by the SMM stub code. A pointer to the params
- * is also passed to the C-base handler. */
-struct smm_stub_params {
- u32 stack_size;
- u32 stack_top;
- u32 c_handler;
- u32 c_handler_arg;
- u32 fxsave_area;
- u32 fxsave_area_size;
- struct smm_runtime runtime;
-} __packed;
-
/*
* The stub is the entry point that sets up protected mode and stacks for each
* CPU. It then calls into the SMM handler module. It is encoded as an rmodule.
diff --git a/src/cpu/x86/smm/smm_module_loaderv2.c b/src/cpu/x86/smm/smm_module_loaderv2.c
index cd44f93cc9..8e02fa8316 100644
--- a/src/cpu/x86/smm/smm_module_loaderv2.c
+++ b/src/cpu/x86/smm/smm_module_loaderv2.c
@@ -27,18 +27,6 @@ __attribute__((aligned(16)));
* The components are assumed to consist of one consecutive region.
*/
-/* These parameters are used by the SMM stub code. A pointer to the params
- * is also passed to the C-base handler. */
-struct smm_stub_params {
- u32 stack_size;
- u32 stack_top;
- u32 c_handler;
- u32 c_handler_arg;
- u32 fxsave_area;
- u32 fxsave_area_size;
- struct smm_runtime runtime;
-} __packed;
-
/*
* The stub is the entry point that sets up protected mode and stacks for each
* CPU. It then calls into the SMM handler module. It is encoded as an rmodule.