summaryrefslogtreecommitdiffstats
path: root/sys/i386/acpica/acpi_wakeup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/acpica/acpi_wakeup.c')
-rw-r--r--sys/i386/acpica/acpi_wakeup.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/i386/acpica/acpi_wakeup.c b/sys/i386/acpica/acpi_wakeup.c
index 9a11f42..adf366e 100644
--- a/sys/i386/acpica/acpi_wakeup.c
+++ b/sys/i386/acpica/acpi_wakeup.c
@@ -61,6 +61,7 @@ __FBSDID("$FreeBSD$");
#define vm_page_unlock_queues()
#endif
+extern u_int32_t acpi_no_reset_video;
extern void initializecpu(void);
static struct region_descriptor r_idt, r_gdt, *p_gdt;
@@ -232,6 +233,8 @@ acpi_sleep_machdep(struct acpi_softc *sc, int state)
WAKECODE_FIXUP(previous_cr3, u_int32_t, r_cr3);
WAKECODE_FIXUP(previous_cr4, u_int32_t, r_cr4);
+ WAKECODE_FIXUP(no_reset_video, u_int32_t, acpi_no_reset_video);
+
WAKECODE_FIXUP(previous_tr, u_int16_t, r_tr);
WAKECODE_BCOPY(previous_gdt, struct region_descriptor, r_gdt);
WAKECODE_FIXUP(previous_ldt, u_int16_t, r_ldt);
OpenPOWER on IntegriCloud