Lines Matching refs:NvRamMap
711 BMM_FAKE_NV_DATA *NvRamMap; in Var_UpdateBootOption() local
714 NvRamMap = &CallbackData->BmmFakeNvData; in Var_UpdateBootOption()
719 if (NvRamMap->BootDescriptionData[0] == 0x0000) { in Var_UpdateBootOption()
720 …StrCpyS (NvRamMap->BootDescriptionData, sizeof (NvRamMap->BootDescriptionData) / sizeof (NvRamMap-… in Var_UpdateBootOption()
723 BufferSize = sizeof (UINT32) + sizeof (UINT16) + StrSize (NvRamMap->BootDescriptionData); in Var_UpdateBootOption()
726 if (NvRamMap->BootOptionalData[0] != 0x0000) { in Var_UpdateBootOption()
728 BufferSize += StrSize (NvRamMap->BootOptionalData); in Var_UpdateBootOption()
758 NvRamMap->BootDescriptionData, in Var_UpdateBootOption()
759 StrSize (NvRamMap->BootDescriptionData) in Var_UpdateBootOption()
762 NewLoadContext->Description = AllocateZeroPool (StrSize (NvRamMap->BootDescriptionData)); in Var_UpdateBootOption()
769 StrSize (NvRamMap->BootDescriptionData) in Var_UpdateBootOption()
772 Ptr += StrSize (NvRamMap->BootDescriptionData); in Var_UpdateBootOption()
796 CopyMem (Ptr, NvRamMap->BootOptionalData, StrSize (NvRamMap->BootOptionalData)); in Var_UpdateBootOption()