EFI_GUID mBmHardDriveBootVariableGuid = { 0xfab7e9e1, 0x39dd, 0x4f2b, { 0x84, 0x08, 0xe2, 0x0e, 0x90, 0x6c, 0xb6, 0xde } };\r
EFI_GUID mBmAutoCreateBootOptionGuid = { 0x8108ac4e, 0x9f11, 0x4d59, { 0x85, 0x0e, 0xe2, 0x1a, 0x52, 0x2c, 0x59, 0xb2 } };\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 function registers the legacy boot support capabilities.\r
\r
//\r
Status = EfiCreateEventLegacyBootEx(\r
TPL_NOTIFY,\r
- BmWriteBootToOsPerformanceData,\r
+ BmEndOfBdsPerfCode,\r
NULL, \r
&LegacyBootEvent\r
);\r
// Write boot to OS performance data for UEFI boot\r
//\r
PERF_CODE (\r
- BmWriteBootToOsPerformanceData (NULL, NULL);\r
+ BmEndOfBdsPerfCode (NULL, NULL);\r
);\r
\r
REPORT_STATUS_CODE (EFI_PROGRESS_CODE, PcdGet32 (PcdProgressCodeOsLoaderStart));\r