TianoCore EDK2 master
Loading...
Searching...
No Matches
EmuBusDriverDxe.c File Reference
#include "EmuBusDriverDxe.h"

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI EmuBusDriverBindingSupported (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
 
EFI_STATUS EFIAPI EmuBusDriverBindingStart (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath)
 
EFI_STATUS EFIAPI EmuBusDriverBindingStop (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE ControllerHandle, IN UINTN NumberOfChildren, IN EFI_HANDLE *ChildHandleBuffer)
 
EFI_DEVICE_PATH_PROTOCOLEmuBusCreateDevicePath (IN EFI_DEVICE_PATH_PROTOCOL *RootDevicePath, IN EFI_GUID *Guid, IN UINT16 InstanceNumber)
 
EFI_STATUS EFIAPI InitializeEmuBusDriver (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Variables

EFI_DRIVER_BINDING_PROTOCOL gEmuBusDriverBinding
 

Detailed Description

Emu Bus driver

Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
Portions copyright (c) 2011, Apple Inc. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file EmuBusDriverDxe.c.

Function Documentation

◆ EmuBusCreateDevicePath()

EFI_DEVICE_PATH_PROTOCOL * EmuBusCreateDevicePath ( IN EFI_DEVICE_PATH_PROTOCOL RootDevicePath,
IN EFI_GUID Guid,
IN UINT16  InstanceNumber 
)

Definition at line 458 of file EmuBusDriverDxe.c.

◆ EmuBusDriverBindingStart()

EFI_STATUS EFIAPI EmuBusDriverBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL RemainingDevicePath 
)

Definition at line 123 of file EmuBusDriverDxe.c.

◆ EmuBusDriverBindingStop()

EFI_STATUS EFIAPI EmuBusDriverBindingStop ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN UINTN  NumberOfChildren,
IN EFI_HANDLE ChildHandleBuffer 
)

Definition at line 315 of file EmuBusDriverDxe.c.

◆ EmuBusDriverBindingSupported()

EFI_STATUS EFIAPI EmuBusDriverBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL This,
IN EFI_HANDLE  ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL RemainingDevicePath 
)

Definition at line 27 of file EmuBusDriverDxe.c.

◆ InitializeEmuBusDriver()

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

The user Entry Point for module EmuBusDriver. The user code starts with this function.

Parameters
[in]ImageHandleThe firmware allocated handle for the EFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values
EFI_SUCCESSThe entry point is executed successfully.
otherSome error occurs when executing this entry point.

Definition at line 499 of file EmuBusDriverDxe.c.

Variable Documentation

◆ gEmuBusDriverBinding

EFI_DRIVER_BINDING_PROTOCOL gEmuBusDriverBinding
Initial value:
= {
EmuBusDriverBindingSupported,
EmuBusDriverBindingStart,
EmuBusDriverBindingStop,
0xa,
}
#define NULL
Definition: Base.h:319

Definition at line 16 of file EmuBusDriverDxe.c.