grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 06/15] mm: Allow dynamically requesting additional memory


From: Daniel Kiper
Subject: Re: [PATCH v3 06/15] mm: Allow dynamically requesting additional memory regions
Date: Thu, 21 Apr 2022 15:32:54 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Apr 21, 2022 at 04:50:34PM +1000, Daniel Axtens wrote:
> I genuinely do not know how I missed this, but we do need one more tweak
> so as not to break grub-emu builds:
>
> diff --git a/include/grub/mm.h b/include/grub/mm.h
> index 5d916809666c..f3bf87fa0f9a 100644
> --- a/include/grub/mm.h
> +++ b/include/grub/mm.h
> @@ -42,7 +42,9 @@ typedef grub_err_t (*grub_mm_add_region_func_t) 
> (grub_size_t, unsigned int);
>   * Set this function pointer to enable adding memory-regions at runtime in 
> case
>   * a memory allocation cannot be satisfied with existing regions.
>   */
> +#ifndef GRUB_MACHINE_EMU
>  extern grub_mm_add_region_func_t EXPORT_VAR(grub_mm_add_region_fn);
> +#endif
>
>  void grub_mm_init_region (void *addr, grub_size_t size);
>  void *EXPORT_FUNC(grub_calloc) (grub_size_t nmemb, grub_size_t size);
>
> I've updated by GH branches.
>
> Daniel K, are you right to fold this in when you merge this?

No worries, I will do it for you.

Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]