summaryrefslogtreecommitdiff
path: root/src/cpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu')
-rw-r--r--src/cpu/x86/smm/smm_module_loaderv2.c4
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 4bc385fc85..14ed9b89eb 100644
--- a/src/cpu/x86/smm/smm_module_loaderv2.c
+++ b/src/cpu/x86/smm/smm_module_loaderv2.c
@@ -448,8 +448,8 @@ static int smm_module_setup_stub(void *smbase, size_t smm_size,
stub_params->runtime.save_state_size = params->per_cpu_save_state_size;
stub_params->runtime.num_cpus = params->num_concurrent_stacks;
- printk(BIOS_DEBUG, "%s: stack_end = 0x%x\n",
- __func__, stub_params->runtime.smbase);
+ printk(BIOS_DEBUG, "%s: stack_end = 0x%lx\n",
+ __func__, stub_params->stack_top - total_stack_size);
printk(BIOS_DEBUG,
"%s: stack_top = 0x%x\n", __func__, stub_params->stack_top);
printk(BIOS_DEBUG, "%s: stack_size = 0x%x\n",