git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10776
6f19259b-4bc3-4df7-8a09-
765794883524
**/\r
EFI_STATUS\r
EFIAPI\r
**/\r
EFI_STATUS\r
EFIAPI\r
-DxeNt32PeCoffLibExtraActionConstructor (\r
- IN EFI_HANDLE ImageHandle,\r
- IN EFI_SYSTEM_TABLE *SystemTable\r
+Nt32PeCoffGetWinNtThunkStucture (\r
+ VOID\r
- EFI_HOB_GUID_TYPE *GuidHob;\r
+ EFI_HOB_GUID_TYPE *GuidHob;\r
\r
//\r
// Retrieve WinNtThunkProtocol from GUID'ed HOB\r
\r
//\r
// Retrieve WinNtThunkProtocol from GUID'ed HOB\r
ASSERT (ImageContext != NULL);\r
\r
if (mWinNt == NULL) {\r
ASSERT (ImageContext != NULL);\r
\r
if (mWinNt == NULL) {\r
+ Nt32PeCoffGetWinNtThunkStucture ();\r
// If we load our own PE COFF images the Windows debugger can not source\r
// level debug our code. If a valid PDB pointer exists usw it to load\r
// the *.dll file as a library using Windows* APIs. This allows \r
// If we load our own PE COFF images the Windows debugger can not source\r
// level debug our code. If a valid PDB pointer exists usw it to load\r
// the *.dll file as a library using Windows* APIs. This allows \r
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
)\r
{\r
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext\r
)\r
{\r
\r
ASSERT (ImageContext != NULL);\r
\r
ASSERT (ImageContext != NULL);\r
- if (mWinNt == NULL) {\r
- return;\r
- }\r
\r
ModHandle = RemoveModeHandle (ImageContext);\r
if (ModHandle != NULL) {\r
\r
ModHandle = RemoveModeHandle (ImageContext);\r
if (ModHandle != NULL) {\r
VERSION_STRING = 1.0\r
LIBRARY_CLASS = PeCoffExtraActionLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER\r
\r
VERSION_STRING = 1.0\r
LIBRARY_CLASS = PeCoffExtraActionLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER UEFI_DRIVER\r
\r
- CONSTRUCTOR = DxeNt32PeCoffLibExtraActionConstructor\r
-\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r