Hi Heinrich,
[...]
> @@ -2287,22 +2287,8 @@ static efi_status_t eficonfig_init(void)
> unsigned long columns, rows;
>
> if (!init) {
> - ret = efi_search_protocol(efi_root,
> &efi_guid_text_input_protocol, &handler);
> - if (ret != EFI_SUCCESS)
> -
As the system table already has pointers to the Simple Text Intput and
Output Protocols we can directly use these instead of calling
OpenProtocol.
Signed-off-by: Heinrich Schuchardt
---
cmd/eficonfig.c | 18 ++
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/cmd/ef
2 matches
Mail list logo