Commit 842a8e434e48e3d4d7a862c4a1676a698aa0954d

Authored by Heinrich Schuchardt
Committed by Alexander Graf
1 parent 39dd65a059

efi_loader: support 16 protocols per efi_object

8 protocols per efi_object is insufficient for iPXE.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>

Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff

include/efi_loader.h
... ... @@ -112,8 +112,8 @@
112 112 struct efi_object {
113 113 /* Every UEFI object is part of a global object list */
114 114 struct list_head link;
115   - /* We support up to 8 "protocols" an object can be accessed through */
116   - struct efi_handler protocols[8];
  115 + /* We support up to 16 "protocols" an object can be accessed through */
  116 + struct efi_handler protocols[16];
117 117 /* The object spawner can either use this for data or as identifier */
118 118 void *handle;
119 119 };