git: 6e99dc13756b - main - kboot: Powerpc provide bi_loadsmap

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 03 Feb 2023 15:50:44 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=6e99dc13756bf87d6a6aafb9e4b74fbbc4ce0541

commit 6e99dc13756bf87d6a6aafb9e4b74fbbc4ce0541
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2023-02-03 15:39:31 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-02-03 15:41:39 +0000

    kboot: Powerpc provide bi_loadsmap
    
    It's just a stub, since the kernel learns of memory via FDT.
    
    Sponsored by:           Netflix
    Reviewed by:            tsoome, kevans
    Differential Revision:  https://reviews.freebsd.org/D38253
---
 stand/kboot/arch/powerpc64/load_addr.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/stand/kboot/arch/powerpc64/load_addr.c b/stand/kboot/arch/powerpc64/load_addr.c
index ac3374ff20f2..71662796f284 100644
--- a/stand/kboot/arch/powerpc64/load_addr.c
+++ b/stand/kboot/arch/powerpc64/load_addr.c
@@ -220,3 +220,9 @@ bool enumerate_memory_arch(void)
 
 	return true;
 }
+
+void
+bi_loadsmap(struct preloaded_file *kfp)
+{
+	/* passed in via the DTB */
+}