|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [mini-os master] Add missing symbol exports for grub-pv
commit 6d5159e8410be16a47433bac1627e63f8adc7cd9
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Tue Oct 29 12:41:58 2024 +0100
Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
CommitDate: Tue Oct 29 11:58:49 2024 +0000
Add missing symbol exports for grub-pv
Grub-pv needs start_info_union and phys_to_machine_mapping to be
accessible. Export both symbols.
Fixes: 33411a11f848 ("Mini-OS: hide all symbols not exported via
EXPORT_SYMBOLS()")
Reported-by: Natanael Copa <ncopa@xxxxxxxxxxxxxxx>
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
---
arch/x86/mm.c | 1 +
arch/x86/setup.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/arch/x86/mm.c b/arch/x86/mm.c
index 572e762..3ba6d91 100644
--- a/arch/x86/mm.c
+++ b/arch/x86/mm.c
@@ -55,6 +55,7 @@
#endif
unsigned long *phys_to_machine_mapping;
+EXPORT_SYMBOL(phys_to_machine_mapping);
unsigned long mfn_zero;
pgentry_t *pt_base;
EXPORT_SYMBOL(pt_base);
diff --git a/arch/x86/setup.c b/arch/x86/setup.c
index b27bbed..b613083 100644
--- a/arch/x86/setup.c
+++ b/arch/x86/setup.c
@@ -41,6 +41,7 @@
* address of the shared_info structure, and things like that.
*/
union start_info_union start_info_union;
+EXPORT_SYMBOL(start_info_union);
#endif
/*
--
generated by git-patchbot for /home/xen/git/mini-os.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |