git: d1a3cc0abeef - main - kboot: Define bi_loadsmap for loading memory maps

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

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

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

    kboot: Define bi_loadsmap for loading memory maps
    
    Each architecture will soon be required to provide this to load memory
    maps as metadata for the platforms that require it (or a stub function
    for those that don't).
    
    Sponsored by:           Netflix
    Reviewed by:            tsoome, kevans
    Differential Revision:  https://reviews.freebsd.org/D38252
---
 stand/kboot/kboot.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/stand/kboot/kboot.h b/stand/kboot/kboot.h
index 4a8fe497339e..4211f21adcb6 100644
--- a/stand/kboot/kboot.h
+++ b/stand/kboot/kboot.h
@@ -17,6 +17,8 @@ struct memory_segments
 };
 
 bool enumerate_memory_arch(void);
+struct preloaded_file;
+void bi_loadsmap(struct preloaded_file *kfp);
 
 bool has_acpi(void);
 vm_offset_t acpi_rsdp(void);