Making the IP6_CONFIG_DATA_RECORD the same size for both IA32 and X64 builds.

Signed-off-by: Kinney, Michael D <michael.d.kinney@intel.com> 
Reviewed-by: Ye Ting <ting.ye@intel.com>
Reviewed-by: Fu Siyuan <siyuan.fu@intel.com>


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14216 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
sfu5 2013-03-20 08:35:24 +00:00
parent e464225ca6
commit fdc4b0b147
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
/** @file /** @file
The implementation of EFI IPv6 Configuration Protocol. The implementation of EFI IPv6 Configuration Protocol.
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials 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
@ -473,7 +473,7 @@ Ip6ConfigWriteConfigData (
DataRecord = &Variable->DataRecord[Variable->DataRecordCount]; DataRecord = &Variable->DataRecord[Variable->DataRecordCount];
DataRecord->DataType = (EFI_IP6_CONFIG_DATA_TYPE) Index; DataRecord->DataType = (EFI_IP6_CONFIG_DATA_TYPE) Index;
DataRecord->DataSize = DataItem->DataSize; DataRecord->DataSize = (UINT32) DataItem->DataSize;
DataRecord->Offset = (UINT16) (Heap - (CHAR8 *) Variable); DataRecord->Offset = (UINT16) (Heap - (CHAR8 *) Variable);
Variable->DataRecordCount++; Variable->DataRecordCount++;

View File

@ -1,7 +1,7 @@
/** @file /** @file
Definitions for EFI IPv6 Configuartion Protocol implementation. Definitions for EFI IPv6 Configuartion Protocol implementation.
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR> Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials 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
@ -129,7 +129,7 @@ typedef struct {
typedef struct { typedef struct {
UINT16 Offset; UINT16 Offset;
UINTN DataSize; UINT32 DataSize;
EFI_IP6_CONFIG_DATA_TYPE DataType; EFI_IP6_CONFIG_DATA_TYPE DataType;
} IP6_CONFIG_DATA_RECORD; } IP6_CONFIG_DATA_RECORD;