3 Copyright (c) 2007, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
21 #ifndef __EFI_PXEBC_DRIVER_H__
22 #define __EFI_PXEBC_DRIVER_H__
25 PxeBcDriverBindingSupported (
26 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
27 IN EFI_HANDLE Controller
,
28 IN EFI_DEVICE_PATH_PROTOCOL
*RemainingDevicePath
33 Test to see if this driver supports ControllerHandle.
36 This - Protocol instance pointer.
37 ControllerHandle - Handle of device to test
38 RemainingDevicePath - Optional parameter use to pick a specific child
47 // GC_NOTO: Controller - add argument and description to function comment
52 Start this driver on ControllerHandle.
54 @param This Protocol instance pointer.
55 @param ControllerHandle Handle of device to bind driver to
56 @param RemainingDevicePath Optional parameter use to pick a specific child
60 @return EFI_ALREADY_STARTED
61 @return EFI_OUT_OF_RESOURCES
65 // GC_NOTO: Controller - add argument and description to function comment
67 PxeBcDriverBindingStart (
68 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
69 IN EFI_HANDLE Controller
,
70 IN EFI_DEVICE_PATH_PROTOCOL
*RemainingDevicePath
76 Stop this driver on ControllerHandle.
78 @param This Protocol instance pointer.
79 @param ControllerHandle Handle of device to stop driver on
80 @param NumberOfChildren Number of Handles in ChildHandleBuffer. If number of
81 children is zero stop the entire bus driver.
82 @param ChildHandleBuffer List of Child Handles to Stop.
85 @return EFI_DEVICE_ERROR
89 // GC_NOTO: Controller - add argument and description to function comment
91 PxeBcDriverBindingStop (
92 IN EFI_DRIVER_BINDING_PROTOCOL
*This
,
93 IN EFI_HANDLE Controller
,
94 IN UINTN NumberOfChildren
,
95 IN EFI_HANDLE
*ChildHandleBuffer
99 extern EFI_COMPONENT_NAME2_PROTOCOL gPxeBcComponentName2
;
100 extern EFI_COMPONENT_NAME_PROTOCOL gPxeBcComponentName
;
101 extern EFI_DRIVER_BINDING_PROTOCOL gPxeBcDriverBinding
;