summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Include/Pi/PiPeiCis.h2
-rw-r--r--MdePkg/Include/Ppi/PciCfg2.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/MdePkg/Include/Pi/PiPeiCis.h b/MdePkg/Include/Pi/PiPeiCis.h
index da7c46e..c7cf4ef 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 9897202..7102539 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
);