diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-01-12 15:59:04 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2006-01-12 15:59:04 +0000 |
commit | 40ec3af71b83af00876520b7f427861c539e370e (patch) | |
tree | 024c06995470b2a769530e3a7d8099ddb9b2e041 | |
parent | 5e4a3b237324beb330b3eaa92a6f66ca4b2136d9 (diff) |
after range-checking save nkpde back; toby@ ok and discussion w/ hshoexer@
-rw-r--r-- | sys/arch/i386/i386/locore.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index 00391dad9a1..e61de0610e0 100644 --- a/sys/arch/i386/i386/locore.s +++ b/sys/arch/i386/i386/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.95 2005/11/25 07:07:49 tom Exp $ */ +/* $OpenBSD: locore.s,v 1.96 2006/01/12 15:59:03 mickey Exp $ */ /* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */ /*- @@ -587,7 +587,7 @@ try586: /* Use the `cpuid' instruction. */ 1: cmpl $NKPTP_MAX,%ecx # larger than max? jle 2f movl $NKPTP_MAX,%ecx -2: +2: movl %ecx,RELOC(_C_LABEL(nkpde)) # and store it back /* Clear memory for bootstrap tables. */ shll $PGSHIFT,%ecx |