Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/i386/acpi PTDpaddr -> PDPpaddr



details:   https://anonhg.NetBSD.org/src/rev/6a7cc4ebc978
branches:  trunk
changeset: 569643:6a7cc4ebc978
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Aug 27 03:51:34 2004 +0000

description:
PTDpaddr -> PDPpaddr

diffstat:

 sys/arch/i386/acpi/acpi_wakeup.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 387d881ebd54 -r 6a7cc4ebc978 sys/arch/i386/acpi/acpi_wakeup.c
--- a/sys/arch/i386/acpi/acpi_wakeup.c  Fri Aug 27 01:13:31 2004 +0000
+++ b/sys/arch/i386/acpi/acpi_wakeup.c  Fri Aug 27 03:51:34 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_wakeup.c,v 1.12 2004/06/14 18:09:35 tshiozak Exp $        */
+/*     $NetBSD: acpi_wakeup.c,v 1.13 2004/08/27 03:51:34 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.12 2004/06/14 18:09:35 tshiozak Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.13 2004/08/27 03:51:34 thorpej Exp $");
 
 /*-
  * Copyright (c) 2001 Takanori Watanabe <takawata%jp.freebsd.org@localhost>
@@ -321,7 +321,7 @@
                /* Execute Sleep */
 
                /* load proc 0 PTD */
-               __asm__( "movl %0,%%cr3;" : : "a" (PTDpaddr) );
+               __asm__( "movl %0,%%cr3;" : : "a" (PDPpaddr) );
 
                p_gdt = (struct region_descriptor *)(phys_wakeup+physical_gdt);
                p_gdt->rd_limit = r_gdt.rd_limit;
@@ -338,7 +338,7 @@
                 * entering to protect mode.  The current PTD will be restored
                 * in acpi_restorecpu().
                 */
-               WAKECODE_FIXUP(previous_cr3, u_int32_t, PTDpaddr);
+               WAKECODE_FIXUP(previous_cr3, u_int32_t, PDPpaddr);
 
                WAKECODE_FIXUP(previous_tr,  u_int16_t, r_tr);
                WAKECODE_BCOPY(previous_gdt, struct region_descriptor, r_gdt);



Home | Main Index | Thread Index | Old Index