From ef4fa1a4159070742c18e0fcc57f4cb3a3b7c236 Mon Sep 17 00:00:00 2001 From: yshang1 Date: Tue, 24 Jul 2007 09:05:24 +0000 Subject: Update the definition of PEI_SERVICES_REVISION. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3418 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Pi/PiPeiCis.h | 2 +- MdePkg/Include/Ppi/PciCfg2.h | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Include/Pi/PiPeiCis.h b/MdePkg/Include/Pi/PiPeiCis.h index da7c46e587..c7cf4ef6cc 100644 --- a/MdePkg/Include/Pi/PiPeiCis.h +++ b/MdePkg/Include/Pi/PiPeiCis.h @@ -682,7 +682,7 @@ EFI_STATUS // PEI Services Table // #define PEI_SERVICES_SIGNATURE 0x5652455320494550 -#define PEI_SERVICES_REVISION (PEI_SPECIFICATION_MAJOR_REVISION<<16) | (PEI_SPECIFICATION_MINOR_REVISION) +#define PEI_SERVICES_REVISION ((PEI_SPECIFICATION_MAJOR_REVISION<<16) | (PEI_SPECIFICATION_MINOR_REVISION)) struct _EFI_PEI_SERVICES { EFI_TABLE_HEADER Hdr; diff --git a/MdePkg/Include/Ppi/PciCfg2.h b/MdePkg/Include/Ppi/PciCfg2.h index 989720234c..7102539c2a 100644 --- a/MdePkg/Include/Ppi/PciCfg2.h +++ b/MdePkg/Include/Ppi/PciCfg2.h @@ -83,8 +83,8 @@ EFI_STATUS (EFIAPI *EFI_PEI_PCI_CFG2_PPI_IO) ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, - IN CONST EFI_PEI_PCI_CFG_PPI_WIDTH Width, - IN CONST UINT64 Address, + IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, + IN UINT64 Address, IN OUT VOID *Buffer ); @@ -123,8 +123,8 @@ EFI_STATUS (EFIAPI *EFI_PEI_PCI_CFG2_PPI_RW) ( IN CONST EFI_PEI_SERVICES **PeiServices, IN CONST EFI_PEI_PCI_CFG2_PPI *This, - IN CONST EFI_PEI_PCI_CFG_PPI_WIDTH Width, - IN CONST UINT64 Address, + IN EFI_PEI_PCI_CFG_PPI_WIDTH Width, + IN UINT64 Address, IN CONST VOID *SetBits, IN CONST VOID *ClearBits ); -- cgit v1.2.3