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:
lgao4 2008-09-16 07:37:57 +00:00
parent c18f12d375
commit 14085cf071
3 changed files with 5 additions and 3 deletions

View File

@ -277,7 +277,7 @@ GetFormSetGuid (
switch (OpCode->OpCode) {
case EFI_IFR_FORM_SET_OP:
FormSet = (EFI_IFR_FORM_SET *) OpCode;
CopyGuid (FormSetGuid, &FormSet->Guid);
CopyMem (FormSetGuid, &FormSet->Guid, sizeof (EFI_GUID));
return;
default:

View File

@ -87,7 +87,7 @@ Abstract:
//
// debug print level
//
#define EDKII_GLUE_DebugPrintErrorLevel EFI_D_ERROR
#define EDKII_GLUE_DebugPrintErrorLevel EFI_D_ERROR|EFI_D_INFO
//
// debug propery mask
@ -96,7 +96,6 @@ Abstract:
| DEBUG_PROPERTY_DEBUG_PRINT_ENABLED \
| DEBUG_PROPERTY_DEBUG_CODE_ENABLED \
| DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED \
| DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED \
| DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED \
)

View File

@ -85,7 +85,10 @@ InternalReportStatusCode (
//
return (gStatusCode->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);
} else {
#if (EFI_SPECIFICATION_VERSION < 0x00020000)
return (gRT->ReportStatusCode) (Type, Value, Instance, (EFI_GUID *)CallerId, Data);
#endif
return EFI_UNSUPPORTED;
}
}