From a16cd9cddaf254d3141cb098ab9d1d4b365799d4 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Thu, 16 Jun 2016 00:40:16 +0300 Subject: ACPI S3: Move SMP trampoline recovery MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No need to make low memory backup unless we are on S3 resume path. Hide those details from ACPI. Change-Id: Ic08b6d70c7895b094afdb3c77e020ff37ad632a1 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/15241 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/arch/x86/acpi.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/arch/x86/acpi.c') diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c index cc6d2ad55e..d75f969619 100644 --- a/src/arch/x86/acpi.c +++ b/src/arch/x86/acpi.c @@ -1127,12 +1127,6 @@ void *acpi_find_wakeup_vector(void) return wake_vec; } -#if CONFIG_SMP -extern char *lowmem_backup; -extern char *lowmem_backup_ptr; -extern int lowmem_backup_size; -#endif - #define WAKEUP_BASE 0x600 void (*acpi_do_wakeup)(uintptr_t vector, u32 backup_source, u32 backup_target, @@ -1155,15 +1149,6 @@ void acpi_jump_to_wakeup(void *vector) } } -#if CONFIG_SMP - // FIXME: This should go into the ACPI backup memory, too. No pork sausages. - /* - * Just restore the SMP trampoline and continue with wakeup on - * assembly level. - */ - memcpy(lowmem_backup_ptr, lowmem_backup, lowmem_backup_size); -#endif - /* Copy wakeup trampoline in place. */ memcpy((void *)WAKEUP_BASE, &__wakeup, __wakeup_size); -- cgit v1.2.3