Console Platform DXE Driver, install Console Device Guids and update Console\r
Environment Variables.\r
\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\r
+Copyright (c) 2006 - 2010, Intel Corporation. <BR>\r
All rights reserved. This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
which accompanies this distribution. The full text of the license may be found at\r
Status = ConPlatformUpdateDeviceVariable (\r
L"ConIn",\r
DevicePath,\r
- CHECK\r
+ Check\r
);\r
if (!EFI_ERROR (Status)) {\r
IsInConInVariable = TRUE;\r
ConPlatformUpdateDeviceVariable (\r
L"ConInDev",\r
DevicePath,\r
- APPEND\r
+ Append\r
);\r
}\r
} else {\r
ConPlatformUpdateDeviceVariable (\r
L"ConInDev",\r
DevicePath,\r
- APPEND\r
+ Append\r
);\r
\r
//\r
Status = ConPlatformUpdateDeviceVariable (\r
L"ConOut",\r
DevicePath,\r
- CHECK\r
+ Check\r
);\r
if (!EFI_ERROR (Status)) {\r
IsInConOutVariable = TRUE;\r
Status = ConPlatformUpdateDeviceVariable (\r
L"ErrOut",\r
DevicePath,\r
- CHECK\r
+ Check\r
);\r
if (!EFI_ERROR (Status)) {\r
IsInErrOutVariable = TRUE;\r
ConPlatformUpdateDeviceVariable (\r
L"ConOutDev",\r
DevicePath,\r
- APPEND\r
+ Append\r
);\r
}\r
//\r
ConPlatformUpdateDeviceVariable (\r
L"ErrOutDev",\r
DevicePath,\r
- APPEND\r
+ Append\r
);\r
}\r
} else {\r
ConPlatformUpdateDeviceVariable (\r
L"ConOutDev",\r
DevicePath,\r
- APPEND\r
+ Append\r
);\r
//\r
// Then append the device path to the ErrOutDev environment variable\r
ConPlatformUpdateDeviceVariable (\r
L"ErrOutDev",\r
DevicePath,\r
- APPEND\r
+ Append\r
);\r
\r
//\r
ConPlatformUpdateDeviceVariable (\r
L"ConInDev",\r
DevicePath,\r
- DELETE\r
+ Delete\r
);\r
}\r
\r
ConPlatformUpdateDeviceVariable (\r
L"ConOutDev",\r
DevicePath,\r
- DELETE\r
+ Delete\r
);\r
ConPlatformUpdateDeviceVariable (\r
L"ErrOutDev",\r
DevicePath,\r
- DELETE\r
+ Delete\r
);\r
}\r
\r
//\r
VariableDevicePath = ConPlatformGetVariable (VariableName);\r
\r
- if (Operation != DELETE) {\r
+ if (Operation != Delete) {\r
//\r
// Match specified DevicePath in Console Variable.\r
// \r
FALSE\r
);\r
\r
- if ((Operation == CHECK) || (!EFI_ERROR (Status))) {\r
+ if ((Operation == Check) || (!EFI_ERROR (Status))) {\r
//\r
// Branch here includes 2 cases:\r
// 1. Operation is CHECK, simply return Status.\r