summaryrefslogtreecommitdiff
path: root/DuetPkg/DxeIpl
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-25 03:28:18 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-25 03:28:18 +0000
commitd555d90ff71366e69d91851eb176297391e93704 (patch)
tree3d84908535571ff1914dc44197c84afd5d8f7e1b /DuetPkg/DxeIpl
parent6a8241983d1a35153e5c99d35d8f710fc8ae1a17 (diff)
Change DUET specific HOB structure to make all HOB 8-byte align to fix the PI-SCT failure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10066 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/DxeIpl')
-rw-r--r--DuetPkg/DxeIpl/HobGeneration.c2
-rw-r--r--DuetPkg/DxeIpl/HobGeneration.h4
-rw-r--r--DuetPkg/DxeIpl/PpisNeededByDxeCore.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/DuetPkg/DxeIpl/HobGeneration.c b/DuetPkg/DxeIpl/HobGeneration.c
index c5b6c7c1b..d1e6232a6 100644
--- a/DuetPkg/DxeIpl/HobGeneration.c
+++ b/DuetPkg/DxeIpl/HobGeneration.c
@@ -353,7 +353,7 @@ HOB_TEMPLATE gHobTemplate = {
},
EFI_STATUS_CODE_RUNTIME_PROTOCOL_GUID
},
- NULL
+ 0
},
{ // EFILDR Memory Descriptor
{
diff --git a/DuetPkg/DxeIpl/HobGeneration.h b/DuetPkg/DxeIpl/HobGeneration.h
index 9123089b7..e7e067fe6 100644
--- a/DuetPkg/DxeIpl/HobGeneration.h
+++ b/DuetPkg/DxeIpl/HobGeneration.h
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2006 - 2009, Intel Corporation
+Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -48,7 +48,7 @@ typedef struct {
typedef struct {
EFI_HOB_GUID_TYPE Hob;
- VOID *Interface;
+ EFI_PHYSICAL_ADDRESS Interface;
} PROTOCOL_HOB;
typedef struct {
diff --git a/DuetPkg/DxeIpl/PpisNeededByDxeCore.c b/DuetPkg/DxeIpl/PpisNeededByDxeCore.c
index a1b9b0398..820a14e77 100644
--- a/DuetPkg/DxeIpl/PpisNeededByDxeCore.c
+++ b/DuetPkg/DxeIpl/PpisNeededByDxeCore.c
@@ -1,6 +1,6 @@
/** @file
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -70,7 +70,7 @@ Returns:
//Hob->TianoDecompress.Interface = TianoDecompress;
InstallSerialStatusCode (&ReportStatusCode);
- Hob->SerialStatusCode.Interface = (VOID *)(UINTN)ReportStatusCode;
+ Hob->SerialStatusCode.Interface = (EFI_PHYSICAL_ADDRESS) (UINTN) ReportStatusCode;
return EFI_SUCCESS;
}