mirror of
https://github.com/justinian/j6-uefi-headers.git
synced 2025-12-10 00:24:32 -08:00
Add locate_protocol definition to boot_services
This commit is contained in:
@@ -11,6 +11,9 @@
|
|||||||
#include <uefi/tables.h>
|
#include <uefi/tables.h>
|
||||||
|
|
||||||
namespace uefi {
|
namespace uefi {
|
||||||
|
namespace bs_impl {
|
||||||
|
using locate_protocol = uefi::status (*)(const uefi::guid *, void *, void **);
|
||||||
|
}
|
||||||
|
|
||||||
struct boot_services {
|
struct boot_services {
|
||||||
static constexpr uint64_t signature = 0x56524553544f4f42ull;
|
static constexpr uint64_t signature = 0x56524553544f4f42ull;
|
||||||
@@ -71,7 +74,7 @@ struct boot_services {
|
|||||||
// Library Services
|
// Library Services
|
||||||
void *protocols_per_handle;
|
void *protocols_per_handle;
|
||||||
void *locate_handle_buffer;
|
void *locate_handle_buffer;
|
||||||
void *locate_protocol;
|
bs_impl::locate_protocol locate_protocol;
|
||||||
void *install_multiple_protocol_interfaces;
|
void *install_multiple_protocol_interfaces;
|
||||||
void *uninstall_multiple_protocol_interfaces;
|
void *uninstall_multiple_protocol_interfaces;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user