Re: [PATCH v2 1/8] MdePkg: Fix IORT header file include guard

Michael D Kinney

Hi Sami,

The include guard pattern is present everywhere. No sure it makes sense to start fixing these one at a time.

The #pragma once may be a better long term solution and may improve build times slightly.

Best regards,


-----Original Message-----
From: Sami Mujawar <>
Sent: Thursday, June 17, 2021 2:56 AM
Cc: Sami Mujawar <>;;;;; Kinney, Michael D <>;; Liu, Zhiguang
<>; Ni, Ray <>; Gao, Zhichao <>;
Subject: [PATCH v2 1/8] MdePkg: Fix IORT header file include guard

According to section 5.3.5, EDK II C Coding Standards Specification
the header file guard names must not be prefixed with underscores as
they are reserved for compiler implementation.

Therefore, fix the header file include guard as per the specification

Signed-off-by: Sami Mujawar <>

- No code change since v1. Re-sending with v2 series. [SAMI]

MdePkg/Include/IndustryStandard/IoRemappingTable.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/MdePkg/Include/IndustryStandard/IoRemappingTable.h b/MdePkg/Include/IndustryStandard/IoRemappingTable.h
index 90504e3a6715be7facc6450c6ff0e1eab92cd3c7..731217441438a00dd5ff0bedf2010598d48d6dbf 100644
--- a/MdePkg/Include/IndustryStandard/IoRemappingTable.h
+++ b/MdePkg/Include/IndustryStandard/IoRemappingTable.h
@@ -9,8 +9,8 @@
SPDX-License-Identifier: BSD-2-Clause-Patent


#include <IndustryStandard/Acpi.h>


Join to automatically receive all group messages.