From 7f9b04eceae2ee53a6a632bed008a1e1c0d46b54 Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Sat, 22 Feb 2020 17:24:38 -0800 Subject: [PATCH] Add allocate_pool to boot_services --- include/uefi/boot_services.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/uefi/boot_services.h b/include/uefi/boot_services.h index 42c1226..1d9843d 100644 --- a/include/uefi/boot_services.h +++ b/include/uefi/boot_services.h @@ -14,6 +14,7 @@ namespace uefi { namespace bs_impl { using allocate_pages = status (*)(allocate_type, memory_type, uint64_t, uintptr_t*); + using allocate_pool = status (*)(memory_type, uint64_t, void**); using create_event = status (*)(evt, tpl, event_notify, void*, event*); using locate_protocol = status (*)(const guid *, void *, void **); } @@ -31,7 +32,7 @@ struct boot_services { bs_impl::allocate_pages allocate_pages; void *free_pages; void *get_memory_map; - void *allocate_pool; + bs_impl::allocate_pool allocate_pool; void *free_pool; // Event & Timer Services