Skip to content

Commit

Permalink
MsCorePkg: Update telemetry logging with current EFI Status Code
Browse files Browse the repository at this point in the history
Previously in MemoryTypeInformationChangeLib, we were using a custom Status Code.
That code is being removed from MU_BASECORE and we're using an existing code from PI Spec,
EFI_SW_EC_ILLEGAL_SOFTWARE_STATE instead.
  • Loading branch information
VivianNK committed Jul 19, 2024
1 parent 90f8ca9 commit cdb7c26
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ ReportMemoryTypeInformationChange (
{
//
// This telemetry event is logged by a lib linked to BdsDxe, thus a EFI_SOFTWARE_DXE_BS_DRIVER
// subclass; the class EFI_SW_EC_MEMORY_TYPE_INFORMATION_CHANGE is custom for this event.
// subclass; the class EFI_SW_EC_ILLEGAL_SOFTWARE_STATE is used to indicate an illegal change in memory
//
return LogTelemetry (
FALSE,
NULL,
(EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_EC_MEMORY_TYPE_INFORMATION_CHANGE),
(EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_EC_ILLEGAL_SOFTWARE_STATE),
NULL,
NULL,
Type,
Expand Down

0 comments on commit cdb7c26

Please sign in to comment.