QuarkSocPkg/Library: Remove extra UefiBaseType.h includes
authorMichael Kinney <michael.d.kinney@intel.com>
Thu, 27 Oct 2016 03:12:24 +0000 (20:12 -0700)
committerMichael Kinney <michael.d.kinney@intel.com>
Fri, 28 Oct 2016 04:32:46 +0000 (21:32 -0700)
Based on Laszlo Ersek work to add ASSERT_RETURN_ERORR():

  https://lists.01.org/pipermail/edk2-devel/2016-October/003132.html

Laszlo also discovered libraries of type BASE that include
UefiBaseType.h that should not include that file:

  https://lists.01.org/pipermail/edk2-devel/2016-October/003308.html

This change removes the extra #include of <Uefi/UefiBaseType.h>
from QNCSmmLib.c.

Cc: Kelly Steele <kelly.steele@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c

index 075d45fa7fa8ac2125229650ca18a680ae094c6b..5f2722a956ebb05387b6c17ff7a026ea0e8d4288 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
 QNC Smm Library Services that implements SMM Region access, S/W SMI generation and detection.\r
 \r
 /** @file\r
 QNC Smm Library Services that implements SMM Region access, S/W SMI generation and detection.\r
 \r
-Copyright (c) 2013-2015 Intel Corporation.\r
+Copyright (c) 2013-2016 Intel Corporation.\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
@@ -19,7 +19,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Library/DebugLib.h>\r
 #include <Library/PcdLib.h>\r
 #include <Library/IoLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/PcdLib.h>\r
 #include <Library/IoLib.h>\r
-#include <Uefi/UefiBaseType.h>\r
 #include <Library/QNCAccessLib.h>\r
 \r
 #define BOOT_SERVICE_SOFTWARE_SMI_DATA          0\r
 #include <Library/QNCAccessLib.h>\r
 \r
 #define BOOT_SERVICE_SOFTWARE_SMI_DATA          0\r