FreeBSD Bugzilla – Attachment 221535 Details for
Bug 252541
Early Panic during boot (Too many early devmatch mappings)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix pmap_mapdev assert
devmap.diff (text/plain), 507 bytes, created by
Mitchell Horne
on 2021-01-13 17:36:04 UTC
(
hide
)
Description:
fix pmap_mapdev assert
Filename:
MIME Type:
Creator:
Mitchell Horne
Created:
2021-01-13 17:36:04 UTC
Size:
507 bytes
patch
obsolete
>diff --git a/sys/kern/subr_devmap.c b/sys/kern/subr_devmap.c >index 03bcf6e38ec8..23baceb05129 100644 >--- a/sys/kern/subr_devmap.c >+++ b/sys/kern/subr_devmap.c >@@ -277,7 +277,7 @@ pmap_mapdev(vm_offset_t pa, vm_size_t size) > if (early_boot) { > akva_devmap_vaddr = trunc_page(akva_devmap_vaddr - size); > va = akva_devmap_vaddr; >- KASSERT(va >= VM_MAX_KERNEL_ADDRESS - L2_SIZE, >+ KASSERT(va >= VM_MAX_KERNEL_ADDRESS - PMAP_MAPDEV_EARLY_SIZE, > ("Too many early devmap mappings")); > } else > #endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252541
:
221415
| 221535