diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-04-21 08:43:09 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-08-19 15:31:51 +0000 |
commit | 2e50142f62c20c437100ac3a1a1a50720a31a9d6 (patch) | |
tree | c704bd5afb96170069561364359b42e236ad89fb /src/cpu | |
parent | 0cc2ce432771a2625214973c471461e7df9c4a12 (diff) | |
download | coreboot-2e50142f62c20c437100ac3a1a1a50720a31a9d6.tar.xz |
i82801dx/gx/ix/jx: Add low-memory backup for S3 path
SMM relocation code overwrite low memory owned by OS.
Change-Id: Ifa3d28bed3d3db65b0707bde62ae2b424a231f1a
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/19405
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/x86/lapic/lapic_cpu_init.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cpu/x86/lapic/lapic_cpu_init.c b/src/cpu/x86/lapic/lapic_cpu_init.c index 3500a8ac93..c2ac51374d 100644 --- a/src/cpu/x86/lapic/lapic_cpu_init.c +++ b/src/cpu/x86/lapic/lapic_cpu_init.c @@ -587,6 +587,8 @@ void initialize_cpus(struct bus *cpu_bus) } } + smm_init_completion(); + if (is_smp_boot()) recover_lowest_1M(); } @@ -595,3 +597,7 @@ void initialize_cpus(struct bus *cpu_bus) __attribute__((weak)) void smm_init(void) { } + +__attribute__((weak)) void smm_init_completion(void) +{ +} |