Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/lib Obtain CR0_PE constant from <x86/spe...
details: https://anonhg.NetBSD.org/src/rev/e61a497b0ca3
branches: trunk
changeset: 325433:e61a497b0ca3
user: jakllsch <jakllsch%NetBSD.org@localhost>
date: Tue Dec 24 19:00:56 2013 +0000
description:
Obtain CR0_PE constant from <x86/specialreg.h> rather than a local #define.
diffstat:
sys/arch/i386/stand/lib/realprot.S | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 37aafb0422b1 -r e61a497b0ca3 sys/arch/i386/stand/lib/realprot.S
--- a/sys/arch/i386/stand/lib/realprot.S Tue Dec 24 17:03:07 2013 +0000
+++ b/sys/arch/i386/stand/lib/realprot.S Tue Dec 24 19:00:56 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: realprot.S,v 1.10 2010/12/19 17:18:23 jakllsch Exp $ */
+/* $NetBSD: realprot.S,v 1.11 2013/12/24 19:00:56 jakllsch Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -34,8 +34,7 @@
*/
#include <machine/asm.h>
-
-#define CR0_PE 1
+#include <x86/specialreg.h>
.text
.align 16
Home |
Main Index |
Thread Index |
Old Index