Add VFR compiler Path for x64 & IPF arch.
[mirror_edk2.git] / MdeModulePkg / Universal / Console / ConPlatformDxe / ConPlatform.h
CommitLineData
95276127 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 ConPlatform.h\r
15 \r
16Abstract:\r
17\r
18--*/\r
19\r
20#ifndef CON_MANAGE_H_\r
21#define CON_MANAGE_H_\r
22\r
23//\r
24// Include common header file for this module.\r
25//\r
26#include "CommonHeader.h"\r
27\r
28#define VarConsoleInpDev L"ConInDev"\r
29#define VarConsoleInp L"ConIn"\r
30#define VarConsoleOutDev L"ConOutDev"\r
31#define VarConsoleOut L"ConOut"\r
32#define VarErrorOutDev L"ErrOutDev"\r
33#define VarErrorOut L"ErrOut"\r
34\r
35typedef enum {\r
36 CHECK,\r
37 APPEND,\r
38 DELETE\r
39} CONPLATFORM_VAR_OPERATION;\r
40\r
41EFI_STATUS\r
42ConPlatformDriverBindingSupported (\r
43 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
44 IN EFI_HANDLE ControllerHandle,\r
45 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath,\r
46 IN EFI_GUID *ProtocolGuid\r
47 );\r
48\r
49EFI_STATUS\r
50EFIAPI\r
51ConPlatformTextInDriverBindingSupported (\r
52 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
53 IN EFI_HANDLE Handle,\r
54 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath\r
55 );\r
56\r
57EFI_STATUS\r
58EFIAPI\r
59ConPlatformTextOutDriverBindingSupported (\r
60 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
61 IN EFI_HANDLE Handle,\r
62 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath\r
63 );\r
64\r
65EFI_STATUS\r
66EFIAPI\r
67ConPlatformTextInDriverBindingStart (\r
68 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
69 IN EFI_HANDLE Handle,\r
70 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath\r
71 );\r
72\r
73EFI_STATUS\r
74EFIAPI\r
75ConPlatformTextOutDriverBindingStart (\r
76 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
77 IN EFI_HANDLE Handle,\r
78 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath\r
79 );\r
80\r
81EFI_STATUS\r
82EFIAPI\r
83ConPlatformTextInDriverBindingStop (\r
84 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
85 IN EFI_HANDLE Handle,\r
86 IN UINTN NumberOfChildren,\r
87 IN EFI_HANDLE *ChildHandleBuffer\r
88 );\r
89\r
90EFI_STATUS\r
91EFIAPI\r
92ConPlatformTextOutDriverBindingStop (\r
93 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
94 IN EFI_HANDLE Handle,\r
95 IN UINTN NumberOfChildren,\r
96 IN EFI_HANDLE *ChildHandleBuffer\r
97 );\r
98\r
99VOID\r
100ConPlatformUnInstallProtocol (\r
101 IN EFI_DRIVER_BINDING_PROTOCOL *This,\r
102 IN EFI_HANDLE Handle,\r
103 IN EFI_GUID *ProtocolGuid\r
104 );\r
105\r
106VOID *\r
107ConPlatformGetVariable (\r
108 IN CHAR16 *Name\r
109 );\r
110\r
111EFI_STATUS\r
112ConPlatformMatchDevicePaths (\r
113 IN EFI_DEVICE_PATH_PROTOCOL * Multi,\r
114 IN EFI_DEVICE_PATH_PROTOCOL * Single,\r
115 IN EFI_DEVICE_PATH_PROTOCOL **NewDevicePath OPTIONAL,\r
116 IN BOOLEAN Delete\r
117 );\r
118\r
119EFI_STATUS\r
120ConPlatformUpdateDeviceVariable (\r
121 IN CHAR16 *VariableName,\r
122 IN EFI_DEVICE_PATH_PROTOCOL *DevicePath,\r
123 IN CONPLATFORM_VAR_OPERATION Operation\r
124 );\r
125\r
126BOOLEAN\r
127IsHotPlugDevice (\r
128 EFI_HANDLE DriverBindingHandle,\r
129 EFI_HANDLE ControllerHandle\r
130 );\r
131\r
132#endif\r