summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-05 11:24:52 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-05 11:24:52 +0000
commit59b05fbba8b173962d15d42a856a59b0e454dff8 (patch)
tree9f733aa5f16c04fa23868812a71a46dadbd35f3f
parent3547bb9f9f008dd4cf3eedf604c8744b6bddd3dc (diff)
downloadedk2-platforms-59b05fbba8b173962d15d42a856a59b0e454dff8.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@422 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkModulePkg/Include/Ppi/StatusCodeMemory.h8
-rw-r--r--EdkModulePkg/Library/EdkMemoryStatusCodeLib/MemoryStatusCode.c6
-rw-r--r--EdkModulePkg/Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.c2
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.