mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 06:42:56 -04: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
1 changed files with 5 additions and 0 deletions
|
|
@ -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