From 0ba0723c769f95d312835967c47e34e444fea368 Mon Sep 17 00:00:00 2001 From: kavsrf Date: Tue, 13 Jun 2017 17:19:47 +0300 Subject: solution of HP problem via DrverOrder and BML modified driver --- Include/Library/CommonLib.h | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) (limited to 'Include/Library') diff --git a/Include/Library/CommonLib.h b/Include/Library/CommonLib.h index 2b46632..d64ae41 100644 --- a/Include/Library/CommonLib.h +++ b/Include/Library/CommonLib.h @@ -15,8 +15,9 @@ https://opensource.org/licenses/LGPL-3.0 #define __COMMONLIB_H__ #include -#include #include +#include +#include #include #include #include @@ -550,6 +551,23 @@ SpeakerSelect( IN UINTN index ); +////////////////////////////////////////////////////////////////////////// +// BML +////////////////////////////////////////////////////////////////////////// +extern EFI_HANDLE* gBmlHandles; +extern UINTN gBmlCount; +extern EFI_DCSBML_PROTOCOL* gBml; +extern EFI_GUID gBmlGuid; + +EFI_STATUS +InitBml(); + +EFI_STATUS +BmlLock( + IN BOOLEAN lock + ); + + ////////////////////////////////////////////////////////////////////////// // Efi variables ////////////////////////////////////////////////////////////////////////// @@ -588,6 +606,11 @@ BootOrderRemove( UINT16 value ); +EFI_STATUS +BootOrderPresent( + IN CHAR16 *OrderVarName, + UINT16 value); + EFI_STATUS BootMenuItemCreate( IN CHAR16 *VarName, -- cgit v1.2.3