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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel