diff options
author | Qian Ouyang <qian.ouyang@intel.com> | 2013-08-21 08:57:13 +0000 |
---|---|---|
committer | qianouyang <qianouyang@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-08-21 08:57:13 +0000 |
commit | a4a44892164a62c00f371faed39b02e6a23eebf7 (patch) | |
tree | 490cfee40a0635c30a1c91d8716c9eb3a2593582 | |
parent | b822eb4237ba856b3c66dd0a3bd996741084f629 (diff) | |
download | edk2-platforms-a4a44892164a62c00f371faed39b02e6a23eebf7.tar.xz |
Fix OptionRomPkg build failure.
Signed-off-by: Qian Ouyang <qian.ouyang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14578 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | OptionRomPkg/UndiRuntimeDxe/Decode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OptionRomPkg/UndiRuntimeDxe/Decode.c b/OptionRomPkg/UndiRuntimeDxe/Decode.c index eb0ee1d693..5f853479f5 100644 --- a/OptionRomPkg/UndiRuntimeDxe/Decode.c +++ b/OptionRomPkg/UndiRuntimeDxe/Decode.c @@ -1336,7 +1336,7 @@ UNDI_APIEntry_Common ( if ((CdbPtr->OpCode > PXE_OPCODE_LAST_VALID) ||
(CdbPtr->StatCode != PXE_STATCODE_INITIALIZE) ||
(CdbPtr->StatFlags != PXE_STATFLAGS_INITIALIZE) ||
- (CdbPtr->IFnum >= (pxe_31->IFcnt | pxe_31->IFcntExt << 8) ) {
+ (CdbPtr->IFnum >= (pxe_31->IFcnt | pxe_31->IFcntExt << 8))) {
goto badcdb;
}
@@ -1437,7 +1437,7 @@ PxeUpdate ( )
{
UINT16 NicNum;
- NicNum = (PxePtr->IFcnt | PxePtr->IFcntEx << 8);
+ NicNum = (PxePtr->IFcnt | PxePtr->IFcntExt << 8);
if (NicPtr == NULL) {
if (NicNum > 0) {
@@ -1456,7 +1456,7 @@ PxeUpdate ( done:
PxePtr->IFcnt = (UINT8)(NicNum & 0xFF);
- PxePtr->IFcntEx = (UINT8) ((NicNum & 0xFF00) >> 8);
+ PxePtr->IFcntExt = (UINT8) ((NicNum & 0xFF00) >> 8);
PxePtr->Fudge = (UINT8) (PxePtr->Fudge - CalculateSum8 ((VOID *) PxePtr, PxePtr->Len));
return ;
}
@@ -1489,7 +1489,7 @@ PxeStructInit ( // number of NICs this undi supports
//
PxePtr->IFcnt = 0;
- PxePtr->IFcntEx = 0;
+ PxePtr->IFcntExt = 0;
PxePtr->Rev = PXE_ROMID_REV;
PxePtr->MajorVer = PXE_ROMID_MAJORVER;
PxePtr->MinorVer = PXE_ROMID_MINORVER;
|