mirror of https://github.com/acidanthera/audk.git
1) add __MSC_EXTENSIONS__ guard for MSC specific pragma in Decode.c
2) remove a dangling pragma in E100b.c git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2402 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
bc2693a840
commit
3bd0d8f8a9
|
@ -22,7 +22,9 @@ Revision history:
|
||||||
#include "undi32.h"
|
#include "undi32.h"
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef _MSC_EXTENSIONS
|
||||||
#pragma data_seg("rtdata")
|
#pragma data_seg("rtdata")
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Global variables defined in this file
|
// Global variables defined in this file
|
||||||
|
@ -1648,4 +1650,6 @@ Returns:
|
||||||
PxePtr->Fudge = (UINT8) (PxePtr->Fudge - ChkSum ((VOID *) PxePtr, PxePtr->Len));
|
PxePtr->Fudge = (UINT8) (PxePtr->Fudge - ChkSum ((VOID *) PxePtr, PxePtr->Len));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef _MSC_EXTENSIONS
|
||||||
#pragma data_seg()
|
#pragma data_seg()
|
||||||
|
#endif
|
||||||
|
|
|
@ -3754,5 +3754,3 @@ Returns:
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#pragma data_seg()
|
|
||||||
|
|
Loading…
Reference in New Issue