[PATCH] arm64/xen: Use bool instead of int

2025-07-04 Thread Frediano Ziglio via Grub-devel
More readable, could consume less space. Signed-off-by: Frediano Ziglio --- grub-core/loader/arm64/xen_boot.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/grub-core/loader/arm64/xen_boot.c b/grub-core/loader/arm64/xen_boot.c index 731f1913a..8db1d9db0 10064

[PATCH] arm64/xen: Consider alignment calling grub_arch_efi_linux_boot_image

2025-07-04 Thread Frediano Ziglio via Grub-devel
The Xen image is loaded alignment, not always at "start". Signed-off-by: Frediano Ziglio --- grub-core/loader/arm64/xen_boot.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/grub-core/loader/arm64/xen_boot.c b/grub-core/loader/arm64/xen_boot.c index 8db1d9db0..26

Re: [PATCH] arm64/xen: Delete correctly all modules loaded by xen_module

2025-07-04 Thread Daniel Kiper
On Fri, Jul 04, 2025 at 09:39:08AM +0100, Frediano Ziglio via Grub-devel wrote: > We need to use FOR_LIST_ELEMENTS_SAFE instead of FOR_LIST_ELEMENTS > as single_binary_unload, called during the loop, is changing > the list using grub_list_remove. > Given the environment probably the old code simply

Re: [PATCH v4 1/5] efi: Provide wrappers for load_image, start_image, unload_image

2025-07-04 Thread Daniel Kiper
On Thu, Jun 19, 2025 at 09:33:59AM +0100, k...@mkukri.xyz wrote: > From: Julian Andres Klode > > These can be used to register a different implementation later, > for example, when shim provides a protocol with those functions. > > Signed-off-by: Mate Kukri For all patches Reviewed-by: Daniel Ki

Re: [PATCH] arm64/xen: Use bool instead of int

2025-07-04 Thread Frediano Ziglio via Grub-devel
On Fri, Jul 4, 2025 at 4:13 PM Sudhakar Kuppusamy wrote: > > > > > On 4 Jul 2025, at 7:35 PM, Frediano Ziglio via Grub-devel > > wrote: > > > > More readable, could consume less space. > > > > Signed-off-by: Frediano Ziglio > > --- > > grub-core/loader/arm64/xen_boot.c | 14 +++--- > > 1

Re: [PATCH] arm64/xen: Consider alignment calling grub_arch_efi_linux_boot_image

2025-07-04 Thread Sudhakar Kuppusamy
> On 4 Jul 2025, at 7:36 PM, Frediano Ziglio via Grub-devel > wrote: > > The Xen image is loaded alignment, not always at "start". > > Signed-off-by: Frediano Ziglio > --- > grub-core/loader/arm64/xen_boot.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff --git a/

Re: [PATCH] arm64/xen: Use bool instead of int

2025-07-04 Thread Sudhakar Kuppusamy
> On 4 Jul 2025, at 7:35 PM, Frediano Ziglio via Grub-devel > wrote: > > More readable, could consume less space. > > Signed-off-by: Frediano Ziglio > --- > grub-core/loader/arm64/xen_boot.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) > > diff --git a/grub-core/loa

Re: [PATCH] arm64/xen: Use bool instead of int

2025-07-04 Thread Sudhakar Kuppusamy
> On 4 Jul 2025, at 8:48 PM, Frediano Ziglio wrote: > > On Fri, Jul 4, 2025 at 4:13 PM Sudhakar Kuppusamy > wrote: >> >> >> >>> On 4 Jul 2025, at 7:35 PM, Frediano Ziglio via Grub-devel >>> wrote: >>> >>> More readable, could consume less space. >>> >>> Signed-off-by: Frediano Ziglio >

Re: [PATCH] arm64/xen: Delete correctly all modules loaded by xen_module

2025-07-04 Thread Sudhakar Kuppusamy
> On 4 Jul 2025, at 2:09 PM, Frediano Ziglio via Grub-devel > wrote: > > We need to use FOR_LIST_ELEMENTS_SAFE instead of FOR_LIST_ELEMENTS > as single_binary_unload, called during the loop, is changing > the list using grub_list_remove. > Given the environment probably the old code simply del

Re: [PATCH] dl: fix grub_dl_is_persistent() for EMU

2025-07-04 Thread Daniel Kiper via Grub-devel
On Thu, Jul 03, 2025 at 12:41:26PM +0530, Sudhakar Kuppusamy wrote: > Reviewed-by: Sudhakar Kuppusamy Reviewed-by: Daniel Kiper Daniel ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] arm64/xen: Delete correctly all modules loaded by xen_module

2025-07-04 Thread Frediano Ziglio via Grub-devel
We need to use FOR_LIST_ELEMENTS_SAFE instead of FOR_LIST_ELEMENTS as single_binary_unload, called during the loop, is changing the list using grub_list_remove. Given the environment probably the old code simply deleted only the first module on the list not freeing all the others. Signed-off-by: F

[PATCH v14 00/15] Import libgcrypt 1.11

2025-07-04 Thread Vladimir Serbinenko
Import libgcrypt 1.11. Changes: * Wrote a doc on how to import. * Fixed a memory leak ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel