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
@@ -135,7 +135,7 @@ static inline bool smm_points_to_smram(const void *ptr, const size_t len)
|
||||
* handle sparse APIC id space.
|
||||
*/
|
||||
struct smm_loader_params {
|
||||
void *stack_top;
|
||||
uintptr_t stack_top;
|
||||
size_t per_cpu_stack_size;
|
||||
size_t num_concurrent_stacks;
|
||||
|
||||
@@ -149,8 +149,8 @@ struct smm_loader_params {
|
||||
};
|
||||
|
||||
/* Both of these return 0 on success, < 0 on failure. */
|
||||
int smm_setup_relocation_handler(void * const perm_smram, struct smm_loader_params *params);
|
||||
int smm_load_module(void *smram, size_t size, struct smm_loader_params *params);
|
||||
int smm_setup_relocation_handler(const uintptr_t perm_smram, struct smm_loader_params *params);
|
||||
int smm_load_module(uintptr_t smram_base, size_t smram_size, struct smm_loader_params *params);
|
||||
|
||||
u32 smm_get_cpu_smbase(unsigned int cpu_num);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user