@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_emap.c,v 1.3 2009/07/19 15:17:29 rmind Exp $ */
+/* $NetBSD: uvm_emap.c,v 1.4 2009/07/20 03:51:42 kiyohara Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_emap.c,v 1.3 2009/07/19 15:17:29 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_emap.c,v 1.4 2009/07/20 03:51:42 kiyohara Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -71,7 +71,7 @@
#define uvm_emap_gen (_uvm_emap_gen[0])
-static u_int uvm_emap_size = UVM_EMAP_SIZE;
+u_int uvm_emap_size = UVM_EMAP_SIZE;
static vaddr_t uvm_emap_va;
static vmem_t * uvm_emap_vmem;
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_param.h,v 1.21 2006/08/04 22:42:36 he Exp $ */
+/* $NetBSD: uvm_param.h,v 1.22 2009/07/20 03:51:42 kiyohara Exp $ */
/*
* Copyright (c) 1991, 1993
@@ -245,6 +245,7 @@
extern int ubc_nwins; /* number of UBC mapping windows */
extern int ubc_winshift; /* shift for a UBC mapping window */
+extern u_int uvm_emap_size; /* size of emap */
#else
/* out-of-kernel versions of round_page and trunc_page */