TianoCore EDK2 master
Loading...
Searching...
No Matches
PrmAcpiTable.h File Reference
#include <Base.h>
#include <IndustryStandard/Acpi10.h>

Go to the source code of this file.

Data Structures

struct  PRM_HANDLER_INFORMATION_STRUCT
 
struct  PRM_MODULE_INFORMATION_STRUCT
 
struct  PRM_ACPI_DESCRIPTION_TABLE
 

Macros

#define PRM_TABLE_SIGNATURE   SIGNATURE_32 ('P', 'R', 'M', 'T')
 
#define PRM_TABLE_REVISION   0x0
 
#define PRM_MODULE_INFORMATION_STRUCT_REVISION   0x00
 
#define PRM_HANDLER_INFORMATION_STRUCT_REVISION   0x00
 
#define PRM_MODULE_INFORMATION_STRUCTURE(ModuleGuid, ModuleRevision, HandlerCount, PrmHanderInfoStructureArray)
 
#define PRM_HANDLER_INFORMATION_STRUCTURE(HandlerGuid, PhysicalAddress)
 

Detailed Description

Definition for the Platform Runtime Mechanism (PRM) ACPI table (PRMT).

Copyright (c) 2020, Intel Corporation. All rights reserved.
Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PrmAcpiTable.h.

Macro Definition Documentation

◆ PRM_HANDLER_INFORMATION_STRUCT_REVISION

#define PRM_HANDLER_INFORMATION_STRUCT_REVISION   0x00

Definition at line 21 of file PrmAcpiTable.h.

◆ PRM_HANDLER_INFORMATION_STRUCTURE

#define PRM_HANDLER_INFORMATION_STRUCTURE (   HandlerGuid,
  PhysicalAddress 
)
Value:
{ \
{ \
PRM_HANDLER_INFORMATION_STRUCT_REVISION, /* UINT16 StructureRevision; */ \
sizeof (PRM_HANDLER_INFORMATION_STRUCT), /* UINT16 StructureLength; */ \
HandlerGuid, /* GUID HandlerGuid; */ \
PhysicalAddress, /* UINT64 PhysicalAddress */ \
} \
}

Definition at line 87 of file PrmAcpiTable.h.

◆ PRM_MODULE_INFORMATION_STRUCT_REVISION

#define PRM_MODULE_INFORMATION_STRUCT_REVISION   0x00

Definition at line 20 of file PrmAcpiTable.h.

◆ PRM_MODULE_INFORMATION_STRUCTURE

#define PRM_MODULE_INFORMATION_STRUCTURE (   ModuleGuid,
  ModuleRevision,
  HandlerCount,
  PrmHanderInfoStructureArray 
)
Value:
{ \
{ \
PRM_MODULE_INFORMATION_STRUCT_REVISION, /* UINT16 StructureRevision; */ \
(OFFSET_OF (PRM_MODULE_INFORMATION_STRUCT, HandlerInfoStructure) + (HandlerCount * sizeof (PRM_HANDLER_INFORMATION_STRUCT))) /* UINT16 StructureLength; */ \
ModuleGuid, /* GUID ModuleGuid; */ \
ModuleRevision, /* UINT16 ModuleRevision */ \
HandlerCount, /* UINT16 HandlerCount */ \
OFFSET_OF (PRM_MODULE_INFORMATION_STRUCT, HandlerInfoOffset), /* UINT32 HandlerInfoOffset */ \
PrmHanderInfoStructureArray /* PRM_HANDLER_INFORMATION_STRUCT HandlerInfoStructure */ \
} \
}
#define OFFSET_OF(TYPE, Field)
Definition: Base.h:758

Definition at line 75 of file PrmAcpiTable.h.

◆ PRM_TABLE_REVISION

#define PRM_TABLE_REVISION   0x0

Definition at line 19 of file PrmAcpiTable.h.

◆ PRM_TABLE_SIGNATURE

#define PRM_TABLE_SIGNATURE   SIGNATURE_32 ('P', 'R', 'M', 'T')

Definition at line 17 of file PrmAcpiTable.h.