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
This commit is contained in:
niruiyu 2010-02-25 03:28:18 +00:00
parent 6a8241983d
commit d555d90ff7
4 changed files with 7 additions and 7 deletions

View File

@ -353,7 +353,7 @@ HOB_TEMPLATE gHobTemplate = {
}, },
EFI_STATUS_CODE_RUNTIME_PROTOCOL_GUID EFI_STATUS_CODE_RUNTIME_PROTOCOL_GUID
}, },
NULL 0
}, },
{ // EFILDR Memory Descriptor { // EFILDR Memory Descriptor
{ {

View File

@ -1,6 +1,6 @@
/** @file /** @file
Copyright (c) 2006 - 2009, Intel Corporation Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -48,7 +48,7 @@ typedef struct {
typedef struct { typedef struct {
EFI_HOB_GUID_TYPE Hob; EFI_HOB_GUID_TYPE Hob;
VOID *Interface; EFI_PHYSICAL_ADDRESS Interface;
} PROTOCOL_HOB; } PROTOCOL_HOB;
typedef struct { typedef struct {

View File

@ -1,6 +1,6 @@
/** @file /** @file
Copyright (c) 2006, Intel Corporation Copyright (c) 2006 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -70,7 +70,7 @@ Returns:
//Hob->TianoDecompress.Interface = TianoDecompress; //Hob->TianoDecompress.Interface = TianoDecompress;
InstallSerialStatusCode (&ReportStatusCode); InstallSerialStatusCode (&ReportStatusCode);
Hob->SerialStatusCode.Interface = (VOID *)(UINTN)ReportStatusCode; Hob->SerialStatusCode.Interface = (EFI_PHYSICAL_ADDRESS) (UINTN) ReportStatusCode;
return EFI_SUCCESS; return EFI_SUCCESS;
} }

View File

@ -1,6 +1,6 @@
/** @file /** @file
Copyright (c) 2004 - 2007, Intel Corporation Copyright (c) 2004 - 2010, Intel Corporation
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License 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 which accompanies this distribution. The full text of the license may be found at
@ -143,7 +143,7 @@ typedef struct {
// VolumeId and FilePath indicating a unique file. // VolumeId and FilePath indicating a unique file.
// //
UINT32 VolumeId; UINT32 VolumeId;
CHAR16 FilePath[256]; CHAR16 FilePath[258];
UINT32 ActuralSize; UINT32 ActuralSize;
UINT32 Offset; UINT32 Offset;
} EFI_FLASH_MAP_FS_ENTRY_DATA; } EFI_FLASH_MAP_FS_ENTRY_DATA;