/** @file\r
BDS Lib functions which contain all the code to connect console device\r
\r
-Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>\r
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
#include "InternalBdsLib.h"\r
#include <IndustryStandard/Bmp.h>\r
\r
-#include <Protocol/BootLogo.h>\r
\r
/**\r
Check if we need to save the EFI variable with "ConVarName" as name\r
\r
CoordinateX = 0;\r
CoordinateY = 0;\r
- Attribute = EfiBadgingDisplayAttributeCenter;\r
+ if (!FeaturePcdGet(PcdBootlogoOnlyEnable)) {\r
+ Attribute = EfiBadgingDisplayAttributeCenter;\r
+ } else {\r
+ Attribute = EfiBadgingDisplayAttributeCustomized;\r
+ } \r
}\r
\r
if (Blt != NULL) {\r
DestY = (SizeOfY - Height) / 2;\r
break;\r
\r
+ case EfiBadgingDisplayAttributeCustomized:\r
+ DestX = (SizeOfX - Width) / 2;\r
+ DestY = ((SizeOfY * 382) / 1000) - Height / 2;\r
+ break;\r
+\r
default:\r
DestX = CoordinateX;\r
DestY = CoordinateY;\r