]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h
a9d62702cf578015e7383d4cd8ef333815ff47ea
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriverOverride / PlatformDriOverrideDxe / PlatformDriOverride.h
1 /** @file
2
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
8
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.
11
12 Module Name:
13
14 PlatformDriOverride.h
15
16 Abstract:
17
18
19 **/
20
21 #ifndef PLATFORM_DRI_OVERRIDE_H_
22 #define PLATFORM_DRI_OVERRIDE_H_
23
24 #include <Uefi.h>
25
26 #include <Library/DebugLib.h>
27 #include <Library/UefiDriverEntryPoint.h>
28 #include <Library/BaseLib.h>
29 #include <Library/PlatDriOverLib.h>
30
31 STATIC
32 EFI_STATUS
33 EFIAPI
34 GetDriver (
35 IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL * This,
36 IN EFI_HANDLE ControllerHandle,
37 IN OUT EFI_HANDLE * DriverImageHandle
38 );
39
40 STATIC
41 EFI_STATUS
42 EFIAPI
43 GetDriverPath (
44 IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL * This,
45 IN EFI_HANDLE ControllerHandle,
46 IN OUT EFI_DEVICE_PATH_PROTOCOL **DriverImagePath
47 );
48
49 STATIC
50 EFI_STATUS
51 EFIAPI
52 DriverLoaded (
53 IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL * This,
54 IN EFI_HANDLE ControllerHandle,
55 IN EFI_DEVICE_PATH_PROTOCOL * DriverImagePath,
56 IN EFI_HANDLE DriverImageHandle
57 );
58 #endif