37c37
< * $FreeBSD: head/sys/vm/vm_page.c 92029 2002-03-10 21:52:48Z eivind $
---
> * $FreeBSD: head/sys/vm/vm_page.c 92654 2002-03-19 09:11:49Z jeff $
120a121,122
> #include <vm/uma.h>
> #include <vm/uma_int.h>
178a181
> vm_size_t bootpages;
210a214,226
> * Allocate memory for use when boot strapping the kernel memory allocator
> */
> bootpages = UMA_BOOT_PAGES * UMA_SLAB_SIZE;
> new_end = end - bootpages;
> new_end = trunc_page(new_end);
> mapped = pmap_map(&vaddr, new_end, end,
> VM_PROT_READ | VM_PROT_WRITE);
> bzero((caddr_t) mapped, end - new_end);
> uma_startup((caddr_t)mapped);
>
> end = new_end;
>
> /*
< * $FreeBSD: head/sys/vm/vm_page.c 92029 2002-03-10 21:52:48Z eivind $
---
> * $FreeBSD: head/sys/vm/vm_page.c 92654 2002-03-19 09:11:49Z jeff $
120a121,122
> #include <vm/uma.h>
> #include <vm/uma_int.h>
178a181
> vm_size_t bootpages;
210a214,226
> * Allocate memory for use when boot strapping the kernel memory allocator
> */
> bootpages = UMA_BOOT_PAGES * UMA_SLAB_SIZE;
> new_end = end - bootpages;
> new_end = trunc_page(new_end);
> mapped = pmap_map(&vaddr, new_end, end,
> VM_PROT_READ | VM_PROT_WRITE);
> bzero((caddr_t) mapped, end - new_end);
> uma_startup((caddr_t)mapped);
>
> end = new_end;
>
> /*