diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-03-16 14:26:26 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-18 08:13:19 +0000 |
commit | 166d2ac901e2faafa84c88f46cdeb774dd1123bd (patch) | |
tree | e240f0a4bc669754be446695c80f9fda25bbcfdf /src/include | |
parent | 5dfb3314b436fd5edf6f65112f34d7d8e3f1a162 (diff) |
cpu/x86/smm_stub.S: Drop unused module_handler parameter
Change-Id: I15b433483c36cce04816e8895789997d91702484
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51530
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/cpu/x86/smm.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h index 30accb3041..692da5c7d7 100644 --- a/src/include/cpu/x86/smm.h +++ b/src/include/cpu/x86/smm.h @@ -72,7 +72,6 @@ struct smm_runtime { } __packed; struct smm_module_params { - void *arg; size_t cpu; const struct smm_runtime *runtime; /* A canary value that has been placed at the end of the stack. @@ -87,7 +86,6 @@ 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; @@ -131,9 +129,6 @@ static inline bool smm_points_to_smram(const void *ptr, const size_t len) * - num_concurrent_save_states - number of concurrent cpus needing save state * space * - handler - optional handler to call. Only used during SMM relocation setup. - * - handler_arg - optional argument to handler for SMM relocation setup. For - * loading the SMM module, the handler_arg is filled in with - * the address of the module's parameters (if present). * - runtime - this field is a result only. The SMM runtime location is filled * into this field so the code doing the loading can manipulate the * runtime's assumptions. e.g. updating the APIC id to CPU map to @@ -154,7 +149,6 @@ struct smm_loader_params { size_t num_concurrent_save_states; smm_handler_t handler; - void *handler_arg; struct smm_runtime *runtime; |