/** @file\r
BDS Lib functions which relate with create or process the boot option.\r
\r
-Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
BOOLEAN mEnumBootDevice = FALSE;\r
EFI_HII_HANDLE gBdsLibStringPackHandle = NULL;\r
\r
+/**\r
+\r
+ End Perf entry of BDS\r
+\r
+ @param Event The triggered event.\r
+ @param Context Context for this event.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+BmEndOfBdsPerfCode (\r
+ IN EFI_EVENT Event,\r
+ IN VOID *Context\r
+ )\r
+{\r
+ //\r
+ // Record the performance data for End of BDS\r
+ //\r
+ PERF_END(NULL, "BDS", NULL, 0);\r
+\r
+ return ;\r
+}\r
+\r
/**\r
The constructor function register UNI strings into imageHandle.\r
\r
//\r
Status = EfiCreateEventLegacyBootEx(\r
TPL_NOTIFY,\r
- WriteBootToOsPerformanceData,\r
+ BmEndOfBdsPerfCode,\r
NULL, \r
&LegacyBootEvent\r
);\r
// Write boot to OS performance data for UEFI boot\r
//\r
PERF_CODE (\r
- WriteBootToOsPerformanceData (NULL, NULL);\r
+ BmEndOfBdsPerfCode (NULL, NULL);\r
);\r
\r
//\r