diff options
author | Richard Braun <rbraun@sceen.net> | 2017-09-06 21:12:00 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-09-06 21:12:00 +0200 |
commit | 7f4858978a49855b23904169db5e44d2fbdb428e (patch) | |
tree | 499610abb96f055150408855dd3dc0033ee7274d /vm/vm_map.c | |
parent | ce388aba04cc54be7d44ec22569559381939bd4a (diff) |
vm: rename min/max macros to start/end variants
The real problem actually only applies to "max" names, for which the
value is ambiguous, as "max" usually implies the value is included in
the associated range, which is not the case for these macros.
Diffstat (limited to 'vm/vm_map.c')
-rw-r--r-- | vm/vm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vm/vm_map.c b/vm/vm_map.c index da0b2cfd..180419ae 100644 --- a/vm/vm_map.c +++ b/vm/vm_map.c @@ -748,7 +748,7 @@ static int __init vm_map_bootstrap(void) { vm_map_init(kernel_map, kernel_pmap, - PMAP_MIN_KMEM_ADDRESS, PMAP_MAX_KMEM_ADDRESS); + PMAP_START_KMEM_ADDRESS, PMAP_END_KMEM_ADDRESS); kmem_cache_init(&vm_map_entry_cache, "vm_map_entry", sizeof(struct vm_map_entry), 0, NULL, KMEM_CACHE_PAGE_ONLY); @@ -792,7 +792,7 @@ vm_map_create(struct vm_map **mapp) goto error_pmap; } - vm_map_init(map, pmap, PMAP_MIN_ADDRESS, PMAP_MAX_ADDRESS); + vm_map_init(map, pmap, PMAP_START_ADDRESS, PMAP_END_ADDRESS); *mapp = map; return 0; |