Clean up GenericBdsLib library Instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5449 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -14,6 +14,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
#include "InternalBdsLib.h"
|
||||
|
||||
/**
|
||||
Check if we need to save the EFI variable with "ConVarName" as name
|
||||
as NV type
|
||||
|
||||
@param ConVarName The name of the EFI variable.
|
||||
|
||||
@retval TRUE Set the EFI variabel as NV type.
|
||||
@retval FALSE EFI variabel as NV type can be set NonNV.
|
||||
**/
|
||||
BOOLEAN
|
||||
IsNvNeed (
|
||||
IN CHAR16 *ConVarName
|
||||
@@ -27,7 +36,7 @@ IsNvNeed (
|
||||
// If the variable includes "Dev" at last, we consider
|
||||
// it does not support NV attribute.
|
||||
//
|
||||
while (*Ptr) {
|
||||
while (*Ptr != L'\0') {
|
||||
Ptr++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user