summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2016-06-16 00:40:16 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2016-06-22 11:31:35 +0200
commita16cd9cddaf254d3141cb098ab9d1d4b365799d4 (patch)
tree6788d389ded84cf1cee27b9ebb437fb022bf0f1e /src/arch
parent65cc526f6f47755b4492cd9fc2134fb2dd067e90 (diff)
downloadcoreboot-a16cd9cddaf254d3141cb098ab9d1d4b365799d4.tar.xz
ACPI S3: Move SMP trampoline recovery
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 <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/15241 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/acpi.c15
1 files changed, 0 insertions, 15 deletions
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);