diff options
author | Warner Losh <imp@FreeBSD.org> | 2023-02-03 15:39:24 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-02-03 15:41:39 +0000 |
commit | d1a3cc0abeef73de739588b7b4ca812d927ab649 (patch) | |
tree | 305405773e8b31beab3403bf4a19ec9e43b95d6c | |
parent | 2e533532808b060111dd6f3780dd99c896d6fbe6 (diff) | |
download | src-d1a3cc0abeef73de739588b7b4ca812d927ab649.tar.gz src-d1a3cc0abeef73de739588b7b4ca812d927ab649.zip |
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
-rw-r--r-- | stand/kboot/kboot.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |