Set EXECUTE flags in so RELEASE builds can tun correctly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11516 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
mdkinney 2011-04-11 00:13:56 +00:00
parent 7cb29684e4
commit 75e55c54be
1 changed files with 3 additions and 3 deletions

View File

@ -362,7 +362,7 @@ Returns:
//
NtFileHandle = CreateFile (
FileName,
GENERIC_READ | GENERIC_WRITE,
GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE,
FILE_SHARE_READ,
NULL,
CreationDisposition,
@ -378,7 +378,7 @@ Returns:
NtMapHandle = CreateFileMapping (
NtFileHandle,
NULL,
PAGE_READWRITE,
PAGE_EXECUTE_READWRITE,
0,
MapSize,
NULL
@ -391,7 +391,7 @@ Returns:
//
VirtualAddress = MapViewOfFileEx (
NtMapHandle,
FILE_MAP_ALL_ACCESS,
FILE_MAP_EXECUTE | FILE_MAP_ALL_ACCESS,
0,
0,
MapSize,