From: Aaron Rainbolt Date: Thu, 14 Aug 2025 01:36:43 +0000 (-0500) Subject: include/xen/xen.h: Rename MAX_GUEST_CMDLINE to GRUB_XEN_MAX_GUEST_CMDLINE X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb56a6af9a2a3a367da90ba6cc7bc80b82ba6ba5;p=thirdparty%2Fgrub.git include/xen/xen.h: Rename MAX_GUEST_CMDLINE to GRUB_XEN_MAX_GUEST_CMDLINE The include/xen/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 Reviewed-by: Daniel Kiper --- diff --git a/include/xen/xen.h b/include/xen/xen.h index 692f97a5b..fdf0fc448 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. */