but it will explicitly tell users that it's out of memory, which is
still much better than the current situation where it fails in a
fairly random way and triggers a CPU exception.
Signed-off-by: Ruihan Li
---
grub-core/kern/efi/mm.c | 6 ++
1 file changed, 6 insertions(+)
dif
_services (grub_efi_uintn_t
*outbuf_size, void *outbuf,
{
grub_free (finish_mmap_buf);
finish_mmap_buf = NULL;
+ grub_mm_add_region_fn = grub_efi_mm_add_regions;
return grub_error (GRUB_ERR_IO, "couldn't terminate EFI services");
On Thu, Dec 19, 2024 at 08:11:52PM +0100, Daniel Kiper wrote:
> On Tue, Dec 17, 2024 at 09:20:22AM +0800, Ruihan Li wrote:
> > On Mon, Dec 16, 2024 at 05:10:04PM +0100, Daniel Kiper wrote:
> > > Reviewed-by: Daniel Kiper
> >
> > Thanks for your review!
> >
>