]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg/XenConsoleSerialPortLib: don't include <Uefi/UefiBaseType.h>
authorLaszlo Ersek <lersek@redhat.com>
Tue, 25 Oct 2016 14:25:44 +0000 (16:25 +0200)
committerLaszlo Ersek <lersek@redhat.com>
Wed, 26 Oct 2016 10:03:39 +0000 (12:03 +0200)
XenConsoleSerialPortLib is a BASE type library instance, without being
restricted to UEFI client modules. (For example, the
"ArmVirtPkg/ArmVirtXen.dsc" platform builds this library instance into
"ArmVirtPkg/PrePi/ArmVirtPrePiUniCoreRelocatable.inf", which is a SEC type
module.) For such library instances, including <Uefi/UefiBaseType.h> is
not right.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
OvmfPkg/Library/XenConsoleSerialPortLib/XenConsoleSerialPortLib.c

index 2956963124131216b5fa37b4efc4df4651d9a765..4a63b860476dec2f2287567e00fca185f7d3adc0 100644 (file)
@@ -15,7 +15,6 @@
 **/\r
 \r
 #include <Base.h>\r
 **/\r
 \r
 #include <Base.h>\r
-#include <Uefi/UefiBaseType.h>\r
 \r
 #include <Library/BaseLib.h>\r
 #include <Library/SerialPortLib.h>\r
 \r
 #include <Library/BaseLib.h>\r
 #include <Library/SerialPortLib.h>\r