--- /dev/null
+/** @file\r
+ Include file matches things in PI.\r
+\r
+Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+#ifndef MDE_MODULEPKG_PRE_PI_DXE_CIS_H_\r
+#define MDE_MODULEPKG_PRE_PI_DXE_CIS_H_\r
+\r
+///\r
+/// A memory region that describes system memory that has not been accepted\r
+/// by a corresponding call to the underlying isolation architecture.\r
+///\r
+/// This memory region has not been defined in PI spec, so it is defined in\r
+/// PrePiDxeCis.h. And it is defined in the format of captial letters\r
+/// because only capital letters are allowed to be used for #define declarations.\r
+///\r
+/// After this memory region is defined in PI spec, it should be a value in\r
+/// EFI_GCD_MEMORY_TYPE in PiDxeCis.h.\r
+///\r
+#define EFI_GCD_MEMORY_TYPE_UNACCEPTED 7\r
+\r
+#endif\r
/// system. If all memory has the same reliability, then this bit is not used.\r
///\r
EfiGcdMemoryTypeMoreReliable,\r
- EfiGcdMemoryTypeMaximum\r
+ // ///\r
+ // /// A memory region that describes system memory that has not been accepted\r
+ // /// by a corresponding call to the underlying isolation architecture.\r
+ // ///\r
+ // /// Please be noted:\r
+ // /// EfiGcdMemoryTypeUnaccepted is defined in PrePiDxeCis.h because it has not been\r
+ // /// defined in PI spec.\r
+ // EfiGcdMemoryTypeUnaccepted,\r
+ EfiGcdMemoryTypeMaximum = 8\r
} EFI_GCD_MEMORY_TYPE;\r
\r
///\r
/// however it happens to also support byte-addressable non-volatility.\r
///\r
EfiPersistentMemory,\r
+ ///\r
+ /// A memory region that describes system memory that has not been accepted\r
+ /// by a corresponding call to the underlying isolation architecture.\r
+ ///\r
+ EfiUnacceptedMemoryType,\r
EfiMaxMemoryType\r
} EFI_MEMORY_TYPE;\r
\r