git: 292218a91c01 - main - net/isboot-kmod: Update for changes to pmap_unmapdev() KPI in main.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 20 Oct 2022 20:24:20 UTC
The branch main has been updated by jhb (doc, src committer):
URL: https://cgit.FreeBSD.org/ports/commit/?id=292218a91c013cfe2fdc266d2e174463834754a4
commit 292218a91c013cfe2fdc266d2e174463834754a4
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-10-20 20:23:58 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-10-20 20:23:58 +0000
net/isboot-kmod: Update for changes to pmap_unmapdev() KPI in main.
Reviewed by: tcberner
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D36670
---
net/isboot-kmod/files/patch-ibft.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/net/isboot-kmod/files/patch-ibft.c b/net/isboot-kmod/files/patch-ibft.c
index 0c68479849a8..0694466c7560 100644
--- a/net/isboot-kmod/files/patch-ibft.c
+++ b/net/isboot-kmod/files/patch-ibft.c
@@ -1,4 +1,4 @@
---- ibft.c.orig 2022-05-11 20:18:36 UTC
+--- ibft.c.orig 2021-05-18 18:37:58 UTC
+++ ibft.c
@@ -146,13 +146,12 @@ ibft_print_address(uint8_t *addr)
void
@@ -72,3 +72,15 @@
length = le16toh(t1h->length);
index = t1h->index;
flags = t1h->flags;
+@@ -556,7 +549,11 @@ ibft_init(void)
+ if (ibft_verbose) {
+ printf("iBFT error\n");
+ }
++#if __FreeBSD_version >= 1400070
++ pmap_unmapdev(vaddr,
++#else
+ pmap_unmapdev((vm_offset_t)vaddr,
++#endif
+ (vm_size_t)IBFT_HIGH_ADDR);
+ return (error);
+ }