mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
Fix the build bugs for these three files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5900 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c18f12d375
commit
14085cf071
@ -277,7 +277,7 @@ GetFormSetGuid (
|
|||||||
switch (OpCode->OpCode) {
|
switch (OpCode->OpCode) {
|
||||||
case EFI_IFR_FORM_SET_OP:
|
case EFI_IFR_FORM_SET_OP:
|
||||||
FormSet = (EFI_IFR_FORM_SET *) OpCode;
|
FormSet = (EFI_IFR_FORM_SET *) OpCode;
|
||||||
CopyGuid (FormSetGuid, &FormSet->Guid);
|
CopyMem (FormSetGuid, &FormSet->Guid, sizeof (EFI_GUID));
|
||||||
return;
|
return;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@ -87,7 +87,7 @@ Abstract:
|
|||||||
//
|
//
|
||||||
// debug print level
|
// debug print level
|
||||||
//
|
//
|
||||||
#define EDKII_GLUE_DebugPrintErrorLevel EFI_D_ERROR
|
#define EDKII_GLUE_DebugPrintErrorLevel EFI_D_ERROR|EFI_D_INFO
|
||||||
|
|
||||||
//
|
//
|
||||||
// debug propery mask
|
// debug propery mask
|
||||||
@ -96,7 +96,6 @@ Abstract:
|
|||||||
| DEBUG_PROPERTY_DEBUG_PRINT_ENABLED \
|
| DEBUG_PROPERTY_DEBUG_PRINT_ENABLED \
|
||||||
| DEBUG_PROPERTY_DEBUG_CODE_ENABLED \
|
| DEBUG_PROPERTY_DEBUG_CODE_ENABLED \
|
||||||
| DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED \
|
| DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED \
|
||||||
| DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED \
|
|
||||||
| DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED \
|
| DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED \
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -85,7 +85,10 @@ InternalReportStatusCode (
|
|||||||
//
|
//
|
||||||
return (gStatusCode->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);
|
return (gStatusCode->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);
|
||||||
} else {
|
} else {
|
||||||
|
#if (EFI_SPECIFICATION_VERSION < 0x00020000)
|
||||||
return (gRT->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);
|
return (gRT->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);
|
||||||
|
#endif
|
||||||
|
return EFI_UNSUPPORTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user