/** @file\r
Provides the basic UNID functions.\r
\r
-Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
**/\r
// TODO: cdb - add argument and description to function comment\r
VOID\r
+EFIAPI\r
UNDI_APIEntry_new (\r
IN UINT64 cdb\r
)\r
if ((CdbPtr->OpCode > PXE_OPCODE_LAST_VALID) ||\r
(CdbPtr->StatCode != PXE_STATCODE_INITIALIZE) ||\r
(CdbPtr->StatFlags != PXE_STATFLAGS_INITIALIZE) ||\r
- (CdbPtr->IFnum >= (pxe_31->IFcnt | pxe_31->IFcntExt << 8) ) {\r
+ (CdbPtr->IFnum >= (pxe_31->IFcnt | pxe_31->IFcntExt << 8))) {\r
goto badcdb;\r
\r
}\r
)\r
{\r
UINT16 NicNum;\r
- NicNum = (PxePtr->IFcnt | PxePtr->IFcntEx << 8);\r
+ NicNum = (PxePtr->IFcnt | PxePtr->IFcntExt << 8);\r
\r
if (NicPtr == NULL) {\r
if (NicNum > 0) {\r
\r
done: \r
PxePtr->IFcnt = (UINT8)(NicNum & 0xFF);\r
- PxePtr->IFcntEx = (UINT8) ((NicNum & 0xFF00) >> 8);\r
+ PxePtr->IFcntExt = (UINT8) ((NicNum & 0xFF00) >> 8);\r
PxePtr->Fudge = (UINT8) (PxePtr->Fudge - CalculateSum8 ((VOID *) PxePtr, PxePtr->Len));\r
return ;\r
}\r
// number of NICs this undi supports\r
//\r
PxePtr->IFcnt = 0;\r
- PxePtr->IFcntEx = 0;\r
+ PxePtr->IFcntExt = 0;\r
PxePtr->Rev = PXE_ROMID_REV;\r
PxePtr->MajorVer = PXE_ROMID_MAJORVER;\r
PxePtr->MinorVer = PXE_ROMID_MINORVER;\r