]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/EbcDxe/Ia32/EbcSupport.c
MdeModulePkg: Clean up source files
[mirror_edk2.git] / MdeModulePkg / Universal / EbcDxe / Ia32 / EbcSupport.c
index 8e660b93ad640e42af23ec4dec0b3c01590c0be3..944179ba69271e361bd8874843ac33664cc9f479 100644 (file)
@@ -2,7 +2,7 @@
   This module contains EBC support routines that are customized based on\r
   the target ia32 processor.\r
 \r
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -44,7 +44,7 @@ UINT8  mInstructionBufferTemplate[] = {
   // These 4 bytes of the thunk entry is the address of the EBC\r
   // entry point.\r
   //\r
-  0xB8, \r
+  0xB8,\r
     (UINT8)(EBC_ENTRYPOINT_SIGNATURE & 0xFF),\r
     (UINT8)((EBC_ENTRYPOINT_SIGNATURE >> 8) & 0xFF),\r
     (UINT8)((EBC_ENTRYPOINT_SIGNATURE >> 16) & 0xFF),\r
@@ -484,7 +484,7 @@ EbcCreateThunks (
 \r
   ThunkSize = sizeof(mInstructionBufferTemplate);\r
 \r
-  Ptr = AllocatePool (sizeof(mInstructionBufferTemplate));\r
+  Ptr = EbcAllocatePoolForThunk (sizeof(mInstructionBufferTemplate));\r
 \r
   if (Ptr == NULL) {\r
     return EFI_OUT_OF_RESOURCES;\r