summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm/vm_map.c2
-rw-r--r--vm/vm_map.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c
index de10eec..1f06275 100644
--- a/vm/vm_map.c
+++ b/vm/vm_map.c
@@ -170,7 +170,7 @@ vm_object_t vm_submap_object = &vm_submap_object_store;
*/
vm_offset_t kentry_data;
-vm_size_t kentry_data_size = 32 * PAGE_SIZE;
+vm_size_t kentry_data_size = KENTRY_DATA_SIZE;
static vm_offset_t kentry_pagealloc(vm_size_t size)
{
diff --git a/vm/vm_map.h b/vm/vm_map.h
index f4e9395..17de5db 100644
--- a/vm/vm_map.h
+++ b/vm/vm_map.h
@@ -53,6 +53,8 @@
#include <kern/lock.h>
#include <kern/macro_help.h>
+#define KENTRY_DATA_SIZE (32*PAGE_SIZE)
+
/*
* Types defined:
*