]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Universal/StatusCode/Pei/MemoryStausCodeWorker.c
Partially make EdkModulePkg pass intel IPF compiler with /W4 /WX switched on.
[mirror_edk2.git] / EdkModulePkg / Universal / StatusCode / Pei / MemoryStausCodeWorker.c
index 5614d80c6a7feb3dde41a9e341fc6a1b3936ed2a..c49750b2dd98d7e8d8d58d1b7e907c210bbe3f26 100644 (file)
@@ -14,6 +14,8 @@
 \r
 **/\r
 \r
+#include "PeiStatusCode.h"\r
+\r
 /**\r
   Create one memory status code GUID'ed HOB, use PacketIndex \r
   to identify the packet.\r
@@ -23,6 +25,7 @@
   @return                 Always return pointer of memory status code packet.\r
 \r
 **/\r
+STATIC\r
 MEMORY_STATUSCODE_PACKET_HEADER *\r
 CreateMemoryStatusCodePacket (\r
   UINT16 PacketIndex\r
@@ -76,13 +79,13 @@ MemoryStatusCodeInitializeWorker (
 /**\r
   Report status code into GUID'ed HOB..\r
  \r
-  @param  CodeType      Indicates the type of status code being reported.  Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions¡± below.\r
+  @param  CodeType      Indicates the type of status code being reported.  Type EFI_STATUS_CODE_TYPE is defined in "Related Definitions" below.\r
  \r
   @param  Value         Describes the current status of a hardware or software entity.  \r
                         This included information about the class and subclass that is used to classify the entity \r
                         as well as an operation.  For progress codes, the operation is the current activity. \r
                         For error codes, it is the exception.  For debug codes, it is not defined at this time. \r
-                        Type EFI_STATUS_CODE_VALUE is defined in ¡°Related Definitions¡± below.  \r
+                        Type EFI_STATUS_CODE_VALUE is defined in "Related Definitions" below.  \r
                         Specific values are discussed in the Intel? Platform Innovation Framework for EFI Status Code Specification.\r
  \r
   @param  Instance      The enumeration of a hardware or software entity within the system.  \r