diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2020-11-01 21:06:39 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-11-16 12:07:56 +0000 |
commit | 81b88a1963ce44418c814c8107440429784d0f9c (patch) | |
tree | 2cc7c9b9886e511895d0d44a3d33e96c6b0d1ff6 /src | |
parent | b17f11e19d50ea0c34eabdc4c7189291fb96536a (diff) | |
download | coreboot-81b88a1963ce44418c814c8107440429784d0f9c.tar.gz coreboot-81b88a1963ce44418c814c8107440429784d0f9c.tar.bz2 coreboot-81b88a1963ce44418c814c8107440429784d0f9c.zip |
cpu/x86/smm/smm_module_loaderv2: Properly print stack_end
Change-Id: I2b8c54fd3851d1c2a9f4c3c36828922067bec79f
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47071
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/cpu/x86/smm/smm_module_loaderv2.c | 4 |
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 4bc385fc85e9..14ed9b89eb77 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", |