XenevaOS
Loading...
Searching...
No Matches
SuperIo.h
Go to the documentation of this file.
1
18#ifndef __EFI_SUPER_IO_PPI_H__
19#define __EFI_SUPER_IO_PPI_H__
20
21#include <Protocol/SuperIo.h>
22
23#define EFI_SIO_PPI_GUID \
24 { \
25 0x23a464ad, 0xcb83, 0x48b8, {0x94, 0xab, 0x1a, 0x6f, 0xef, 0xcf, 0xe5, 0x22} \
26 }
27
29typedef struct _EFI_SIO_PPI *PEFI_SIO_PPI;
30
32#define EFI_SIO_REG(ldn,reg) (EFI_SIO_REGISTER) (((ldn) << 8) | reg)
33#define EFI_SIO_LDN_GLOBAL 0xFF
34
63typedef
66 IN EFI_PEI_SERVICES **PeiServices,
67 IN CONST EFI_SIO_PPI *This,
68 IN BOOLEAN ExitCfgMode,
69 IN EFI_SIO_REGISTER Register,
70 OUT UINT8 *IoData
71 );
72
101typedef
104 IN EFI_PEI_SERVICES **PeiServices,
105 IN CONST EFI_SIO_PPI *This,
106 IN BOOLEAN ExitCfgMode,
107 IN EFI_SIO_REGISTER Register,
108 IN UINT8 IoData
109 );
110
133typedef
136 IN EFI_PEI_SERVICES **PeiServices,
137 IN CONST EFI_SIO_PPI *This,
139 IN UINTN NumberOfCommands
140 );
141
145#define EFI_ACPI_PNP_HID_END EFI_PNP_ID (0x0000)
146
149#pragma pack(1)
155#pragma pack()
156
186
188
189#endif
UINT64 UINTN
Definition ProcessorBind.h:118
#define EFIAPI
Definition ProcessorBind.h:172
unsigned int UINT32
Definition ProcessorBind.h:102
#define CONST
Definition Base.h:327
#define IN
Definition Base.h:347
#define OUT
Definition Base.h:352
EFI_STATUS(EFIAPI * EFI_PEI_SIO_REGISTER_READ)(IN EFI_PEI_SERVICES **PeiServices, IN CONST EFI_SIO_PPI *This, IN BOOLEAN ExitCfgMode, IN EFI_SIO_REGISTER Register, OUT UINT8 *IoData)
Definition SuperIo.h:65
EFI_STATUS(EFIAPI * EFI_PEI_SIO_REGISTER_MODIFY)(IN EFI_PEI_SERVICES **PeiServices, IN CONST EFI_SIO_PPI *This, IN CONST EFI_SIO_REGISTER_MODIFY *Command, IN UINTN NumberOfCommands)
Definition SuperIo.h:135
struct _EFI_SIO_INFO * PEFI_SIO_INFO
UINT16 EFI_SIO_REGISTER
Definition SuperIo.h:31
UINT32 EFI_ACPI_UID
Definition SuperIo.h:148
UINT32 EFI_ACPI_HID
Definition SuperIo.h:147
struct _EFI_SIO_INFO EFI_SIO_INFO
EFI_GUID gEfiSioPpiGuid
EFI_STATUS(EFIAPI * EFI_PEI_SIO_REGISTER_WRITE)(IN EFI_PEI_SERVICES **PeiServices, IN CONST EFI_SIO_PPI *This, IN BOOLEAN ExitCfgMode, IN EFI_SIO_REGISTER Register, IN UINT8 IoData)
Definition SuperIo.h:103
struct _EFI_SIO_PPI * PEFI_SIO_PPI
Definition SuperIo.h:29
RETURN_STATUS EFI_STATUS
Definition UefiBaseType.h:33
unsigned short UINT16
Definition actypes.h:237
unsigned char BOOLEAN
Definition actypes.h:235
unsigned char UINT8
Definition actypes.h:236
Definition SuperIo.h:31
Definition Base.h:281
Definition PiPeiCis.h:889
Definition SuperIo.h:150
EFI_ACPI_HID Hid
Definition SuperIo.h:151
UINT8 Ldn
Definition SuperIo.h:153
EFI_ACPI_UID Uid
Definition SuperIo.h:152
Definition SuperIo.h:163
EFI_PEI_SIO_REGISTER_WRITE Write
Definition SuperIo.h:171
EFI_PEI_SIO_REGISTER_READ Read
Definition SuperIo.h:167
EFI_PEI_SIO_REGISTER_MODIFY Modify
Definition SuperIo.h:176
PEFI_SIO_INFO Info
Definition SuperIo.h:184
EFI_GUID SioGuid
Definition SuperIo.h:180