Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/acpi Make sure %edx is clear.
details: https://anonhg.NetBSD.org/src/rev/83342f8cc9fe
branches: trunk
changeset: 356408:83342f8cc9fe
user: maxv <maxv%NetBSD.org@localhost>
date: Sat Sep 23 10:18:49 2017 +0000
description:
Make sure %edx is clear.
diffstat:
sys/arch/amd64/acpi/acpi_wakeup_low.S | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 417ba0a8f1bf -r 83342f8cc9fe sys/arch/amd64/acpi/acpi_wakeup_low.S
--- a/sys/arch/amd64/acpi/acpi_wakeup_low.S Sat Sep 23 10:00:00 2017 +0000
+++ b/sys/arch/amd64/acpi/acpi_wakeup_low.S Sat Sep 23 10:18:49 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_wakeup_low.S,v 1.5 2016/07/24 13:04:58 maxv Exp $ */
+/* $NetBSD: acpi_wakeup_low.S,v 1.6 2017/09/23 10:18:49 maxv Exp $ */
/*-
* Copyright (c) 2007 Joerg Sonnenberger <joerg%netbsd.org@localhost>
@@ -52,6 +52,7 @@
movl $MSR_EFER,%ecx
movl ACPI_SUSPEND_EFER(%r8),%eax
+ movl $0,%edx
wrmsr
movl $MSR_FSBASE,%ecx
Home |
Main Index |
Thread Index |
Old Index