diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-03-02 12:18:25 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-19 11:33:08 +0000 |
commit | 1afe20b1b2e6e7e9be3df5e21cffbdf8ee5a4c3f (patch) | |
tree | 45735dff234081bcf987259b8b0695e511685ce9 /src/cpu | |
parent | 64d9e8568172402d8078c2c80ba994da16f4745b (diff) |
cpu/x86/smm/smm_module_loaderv2.c: Constify setup_stub()
Change-Id: I6648d0710bc0ba71cfbaaf4db7a8c1f33bbc9b35
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51183
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/x86/smm/smm_module_loaderv2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/x86/smm/smm_module_loaderv2.c b/src/cpu/x86/smm/smm_module_loaderv2.c index 886041dbba..3bf77a93ab 100644 --- a/src/cpu/x86/smm/smm_module_loaderv2.c +++ b/src/cpu/x86/smm/smm_module_loaderv2.c @@ -324,9 +324,9 @@ static int smm_stub_place_staggered_entry_points(char *base, * This module setup code works for the default (0x30000) SMM handler setup and the * permanent SMM handler. */ -static int smm_module_setup_stub(void *smbase, size_t smm_size, +static int smm_module_setup_stub(void *const smbase, const size_t smm_size, struct smm_loader_params *params, - void *fxsave_area) + void *const fxsave_area) { size_t total_save_state_size; size_t smm_stub_size; |