From 59b05fbba8b173962d15d42a856a59b0e454dff8 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Mon, 5 Jun 2006 11:24:52 +0000 Subject: [PATCH] git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@422 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkModulePkg/Include/Ppi/StatusCodeMemory.h | 8 ++++---- .../Library/EdkMemoryStatusCodeLib/MemoryStatusCode.c | 6 +++--- .../RtMemoryStatusCode/RtMemoryStatusCode.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/EdkModulePkg/Include/Ppi/StatusCodeMemory.h b/EdkModulePkg/Include/Ppi/StatusCodeMemory.h index 85b2b6de5f..e02e458f63 100644 --- a/EdkModulePkg/Include/Ppi/StatusCodeMemory.h +++ b/EdkModulePkg/Include/Ppi/StatusCodeMemory.h @@ -42,10 +42,10 @@ typedef struct { // PPI definition // typedef struct { - UINTN FirstEntry; - UINTN LastEntry; - EFI_PHYSICAL_ADDRESS Address; - UINTN Length; + UINT32 FirstEntry; + UINT32 LastEntry; + EFI_PHYSICAL_ADDRESS Address; + UINT32 Length; } PEI_STATUS_CODE_MEMORY_PPI; extern EFI_GUID gPeiStatusCodeMemoryPpiGuid; diff --git a/EdkModulePkg/Library/EdkMemoryStatusCodeLib/MemoryStatusCode.c b/EdkModulePkg/Library/EdkMemoryStatusCodeLib/MemoryStatusCode.c index 1661d7753c..087ef53aea 100644 --- a/EdkModulePkg/Library/EdkMemoryStatusCodeLib/MemoryStatusCode.c +++ b/EdkModulePkg/Library/EdkMemoryStatusCodeLib/MemoryStatusCode.c @@ -69,8 +69,8 @@ Returns: EFI_PEI_PROGRESS_CODE_PPI *ReportStatusCodePpi; EFI_PHYSICAL_ADDRESS Buffer; VOID *StartPointer; - UINTN Length; - UINTN LastEntry; + UINT32 Length; + UINT32 LastEntry; EFI_PEI_PPI_DESCRIPTOR *ReportStatusCodeDescriptor; EFI_PEI_PPI_DESCRIPTOR *StatusCodeMemoryDescriptor; @@ -327,7 +327,7 @@ Returns: EFI_STATUS Status; PEI_STATUS_CODE_MEMORY_PPI *StatusCodeMemoryPpi; EFI_STATUS_CODE_ENTRY *CurrentEntry; - UINTN LastEntry; + UINT32 LastEntry; MEMORY_STATUS_CODE_INSTANCE *PrivateData; EFI_PEI_PPI_DESCRIPTOR *StatusCodeMemoryDescriptor; EFI_PEI_SERVICES **PeiServices; diff --git a/EdkModulePkg/Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.c b/EdkModulePkg/Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.c index 375a338a85..e0347a3a03 100644 --- a/EdkModulePkg/Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.c +++ b/EdkModulePkg/Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.c @@ -55,7 +55,7 @@ Returns: --*/ { EFI_STATUS_CODE_ENTRY *CurrentEntry; - UINTN MaxEntry; + UINT32 MaxEntry; // // We don't care to log debug codes.