TianoCore EDK2 master
|
#include <Prm.h>
Go to the source code of this file.
Data Structures | |
struct | PRM_HANDLER_EXPORT_DESCRIPTOR_STRUCT |
struct | PRM_MODULE_EXPORT_DESCRIPTOR_STRUCT_HEADER |
struct | PRM_MODULE_EXPORT_DESCRIPTOR_STRUCT |
Macros | |
#define | PRM_MODULE_EXPORT_DESCRIPTOR_NAME PrmModuleExportDescriptor |
#define | PRM_MODULE_EXPORT_DESCRIPTOR_SIGNATURE SIGNATURE_64 ('P', 'R', 'M', '_', 'M', 'E', 'D', 'T') |
#define | PRM_MODULE_EXPORT_REVISION 0x0 |
#define | PRM_HANDLER_EXPORT_ENTRY(Guid, Name) |
#define | VA_ARG_COUNT(...) (sizeof((PRM_HANDLER_EXPORT_DESCRIPTOR_STRUCT[]){__VA_ARGS__})/sizeof(PRM_HANDLER_EXPORT_DESCRIPTOR_STRUCT)) |
#define | PRM_MODULE_EXPORT(...) |
Definitions for the Platform Runtime Mechanism (PRM) export descriptor structures.
Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PrmExportDescriptor.h.
#define PRM_HANDLER_EXPORT_ENTRY | ( | Guid, | |
Name | |||
) |
A macro that declares a PRM Handler Export Descriptor for a PRM Handler.
This macro is intended to be used once per PRM Handler to describe the handler when the module description is defined. It should be provided as an argument to PRM_MODULE_EXPORT.
Guid | The GUID of the PRM Handler being exported. |
Name | The name of the PRM Handler being exported. This string should exactly match the function name. |
Definition at line 64 of file PrmExportDescriptor.h.
#define PRM_MODULE_EXPORT | ( | ... | ) |
A macro that declares the PRM Module Export Descriptor for a PRM Module.
This macro is intended to be used once in a PRM Module after all of the PRM Handler definitions to describe the PRM Handlers being exported in the module.
PrmHandlerExportEntries | A variable argument list of PRM_HANDLER_EXPORT_ENTRY values. This list should include all PRM Handlers being exported by this module. |
Definition at line 90 of file PrmExportDescriptor.h.
#define PRM_MODULE_EXPORT_DESCRIPTOR_NAME PrmModuleExportDescriptor |
Definition at line 15 of file PrmExportDescriptor.h.
#define PRM_MODULE_EXPORT_DESCRIPTOR_SIGNATURE SIGNATURE_64 ('P', 'R', 'M', '_', 'M', 'E', 'D', 'T') |
Definition at line 16 of file PrmExportDescriptor.h.
#define PRM_MODULE_EXPORT_REVISION 0x0 |
Definition at line 17 of file PrmExportDescriptor.h.
#define VA_ARG_COUNT | ( | ... | ) | (sizeof((PRM_HANDLER_EXPORT_DESCRIPTOR_STRUCT[]){__VA_ARGS__})/sizeof(PRM_HANDLER_EXPORT_DESCRIPTOR_STRUCT)) |
A macro that returns the count of the number of variable-length arguments given.
VariableArgumentList | A variable argument list of elements that will be included in the return value of the list count. |
Definition at line 77 of file PrmExportDescriptor.h.