I believe this file is copied from xen as-is. That's why it's under xen/ and not grub/. Did you encounter actual conflicts? What does a new version of xen.h from xen says?
Regards Vladimir 'phcoder' Serbinenko Le mar. 5 août 2025, 07:49, Aaron Rainbolt <arraybo...@gmail.com> a écrit : > The xen.h header was using an overly generic name to refer to the > maximum length of the command line passed from Xen to a guest. Rename it > to avoid confusion or conflicts in the future. > > Signed-off-by: Aaron Rainbolt <arraybo...@gmail.com> > --- > include/xen/xen.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/include/xen/xen.h b/include/xen/xen.h > index 692f97a..fdf0fc4 100644 > --- a/include/xen/xen.h > +++ b/include/xen/xen.h > @@ -823,8 +823,8 @@ struct start_info { > /* (PFN of pre-loaded module if > */ > /* SIF_MOD_START_PFN set in flags). > */ > unsigned long mod_len; /* Size (bytes) of pre-loaded module. > */ > -#define MAX_GUEST_CMDLINE 1024 > - int8_t cmd_line[MAX_GUEST_CMDLINE]; > +#define GRUB_XEN_MAX_GUEST_CMDLINE 1024 > + int8_t cmd_line[GRUB_XEN_MAX_GUEST_CMDLINE]; > /* The pfn range here covers both page table and p->m table frames. > */ > unsigned long first_p2m_pfn;/* 1st pfn forming initial P->M table. > */ > unsigned long nr_p2m_frames;/* # of pfns forming initial P->M table. > */ > -- > 2.50.1 > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel >
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel