Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2009 19:33:55 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r187406 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb vm
Message-ID:  <200901181933.n0IJXthp084547@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sun Jan 18 19:33:55 2009
New Revision: 187406
URL: http://svn.freebsd.org/changeset/base/187406

Log:
  MFC rev 179923
    Make preparations for increasing the size of the kernel virtual address
    space on the amd64 architecture.

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)
  stable/7/sys/vm/vm_kern.c

Modified: stable/7/sys/vm/vm_kern.c
==============================================================================
--- stable/7/sys/vm/vm_kern.c	Sun Jan 18 19:25:36 2009	(r187405)
+++ stable/7/sys/vm/vm_kern.c	Sun Jan 18 19:33:55 2009	(r187406)
@@ -502,8 +502,12 @@ kmem_init(start, end)
 	/* N.B.: cannot use kgdb to debug, starting with this assignment ... */
 	kernel_map = m;
 	(void) vm_map_insert(m, NULL, (vm_ooffset_t) 0,
-	    VM_MIN_KERNEL_ADDRESS, start, VM_PROT_ALL, VM_PROT_ALL,
-	    MAP_NOFAULT);
+#ifdef __amd64__
+	    KERNBASE,
+#else		     
+	    VM_MIN_KERNEL_ADDRESS,
+#endif
+	    start, VM_PROT_ALL, VM_PROT_ALL, MAP_NOFAULT);
 	/* ... and ending with the completion of the above `insert' */
 	vm_map_unlock(m);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901181933.n0IJXthp084547>