diff options
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c b/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c index 7c0fdc6077..03f25c8fc6 100644 --- a/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c +++ b/IntelFrameworkModulePkg/Universal/StatusCode/Pei/PeiStatusCode.c @@ -60,12 +60,12 @@ EFI_PEI_PPI_DESCRIPTOR mStatusCodePpiDescriptor = { EFI_STATUS
EFIAPI
ReportDispatcher (
- IN EFI_PEI_SERVICES **PeiServices,
+ IN CONST EFI_PEI_SERVICES **PeiServices,
IN EFI_STATUS_CODE_TYPE CodeType,
IN EFI_STATUS_CODE_VALUE Value,
IN UINT32 Instance,
- IN EFI_GUID *CallerId OPTIONAL,
- IN EFI_STATUS_CODE_DATA *Data OPTIONAL
+ IN CONST EFI_GUID *CallerId OPTIONAL,
+ IN CONST EFI_STATUS_CODE_DATA *Data OPTIONAL
)
{
if (FeaturePcdGet (PcdStatusCodeUseSerial)) {
@@ -89,8 +89,8 @@ ReportDispatcher ( CodeType,
Value,
Instance,
- CallerId,
- Data
+ (EFI_GUID *)CallerId,
+ (EFI_STATUS_CODE_DATA *)Data
);
}
|