MdePkg/Include/Uefi/UefiTcgPlatform.h:

MdePkg/Include/Protocol/TcgService.h:
MdePkg/Include/IndustryStandard/Tpm12.h:
* Remove usage of '#pragma push' unsupported usage which is not
  supported by GCC.

MdeModulePkg/Universal/Network/PxeBcDxe/Pxe_bc_dhcp.c:
* Fix a warning encountered with GCC/IPF when Index2 (as a INT8) is
  used as an index to an array on lines 2020 & 2028.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5905 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2008-09-16 16:53:12 +00:00
parent bab3f2d3ac
commit a04ad3f01f
4 changed files with 7 additions and 7 deletions

View File

@ -2101,7 +2101,7 @@ DoDhcpDora (
// now look for DHCP onlys and a Proxy
//
for (Index = 0; Index < NumOffers; ++Index) {
INT8 Index2;
INTN Index2;
//
// ignore proxies, bootps, non DHCP onlys, and bootable DHCPS

View File

@ -25,7 +25,7 @@
// Structures are all packed on 1-byte alignment
//
#pragma pack (push, 1)
#pragma pack (1)
//
// Part 2, section 2.2: Basic types & Helper redefinitions
@ -1835,6 +1835,6 @@ typedef struct tdTPM_RSP_COMMAND_HDR {
TPM_RESULT returnCode;
} TPM_RSP_COMMAND_HDR;
#pragma pack (pop)
#pragma pack ()
#endif // _TPM12_H_

View File

@ -26,7 +26,7 @@ typedef struct _EFI_TCG_PROTOCOL EFI_TCG_PROTOCOL;
//
// Set structure alignment to 1-byte
//
#pragma pack (push, 1)
#pragma pack (1)
typedef struct {
UINT8 Major;
@ -50,7 +50,7 @@ typedef UINT32 TCG_ALGORITHM_ID;
//
// Restore original structure alignment
//
#pragma pack (pop)
#pragma pack ()
/**
This service provides EFI protocol capability information, state information

View File

@ -56,7 +56,7 @@
//
// Set structure alignment to 1-byte
//
#pragma pack (push, 1)
#pragma pack (1)
typedef UINT32 TCG_EVENTTYPE;
@ -144,7 +144,7 @@ typedef struct tdEFI_GPT_DATA {
//
// Restore original structure alignment
//
#pragma pack (pop)
#pragma pack ()
#endif