Path: blob/main/sys/contrib/edk2/Include/Guid/MemoryAttributesTable.h
96339 views
/** @file1GUIDs used for UEFI Memory Attributes Table in the UEFI 2.6 specification.23Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>4SPDX-License-Identifier: BSD-2-Clause-Patent56**/78#ifndef __UEFI_MEMORY_ATTRIBUTES_TABLE_H__9#define __UEFI_MEMORY_ATTRIBUTES_TABLE_H__1011#define EFI_MEMORY_ATTRIBUTES_TABLE_GUID {\120xdcfa911d, 0x26eb, 0x469f, {0xa2, 0x20, 0x38, 0xb7, 0xdc, 0x46, 0x12, 0x20} \13}1415typedef struct {16UINT32 Version;17UINT32 NumberOfEntries;18UINT32 DescriptorSize;19UINT32 Flags;20// EFI_MEMORY_DESCRIPTOR Entry[1];21} EFI_MEMORY_ATTRIBUTES_TABLE;2223#define EFI_MEMORY_ATTRIBUTES_TABLE_VERSION 0x000000022425#define EFI_MEMORY_ATTRIBUTES_FLAGS_RT_FORWARD_CONTROL_FLOW_GUARD 0x126// BIT0 implies that Runtime code includes the forward control flow guard27// instruction, such as X86 CET-IBT or ARM BTI.2829extern EFI_GUID gEfiMemoryAttributesTableGuid;3031#endif323334