TianoCore EDK2 master
Loading...
Searching...
No Matches
SioBusDxe.h
Go to the documentation of this file.
1
11#ifndef __SIO_BUS_DXE_H__
12#define __SIO_BUS_DXE_H__
13
14#include <Uefi.h>
15
17
18#include <Protocol/PciIo.h>
19#include <Protocol/SuperIo.h>
20
22#include <Library/UefiLib.h>
24#include <Library/DebugLib.h>
29
30#include "SioService.h"
31
32//
33// SIO Bus driver private data structure
34//
35typedef struct {
37 UINT64 OriginalAttributes;
39
40//
41// Global Variables
42//
43extern EFI_COMPONENT_NAME_PROTOCOL gSioBusComponentName;
44extern EFI_COMPONENT_NAME2_PROTOCOL gSioBusComponentName2;
45
46//
47// EFI Component Name Functions
48//
49
85EFIAPI
88 IN CHAR8 *Language,
89 OUT CHAR16 **DriverName
90 );
91
152EFIAPI
155 IN EFI_HANDLE ControllerHandle,
156 IN EFI_HANDLE ChildHandle OPTIONAL,
157 IN CHAR8 *Language,
158 OUT CHAR16 **ControllerName
159 );
160
161//
162// Driver Binding Protocol interfaces
163//
164
219EFIAPI
222 IN EFI_HANDLE Controller,
223 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
224 );
225
273EFIAPI
276 IN EFI_HANDLE Controller,
277 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
278 );
279
314EFIAPI
317 IN EFI_HANDLE Controller,
318 IN UINTN NumberOfChildren,
319 IN EFI_HANDLE *ChildHandleBuffer
320 );
321
322#endif // __SIO_BUS_DXE_H__
UINT64 UINTN
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS EFIAPI SioBusDriverBindingStop(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer)
Definition: SioBusDxe.c:450
EFI_STATUS EFIAPI SioBusDriverBindingSupported(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
Definition: SioBusDxe.c:80
EFI_STATUS EFIAPI SioBusComponentNameGetControllerName(IN EFI_COMPONENT_NAME_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName)
EFI_STATUS EFIAPI SioBusComponentNameGetDriverName(IN EFI_COMPONENT_NAME_PROTOCOL *This, IN CHAR8 *Language, OUT CHAR16 **DriverName)
Definition: ComponentName.c:74
EFI_STATUS EFIAPI SioBusDriverBindingStart(IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Controller, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
Definition: SioBusDxe.c:215
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33