mirror of https://github.com/acidanthera/audk.git
Remove _MSC_VER for this file is just built by MSFT tool chain
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3335 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
3a9d76242b
commit
986352bec8
|
@ -36,7 +36,6 @@ unsigned short _outpw (unsigned short port, unsigned short dataword );
|
||||||
unsigned long _outpd (unsigned short port, unsigned long dataword );
|
unsigned long _outpd (unsigned short port, unsigned long dataword );
|
||||||
void _ReadWriteBarrier (void);
|
void _ReadWriteBarrier (void);
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#pragma intrinsic(_inp)
|
#pragma intrinsic(_inp)
|
||||||
#pragma intrinsic(_inpw)
|
#pragma intrinsic(_inpw)
|
||||||
#pragma intrinsic(_inpd)
|
#pragma intrinsic(_inpd)
|
||||||
|
@ -44,7 +43,7 @@ void _ReadWriteBarrier (void);
|
||||||
#pragma intrinsic(_outpw)
|
#pragma intrinsic(_outpw)
|
||||||
#pragma intrinsic(_outpd)
|
#pragma intrinsic(_outpd)
|
||||||
#pragma intrinsic(_ReadWriteBarrier)
|
#pragma intrinsic(_ReadWriteBarrier)
|
||||||
#endif
|
|
||||||
//
|
//
|
||||||
// _ReadWriteBarrier() forces memory reads and writes to complete at the point
|
// _ReadWriteBarrier() forces memory reads and writes to complete at the point
|
||||||
// in the call. This is only a hint to the compiler and does emit code.
|
// in the call. This is only a hint to the compiler and does emit code.
|
||||||
|
|
Loading…
Reference in New Issue