Hi, Does OSX boot depend on ConsoleControl protocol? If yes, I think you can copy its definition into OvmfPkg, not use the one in EdkCompatibilityPkg, because ECP package is designed for old EDK driver. We don't want EDKII platform depend on ECP package.
Thanks Liming -----Original Message----- From: reza.jel...@tuhh.de [mailto:reza.jel...@tuhh.de] Sent: Thursday, August 21, 2014 6:15 PM To: edk2-devel@lists.sourceforge.net Cc: ag...@suse.de Subject: [edk2] [PATCH 0/4] add apple boot support to Ovmf From: Reza Jelveh <reza.jel...@tuhh.de> This patch adds apple boot support to Ovmf. It readds the ConsoleControl protocol and adds firmware and datahub settings apple needs for successful osx boot Reza Jelveh (4): EdkCompatibilityPkg: allow ConsoleControl protocol to be used OvmfPkg: add apple boot support to Ovmf OvmfPkg: InitializeAppleSupport from BdsPlatform OvmfPkg: enable AppleSupport library for Ovmf firmware EdkCompatibilityPkg/EdkCompatibilityPkg.dec | 2 + OvmfPkg/Include/Library/AppleSupportLib.h | 25 +++++ OvmfPkg/Library/AppleSupportLib/AppleSupport.c | 107 +++++++++++++++++++++ .../Library/AppleSupportLib/AppleSupportLib.inf | 49 ++++++++++ OvmfPkg/Library/AppleSupportLib/Common.h | 24 +++++ OvmfPkg/Library/AppleSupportLib/Console.c | 86 +++++++++++++++++ OvmfPkg/Library/AppleSupportLib/Console.h | 28 ++++++ OvmfPkg/Library/AppleSupportLib/Datahub.c | 104 ++++++++++++++++++++ OvmfPkg/Library/AppleSupportLib/Datahub.h | 32 ++++++ OvmfPkg/Library/AppleSupportLib2/AppleSupport.c | 107 +++++++++++++++++++++ .../Library/AppleSupportLib2/AppleSupportLib.inf | 50 ++++++++++ OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 5 + OvmfPkg/Library/PlatformBdsLib/BdsPlatform.h | 1 + OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 1 + OvmfPkg/OvmfPkgIa32.dsc | 7 ++ OvmfPkg/OvmfPkgIa32.fdf | 2 + OvmfPkg/OvmfPkgIa32X64.dsc | 7 ++ OvmfPkg/OvmfPkgIa32X64.fdf | 2 + OvmfPkg/OvmfPkgX64.dsc | 7 ++ OvmfPkg/OvmfPkgX64.fdf | 2 + 20 files changed, 648 insertions(+) create mode 100644 OvmfPkg/Include/Library/AppleSupportLib.h create mode 100644 OvmfPkg/Library/AppleSupportLib/AppleSupport.c create mode 100644 OvmfPkg/Library/AppleSupportLib/AppleSupportLib.inf create mode 100644 OvmfPkg/Library/AppleSupportLib/Common.h create mode 100644 OvmfPkg/Library/AppleSupportLib/Console.c create mode 100644 OvmfPkg/Library/AppleSupportLib/Console.h create mode 100644 OvmfPkg/Library/AppleSupportLib/Datahub.c create mode 100644 OvmfPkg/Library/AppleSupportLib/Datahub.h create mode 100644 OvmfPkg/Library/AppleSupportLib2/AppleSupport.c create mode 100644 OvmfPkg/Library/AppleSupportLib2/AppleSupportLib.inf -- 1.9.2 ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel