The tmp buffer approach did add noticeable delay when booting with a
full distro kernel and initrd.

This alternative implementation starts by adding a hook for a device
specific malloc function into grub_disk_t, and a wrapper in disk.c
making use of it.

Leif Lindholm (2):
  disk: Add support for device-specific malloc function
  efidisk: respect block_io_protocol minimum buffer alignment

 grub-core/disk/efi/efidisk.c | 19 +++++++++++++++++--
 grub-core/kern/disk.c        | 13 +++++++++++--
 include/grub/disk.h          |  5 +++++
 3 files changed, 33 insertions(+), 4 deletions(-)

-- 
2.1.4


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to