From 2e50142f62c20c437100ac3a1a1a50720a31a9d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Fri, 21 Apr 2017 08:43:09 +0300 Subject: i82801dx/gx/ix/jx: Add low-memory backup for S3 path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SMM relocation code overwrite low memory owned by OS. Change-Id: Ifa3d28bed3d3db65b0707bde62ae2b424a231f1a Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/19405 Reviewed-by: Arthur Heymans Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/cpu/x86/lapic/lapic_cpu_init.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/cpu/x86/lapic') 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) +{ +} -- cgit v1.2.3