diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2015-07-30 16:28:44 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2015-10-30 18:39:37 +0100 |
commit | 01327d185b5b9a2d9848c0097f6477ebe94c97ec (patch) | |
tree | 65d160d1503b2f8142cb57a831a9dedabd36d319 /src/cpu/x86/smm/smihandler.c | |
parent | 16643aa686dafb3e9b70e74856d77e9d863e6fd0 (diff) | |
download | coreboot-01327d185b5b9a2d9848c0097f6477ebe94c97ec.tar.xz |
smm: 64bit fixes
Change-Id: I35dab4e66514948aafa912d993fb8d42c5a520a0
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/11089
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/cpu/x86/smm/smihandler.c')
-rw-r--r-- | src/cpu/x86/smm/smihandler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/x86/smm/smihandler.c b/src/cpu/x86/smm/smihandler.c index 9c282c3d56..295e5a8aee 100644 --- a/src/cpu/x86/smm/smihandler.c +++ b/src/cpu/x86/smm/smihandler.c @@ -109,7 +109,7 @@ static void smi_restore_pci_address(void) outl(pci_orig, 0xcf8); } -static inline void *smm_save_state(u32 base, int arch_offset, int node) +static inline void *smm_save_state(uintptr_t base, int arch_offset, int node) { base += SMM_SAVE_STATE_BEGIN(arch_offset) - (node * 0x400); return (void *)base; |