summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/Protocol/SmmSwDispatch2.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Protocol/SmmSwDispatch2.h')
-rw-r--r--MdePkg/Include/Protocol/SmmSwDispatch2.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/MdePkg/Include/Protocol/SmmSwDispatch2.h b/MdePkg/Include/Protocol/SmmSwDispatch2.h
index f264bb3e43..d0db953f06 100644
--- a/MdePkg/Include/Protocol/SmmSwDispatch2.h
+++ b/MdePkg/Include/Protocol/SmmSwDispatch2.h
@@ -15,7 +15,7 @@
#include <Protocol/MmSwDispatch.h>
#include <Pi/PiSmmCis.h>
-#define EFI_SMM_SW_DISPATCH2_PROTOCOL_GUID EFI_MM_SW_DISPATCH_PROTOCOL_GUID
+#define EFI_SMM_SW_DISPATCH2_PROTOCOL_GUID EFI_MM_SW_DISPATCH_PROTOCOL_GUID
///
/// A particular chipset may not support all possible software SMI input values.
@@ -23,7 +23,7 @@
/// child registration for each SwSmiInputValue.
///
typedef struct {
- UINTN SwSmiInputValue;
+ UINTN SwSmiInputValue;
} EFI_SMM_SW_REGISTER_CONTEXT;
///
@@ -36,18 +36,18 @@ typedef struct {
///
/// The 0-based index of the CPU which generated the software SMI.
///
- UINTN SwSmiCpuIndex;
+ UINTN SwSmiCpuIndex;
///
/// This value corresponds directly to the CommandPort parameter used in the call to Trigger().
///
- UINT8 CommandPort;
+ UINT8 CommandPort;
///
/// This value corresponds directly to the DataPort parameter used in the call to Trigger().
///
- UINT8 DataPort;
+ UINT8 DataPort;
} EFI_SMM_SW_CONTEXT;
-typedef struct _EFI_SMM_SW_DISPATCH2_PROTOCOL EFI_SMM_SW_DISPATCH2_PROTOCOL;
+typedef struct _EFI_SMM_SW_DISPATCH2_PROTOCOL EFI_SMM_SW_DISPATCH2_PROTOCOL;
/**
Register a child SMI source dispatch function for the specified software SMI.
@@ -104,7 +104,7 @@ EFI_STATUS
(EFIAPI *EFI_SMM_SW_UNREGISTER2)(
IN CONST EFI_SMM_SW_DISPATCH2_PROTOCOL *This,
IN EFI_HANDLE DispatchHandle
-);
+ );
///
/// Interface structure for the SMM Software SMI Dispatch Protocol.
@@ -114,15 +114,15 @@ EFI_STATUS
/// interrupt in the EFI_SMM_SW_REGISTER_CONTEXT is denoted by MaximumSwiValue.
///
struct _EFI_SMM_SW_DISPATCH2_PROTOCOL {
- EFI_SMM_SW_REGISTER2 Register;
- EFI_SMM_SW_UNREGISTER2 UnRegister;
+ EFI_SMM_SW_REGISTER2 Register;
+ EFI_SMM_SW_UNREGISTER2 UnRegister;
///
/// A read-only field that describes the maximum value that can be used in the
/// EFI_SMM_SW_DISPATCH2_PROTOCOL.Register() service.
///
- UINTN MaximumSwiValue;
+ UINTN MaximumSwiValue;
};
-extern EFI_GUID gEfiSmmSwDispatch2ProtocolGuid;
+extern EFI_GUID gEfiSmmSwDispatch2ProtocolGuid;
#endif