git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@422 6f19259b...
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 5 Jun 2006 11:24:52 +0000 (11:24 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 5 Jun 2006 11:24:52 +0000 (11:24 +0000)
EdkModulePkg/Include/Ppi/StatusCodeMemory.h
EdkModulePkg/Library/EdkMemoryStatusCodeLib/MemoryStatusCode.c
EdkModulePkg/Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.c

index 85b2b6d..e02e458 100644 (file)
@@ -42,10 +42,10 @@ typedef struct {
 // PPI definition\r
 //\r
 typedef struct {\r
-  UINTN                   FirstEntry;\r
-  UINTN                   LastEntry;\r
-  EFI_PHYSICAL_ADDRESS    Address;\r
-  UINTN                   Length;\r
+  UINT32                   FirstEntry;\r
+  UINT32                   LastEntry;\r
+  EFI_PHYSICAL_ADDRESS     Address;\r
+  UINT32                   Length;\r
 } PEI_STATUS_CODE_MEMORY_PPI;\r
 \r
 extern EFI_GUID gPeiStatusCodeMemoryPpiGuid;\r
index 1661d77..087ef53 100644 (file)
@@ -69,8 +69,8 @@ Returns:
   EFI_PEI_PROGRESS_CODE_PPI   *ReportStatusCodePpi;\r
   EFI_PHYSICAL_ADDRESS        Buffer;\r
   VOID                        *StartPointer;\r
-  UINT                      Length;\r
-  UINT                      LastEntry;\r
+  UINT32                      Length;\r
+  UINT32                      LastEntry;\r
   EFI_PEI_PPI_DESCRIPTOR      *ReportStatusCodeDescriptor;\r
   EFI_PEI_PPI_DESCRIPTOR      *StatusCodeMemoryDescriptor;\r
 \r
@@ -327,7 +327,7 @@ Returns:
   EFI_STATUS                  Status;\r
   PEI_STATUS_CODE_MEMORY_PPI  *StatusCodeMemoryPpi;\r
   EFI_STATUS_CODE_ENTRY       *CurrentEntry;\r
-  UINTN                       LastEntry;\r
+  UINT32                       LastEntry;\r
   MEMORY_STATUS_CODE_INSTANCE *PrivateData;\r
   EFI_PEI_PPI_DESCRIPTOR      *StatusCodeMemoryDescriptor;\r
   EFI_PEI_SERVICES            **PeiServices;\r
index 375a338..e0347a3 100644 (file)
@@ -55,7 +55,7 @@ Returns:
 --*/\r
 {\r
   EFI_STATUS_CODE_ENTRY *CurrentEntry;\r
-  UINTN                 MaxEntry;\r
+  UINT32                 MaxEntry;\r
 \r
   //\r
   // We don't care to log debug codes.\r