mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Use symbolic constants instead of magic address constants.
This commit is contained in:
parent
6856ac3294
commit
83d5cede4f
1 changed files with 1 additions and 1 deletions
|
|
@ -586,7 +586,7 @@ pmap_init(vm_offset_t phys_start, vm_offset_t phys_end)
|
|||
for (i = 0; i < translations_size; i++) {
|
||||
addr = translations[i].om_start;
|
||||
size = translations[i].om_size;
|
||||
if (addr < 0xf0000000) /* XXX */
|
||||
if (addr < VM_MIN_PROM_ADDRESS || addr > VM_MAX_PROM_ADDRESS)
|
||||
continue;
|
||||
result = vm_map_find(kernel_map, NULL, 0, &addr, size, TRUE,
|
||||
VM_PROT_ALL, VM_PROT_ALL, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue