TianoCore EDK2 master
Loading...
Searching...
No Matches
PrmModule.h File Reference
#include <Prm.h>
#include <PrmContextBuffer.h>
#include <PrmDataBuffer.h>
#include <PrmExportDescriptor.h>
#include <PrmMmio.h>

Go to the source code of this file.

Macros

#define PRM_HANDLER_EXPORT(Name)
 

Detailed Description

Common definitions needed for Platform Runtime Mechanism (PRM) modules.

Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file PrmModule.h.

Macro Definition Documentation

◆ PRM_HANDLER_EXPORT

#define PRM_HANDLER_EXPORT (   Name)
Value:
STATIC_ASSERT (sizeof (PRM_STRING_(Name)) <= PRM_HANDLER_NAME_MAXIMUM_LENGTH, "The PRM handler exceeds the maximum allowed size of 128."); \
\ \
EFI_STATUS \
PRM_EXPORT_API \
EFIAPI \
Name ( \
IN VOID *ParameterBuffer, \
IN PRM_CONTEXT_BUFFER *ContextBuffer \
) \
#define STATIC_ASSERT
Definition: Base.h:808
#define IN
Definition: Base.h:279

Macro that provides a condensed form of a PRM Handler.

This macro can be used to define a PRM Handler that uses the standard PRM Handle signature. It is simply provided for convenience.

Definition at line 26 of file PrmModule.h.