mirror of https://github.com/acidanthera/audk.git
Add volatile type definition to avoid link error when building with ICC
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3439 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
216519bb4d
commit
34edf2ae72
|
@ -362,7 +362,7 @@ IpIoCreateSndEntry (
|
|||
EFI_IP4_TRANSMIT_DATA *TxData;
|
||||
EFI_STATUS Status;
|
||||
EFI_IP4_OVERRIDE_DATA *OverrideData;
|
||||
UINT32 Index;
|
||||
volatile UINT32 Index;
|
||||
|
||||
//
|
||||
// Allocate resource for SndEntry
|
||||
|
@ -429,8 +429,8 @@ IpIoCreateSndEntry (
|
|||
TxData->TotalDataLength = Pkt->TotalSize;
|
||||
TxData->FragmentCount = Pkt->BlockOpNum;
|
||||
|
||||
for (Index = 0; Index < Pkt->BlockOpNum; Index++) {
|
||||
|
||||
for (Index = 0; Index < Pkt->BlockOpNum; Index++) {
|
||||
TxData->FragmentTable[Index].FragmentBuffer = Pkt->BlockOp[Index].Head;
|
||||
TxData->FragmentTable[Index].FragmentLength = Pkt->BlockOp[Index].Size;
|
||||
}
|
||||
|
@ -857,6 +857,7 @@ IpIoStop (
|
|||
//
|
||||
// Detroy the Ip List used by IpIo
|
||||
//
|
||||
|
||||
while (!NetListIsEmpty (&(IpIo->IpList))) {
|
||||
IpInfo = NET_LIST_HEAD (&(IpIo->IpList), IP_IO_IP_INFO, Entry);
|
||||
|
||||
|
|
Loading…
Reference in New Issue