+ if (Dev->OpalDisk.EstimateTimeCost > MAX_ACCEPTABLE_REVERTING_TIME) {\r
+ BufferSize = StrSize (L"Warning: Secure erase action will take about ####### seconds");\r
+ PopUpString2 = AllocateZeroPool (BufferSize);\r
+ ASSERT (PopUpString2 != NULL);\r
+ UnicodeSPrint (\r
+ PopUpString2,\r
+ BufferSize,\r
+ L"WARNING: Secure erase action will take about %d seconds",\r
+ Dev->OpalDisk.EstimateTimeCost\r
+ );\r
+ PopUpString3 = L"DO NOT power off system during the action!";\r
+ } else {\r
+ PopUpString2 = NULL;\r
+ PopUpString3 = NULL;\r
+ }\r