diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-02-15 19:39:01 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-19 11:33:28 +0000 |
commit | 478f3d8f5e5b5e506ca4c9644bfa97ad389cef7f (patch) | |
tree | ff42d0163c59c0f45bd297b362dc86fef4d80555 /src/include/mrc_cache.h | |
parent | ad0116c0327f575f0af184a2f4861848a49a0e2a (diff) |
cpu/x86/mp_init: Allow stub sizes larger than the save state size
The permanent handler module argument 'save_state_size' now holds the
meaning of the real save state size which is then substracted from the
CPUs save state 'top' to get the save state base.
TESTED with qemu Q35 on x86_64 where the stub size exceeds the AMD64
save state size.
Change-Id: I55d7611a17b6d0a39aee1c56318539232a9bb781
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50770
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/include/mrc_cache.h')
0 files changed, 0 insertions, 0 deletions