mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
powerpc/booke: Reserve KVA for minidump working area
This was already handled for the AIM64 pmaps, so add the same to Book-E64 pmap.
This commit is contained in:
parent
8eb21b4ff0
commit
fcace5ab08
|
@ -749,6 +749,11 @@ mmu_booke_bootstrap(vm_offset_t start, vm_offset_t kernelend)
|
|||
debugf("ptbl_buf_pool_vabase = 0x%"PRI0ptrX" end = 0x%"PRI0ptrX"\n",
|
||||
ptbl_buf_pool_vabase, virtual_avail);
|
||||
#endif
|
||||
#ifdef __powerpc64__
|
||||
/* Allocate KVA space for crashdumpmap. */
|
||||
crashdumpmap = (caddr_t)virtual_avail;
|
||||
virtual_avail += MAXDUMPPGS * PAGE_SIZE;
|
||||
#endif
|
||||
|
||||
/* Calculate corresponding physical addresses for the kernel region. */
|
||||
phys_kernelend = kernload + kernsize;
|
||||
|
|
Loading…
Reference in a new issue