TianoCore EDK2 master
Loading...
Searching...
No Matches
PchSmiDispatchSmm.h
Go to the documentation of this file.
1
9#ifndef SMM_SW_DISPATCH2_H_
10#define SMM_SW_DISPATCH2_H_
11
12#include <PiDxe.h>
14#include <Protocol/SmmCpu.h>
17#include <Library/BaseLib.h>
18#include <Library/IoLib.h>
19#include <Library/DebugLib.h>
21#include <Library/HobLib.h>
22
23#define SMI_SW_HANDLER_SIGNATURE SIGNATURE_32('s','s','w','h')
24#define MAXIMUM_SWI_VALUE 0xFF
25#define SMM_CONTROL_PORT 0xB2
26#define SMM_DATA_PORT 0xB3
27
28typedef struct {
29 UINTN Signature;
30 LIST_ENTRY Link;
31 EFI_HANDLE DispatchHandle;
32 UINTN SwSmiInputValue;
33 UINTN DispatchFunction;
35
36#endif
UINT64 UINTN
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33