summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2020-12-03 11:02:42 +0100
committerArthur Heymans <arthur@aheymans.xyz>2020-12-04 17:20:30 +0000
commit9ddd9002cc03c7b50689b80ef6b7a97e9d48fbeb (patch)
tree35e3319ab4661d3fe170052d9f381a518ec90e00 /src/include/cpu
parent161d809bc65bd95594ba1e712bfed31d66a2d546 (diff)
cpu/x86/smm_module_loaderv2: Fix compiling for x86_64
Change-Id: I9288ede88f822ff78dd9cb91020451dc935203a0 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/48263 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Christian Walter <christian.walter@9elements.com>
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/x86/smm.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/cpu/x86/smm.h b/src/include/cpu/x86/smm.h
index 6cf6f8290e..6dfe08df1a 100644
--- a/src/include/cpu/x86/smm.h
+++ b/src/include/cpu/x86/smm.h
@@ -150,10 +150,10 @@ struct smm_loader_params {
/* The following are only used by X86_SMM_LOADER_VERSION2 */
#if CONFIG(X86_SMM_LOADER_VERSION2)
- unsigned int smm_entry;
- unsigned int smm_main_entry_offset;
- unsigned int smram_start;
- unsigned int smram_end;
+ uintptr_t smm_entry;
+ uintptr_t smm_main_entry_offset;
+ uintptr_t smram_start;
+ uintptr_t smram_end;
#endif
};