Module Name:    src
Committed By:   maxv
Date:           Wed Jun 14 12:49:37 UTC 2017

Modified Files:
        src/sys/arch/x86/include: pmap.h

Log Message:
Move the direct map from slot 509 to slot 460. We will increase its size
dynamically.


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/x86/include/pmap.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/x86/include/pmap.h
diff -u src/sys/arch/x86/include/pmap.h:1.64 src/sys/arch/x86/include/pmap.h:1.65
--- src/sys/arch/x86/include/pmap.h:1.64	Thu Mar 23 18:08:06 2017
+++ src/sys/arch/x86/include/pmap.h	Wed Jun 14 12:49:37 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: pmap.h,v 1.64 2017/03/23 18:08:06 maxv Exp $	*/
+/*	$NetBSD: pmap.h,v 1.65 2017/06/14 12:49:37 maxv Exp $	*/
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -485,7 +485,7 @@ void	pmap_free_ptps(struct vm_page *);
 
 #ifdef __HAVE_DIRECT_MAP
 
-#define L4_SLOT_DIRECT		509
+#define L4_SLOT_DIRECT		460
 #define PDIR_SLOT_DIRECT	L4_SLOT_DIRECT
 
 #define PMAP_DIRECT_BASE	(VA_SIGN_NEG((L4_SLOT_DIRECT * NBPD_L4)))

Reply via email to