cpu/x86/smm: Retype variables
Change-Id: I85750282ab274f52bc176a1ac151ef2f9e0dd15d Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/58697 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
This commit is contained in:
committed by
Kyösti Mälkki
parent
a0696645b0
commit
cfd3224197
@@ -777,7 +777,7 @@ static enum cb_err install_relocation_handler(int num_cpus, size_t real_save_sta
|
||||
if (mp_state.ops.adjust_smm_params != NULL)
|
||||
mp_state.ops.adjust_smm_params(&smm_params, 0);
|
||||
|
||||
if (smm_setup_relocation_handler((void *)perm_smbase, &smm_params)) {
|
||||
if (smm_setup_relocation_handler(perm_smbase, &smm_params)) {
|
||||
printk(BIOS_ERR, "%s: smm setup failed\n", __func__);
|
||||
return CB_ERR;
|
||||
}
|
||||
@@ -813,7 +813,7 @@ static enum cb_err install_permanent_handler(int num_cpus, uintptr_t smbase,
|
||||
|
||||
printk(BIOS_DEBUG, "Installing permanent SMM handler to 0x%08lx\n", smbase);
|
||||
|
||||
if (smm_load_module((void *)smbase, smsize, &smm_params))
|
||||
if (smm_load_module(smbase, smsize, &smm_params))
|
||||
return CB_ERR;
|
||||
|
||||
adjust_smm_apic_id_map(&smm_params);
|
||||
|
Reference in New Issue
Block a user