cpu/x86/smm_stub.S: Drop smm_runtime from the stub
The parameters that the permanent handler requires are pushed directly to the permanent handlers relocatable module params. The paremeters that the relocation handler requires are not passed on via arguments but are copied inside the ramstage. This is ok as the relocation handler calls into ramstage. Change-Id: Ice311d05e2eb0e95122312511d83683d7f0dee58 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50767 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
6f9b1a9049
commit
50e849fc9b
@@ -64,7 +64,6 @@ struct smm_runtime {
|
||||
|
||||
struct smm_module_params {
|
||||
size_t cpu;
|
||||
const struct smm_runtime *runtime;
|
||||
/* A canary value that has been placed at the end of the stack.
|
||||
* If (uintptr_t)canary != *canary then a stack overflow has occurred.
|
||||
*/
|
||||
@@ -88,7 +87,6 @@ struct smm_stub_params {
|
||||
u8 apic_id_to_cpu[CONFIG_MAX_CPUS];
|
||||
/* STM's 32bit entry into SMI handler */
|
||||
u32 start32_offset;
|
||||
struct smm_runtime runtime;
|
||||
} __packed;
|
||||
|
||||
/* smm_handler_t is called with arg of smm_module_params pointer. */
|
||||
|
Reference in New Issue
Block a user