TianoCore EDK2 master
Loading...
Searching...
No Matches
MmCpuIo.h
Go to the documentation of this file.
1
11#ifndef _MM_CPU_IO_H_
12#define _MM_CPU_IO_H_
13
14#define EFI_MM_CPU_IO_PROTOCOL_GUID \
15 { \
16 0x3242A9D8, 0xCE70, 0x4AA0, { 0x95, 0x5D, 0x5E, 0x7B, 0x14, 0x0D, 0xE4, 0xD2 } \
17 }
18
20
24typedef enum {
25 MM_IO_UINT8 = 0,
26 MM_IO_UINT16 = 1,
27 MM_IO_UINT32 = 2,
28 MM_IO_UINT64 = 3
30
53typedef
55(EFIAPI *EFI_MM_CPU_IO)(
57 IN EFI_MM_IO_WIDTH Width,
58 IN UINT64 Address,
59 IN UINTN Count,
60 IN OUT VOID *Buffer
61 );
62
63typedef struct {
73
86};
87
88extern EFI_GUID gEfiMmCpuIoProtocolGuid;
89
90#endif
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_MM_CPU_IO)(IN CONST EFI_MM_CPU_IO_PROTOCOL *This, IN EFI_MM_IO_WIDTH Width, IN UINT64 Address, IN UINTN Count, IN OUT VOID *Buffer)
Definition: MmCpuIo.h:55
EFI_MM_IO_WIDTH
Definition: MmCpuIo.h:24
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
EFI_MM_IO_ACCESS Mem
Definition: MmCpuIo.h:81
EFI_MM_IO_ACCESS Io
Definition: MmCpuIo.h:85
EFI_MM_CPU_IO Write
Definition: MmCpuIo.h:71
EFI_MM_CPU_IO Read
Definition: MmCpuIo.h:67
Definition: Base.h:213