|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [mini-os master] x86/pv: fix breakage of grub-pv build
commit 2d3b22f842a969574cf967925b435c5913e8a6e0
Author: Juergen Gross <jgross@xxxxxxxx>
AuthorDate: Thu Jun 26 14:59:48 2025 +0200
Commit: Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Thu Jun 26 14:59:48 2025 +0200
x86/pv: fix breakage of grub-pv build
grub-pv is relying on start_info being defined, so provide a definition
which can be used.
Fixes: d669a312b2b2 ("x86/pv: remove global start_info")
Signed-off-by: Juergen Gross <jgross@xxxxxxxx>
Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>
---
arch/x86/setup.c | 1 +
include/hypervisor.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/x86/setup.c b/arch/x86/setup.c
index b3fc835..ed28d94 100644
--- a/arch/x86/setup.c
+++ b/arch/x86/setup.c
@@ -67,6 +67,7 @@ static inline void sse_init(void) {
* This pointer holds a reference to the start_info struct.
*/
start_info_t *start_info_ptr;
+EXPORT_SYMBOL(start_info_ptr);
#define hpc_init()
diff --git a/include/hypervisor.h b/include/hypervisor.h
index f40bc8c..d199f03 100644
--- a/include/hypervisor.h
+++ b/include/hypervisor.h
@@ -30,6 +30,8 @@
#ifdef CONFIG_PARAVIRT
/* A pointer to the start of day information passed up from the hypervisor. */
extern start_info_t *start_info_ptr;
+
+#define start_info (*start_info_ptr)
#else
int hvm_get_parameter(int idx, uint64_t *value);
int hvm_set_parameter(int idx, uint64_t value);
--
generated by git-patchbot for /home/xen/git/mini-os.git#master
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |