TianoCore EDK2 master
Loading...
Searching...
No Matches
InternalPlatDriOverrideDxe.h
Go to the documentation of this file.
1
10#ifndef _INTERNAL_PLATFORM_DRIVER_OVERRIDE_H_
11#define _INTERNAL_PLATFORM_DRIVER_OVERRIDE_H_
12
13#include <PiDxe.h>
14
21#include <Protocol/PciIo.h>
26#include <Protocol/DevicePath.h>
28#include <Guid/MdeModuleHii.h>
29#include <Guid/VariableFormat.h>
30
31#include <Library/BaseLib.h>
32#include <Library/DebugLib.h>
33#include <Library/UefiLib.h>
34#include <Library/PrintLib.h>
42#include <Library/HiiLib.h>
43
54EFIAPI
56 IN OUT LIST_ENTRY *MappingDataBase
57 )
58;
59
73EFIAPI
75 OUT LIST_ENTRY *MappingDataBase
76 )
77;
78
90EFIAPI
92 IN LIST_ENTRY *MappingDataBase
93 )
94;
95
121EFIAPI
123 IN EFI_HANDLE ControllerHandle,
124 IN OUT EFI_HANDLE *DriverImageHandle,
125 IN LIST_ENTRY *MappingDataBase,
126 IN EFI_HANDLE CallerImageHandle
127 )
128;
129
148EFIAPI
150 IN EFI_DEVICE_PATH_PROTOCOL *ControllerDevicePath,
151 IN EFI_DEVICE_PATH_PROTOCOL *DriverImageDevicePath OPTIONAL,
152 IN LIST_ENTRY *MappingDataBase,
153 OUT UINT32 *DriverInfoNum OPTIONAL,
154 OUT UINT32 *DriverImageNO OPTIONAL
155 )
156;
157
178EFIAPI
180 IN EFI_DEVICE_PATH_PROTOCOL *ControllerDevicePath,
181 IN EFI_DEVICE_PATH_PROTOCOL *DriverImageDevicePath,
182 IN LIST_ENTRY *MappingDataBase,
183 IN UINT32 DriverImageNO
184 )
185;
186
203EFIAPI
205 IN EFI_DEVICE_PATH_PROTOCOL *ControllerDevicePath,
206 IN EFI_DEVICE_PATH_PROTOCOL *DriverImageDevicePath,
207 IN LIST_ENTRY *MappingDataBase
208 )
209;
210
211#endif
EFI_STATUS EFIAPI DeleteDriverImage(IN EFI_DEVICE_PATH_PROTOCOL *ControllerDevicePath, IN EFI_DEVICE_PATH_PROTOCOL *DriverImageDevicePath, IN LIST_ENTRY *MappingDataBase)
EFI_STATUS EFIAPI FreeMappingDatabase(IN OUT LIST_ENTRY *MappingDataBase)
EFI_STATUS EFIAPI SaveOverridesMapping(IN LIST_ENTRY *MappingDataBase)
EFI_STATUS EFIAPI CheckMapping(IN EFI_DEVICE_PATH_PROTOCOL *ControllerDevicePath, IN EFI_DEVICE_PATH_PROTOCOL *DriverImageDevicePath OPTIONAL, IN LIST_ENTRY *MappingDataBase, OUT UINT32 *DriverInfoNum OPTIONAL, OUT UINT32 *DriverImageNO OPTIONAL)
EFI_STATUS EFIAPI InsertDriverImage(IN EFI_DEVICE_PATH_PROTOCOL *ControllerDevicePath, IN EFI_DEVICE_PATH_PROTOCOL *DriverImageDevicePath, IN LIST_ENTRY *MappingDataBase, IN UINT32 DriverImageNO)
EFI_STATUS EFIAPI InitOverridesMapping(OUT LIST_ENTRY *MappingDataBase)
EFI_STATUS EFIAPI GetDriverFromMapping(IN EFI_HANDLE ControllerHandle, IN OUT EFI_HANDLE *DriverImageHandle, IN LIST_ENTRY *MappingDataBase, IN EFI_HANDLE CallerImageHandle)
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33