summaryrefslogtreecommitdiff
path: root/include/efi_loader.h
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-07-11 23:06:24 +0300
committerAlexander Graf <agraf@suse.de>2017-07-19 15:14:40 +0300
commit88adae5ef057845f6bc69c63123df4332fe835b1 (patch)
tree349755e54709b23c59264acedea2cd510615727b /include/efi_loader.h
parent011f432745ae7fdb645e16c03382a4181d262619 (diff)
downloadu-boot-88adae5ef057845f6bc69c63123df4332fe835b1.tar.xz
efi_loader: reimplement efi_locate_protocol
The UEFI specification requires that LocateProtol finds the first handle supporting the protocol and to return a pointer to its interface. So we have to assign the protocols to an efi_object and not use any separate storage. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_loader.h')
-rw-r--r--include/efi_loader.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h
index 989e5809ba..6ea6e9ee4d 100644
--- a/include/efi_loader.h
+++ b/include/efi_loader.h
@@ -37,16 +37,6 @@ extern unsigned int __efi_runtime_start, __efi_runtime_stop;
extern unsigned int __efi_runtime_rel_start, __efi_runtime_rel_stop;
/*
- * While UEFI objects can have callbacks, you can also call functions on
- * protocols (classes) themselves. This struct maps a protocol GUID to its
- * interface (usually a struct with callback functions).
- */
-struct efi_class_map {
- const efi_guid_t *guid;
- const void *interface;
-};
-
-/*
* When the UEFI payload wants to open a protocol on an object to get its
* interface (usually a struct with callback functions), this struct maps the
* protocol GUID to the respective protocol interface */