TianoCore EDK2 master
Loading...
Searching...
No Matches
DriverBinding.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI VirtioFsBindingSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
 
EFI_STATUS EFIAPI VirtioFsBindingStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL)
 
EFI_STATUS EFIAPI VirtioFsBindingStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer OPTIONAL)
 
EFI_STATUS EFIAPI VirtioFsGetDriverName (IN EFI_COMPONENT_NAME2_PROTOCOL *This, IN CHAR8 *Language, OUT CHAR16 **DriverName)
 
EFI_STATUS EFIAPI VirtioFsGetControllerName (IN EFI_COMPONENT_NAME2_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_HANDLE ChildHandle OPTIONAL, IN CHAR8 *Language, OUT CHAR16 **ControllerName)
 
EFI_STATUS EFIAPI VirtioFsEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

STATIC EFI_DRIVER_BINDING_PROTOCOL mDriverBinding
 
STATIC EFI_COMPONENT_NAME2_PROTOCOL mComponentName2
 

Detailed Description

Provide EFI_SIMPLE_FILE_SYSTEM_PROTOCOL instances on virtio-fs devices.

Copyright (C) 2020, Red Hat, Inc.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file DriverBinding.c.

Function Documentation

◆ VirtioFsBindingStart()

EFI_STATUS EFIAPI VirtioFsBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath  OPTIONAL 
)

Definition at line 67 of file DriverBinding.c.

◆ VirtioFsBindingStop()

EFI_STATUS EFIAPI VirtioFsBindingStop ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN UINTN  NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer  OPTIONAL 
)

Definition at line 157 of file DriverBinding.c.

◆ VirtioFsBindingSupported()

EFI_STATUS EFIAPI VirtioFsBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath  OPTIONAL 
)

Definition at line 28 of file DriverBinding.c.

◆ VirtioFsEntryPoint()

EFI_STATUS EFIAPI VirtioFsEntryPoint ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Definition at line 251 of file DriverBinding.c.

◆ VirtioFsGetControllerName()

EFI_STATUS EFIAPI VirtioFsGetControllerName ( IN EFI_COMPONENT_NAME2_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN EFI_HANDLE ChildHandle  OPTIONAL,
IN CHAR8 *  Language,
OUT CHAR16 **  ControllerName 
)

Definition at line 235 of file DriverBinding.c.

◆ VirtioFsGetDriverName()

EFI_STATUS EFIAPI VirtioFsGetDriverName ( IN EFI_COMPONENT_NAME2_PROTOCOL This,
IN CHAR8 *  Language,
OUT CHAR16 **  DriverName 
)

Definition at line 215 of file DriverBinding.c.

Variable Documentation

◆ mComponentName2

Definition at line 21 of file DriverBinding.c.

◆ mDriverBinding

Definition at line 20 of file DriverBinding.c.