From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) by mx.groups.io with SMTP id smtpd.web10.1434.1587434687776405103 for ; Mon, 20 Apr 2020 19:04:48 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: bsdio.com, ip: 166.70.13.231, mailfrom: rebecca@bsdio.com) Received: from in02.mta.xmission.com ([166.70.13.52]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQiHF-0005r4-HS; Mon, 20 Apr 2020 20:04:45 -0600 Received: from mta4.zcs.xmission.com ([166.70.13.68]) by in02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jQiHE-00074h-Jk; Mon, 20 Apr 2020 20:04:45 -0600 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id 5D5ED500324; Mon, 20 Apr 2020 20:04:44 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta4.zcs.xmission.com Received: from mta4.zcs.xmission.com ([127.0.0.1]) by localhost (mta4.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sX5bk9N5foz6; Mon, 20 Apr 2020 20:04:44 -0600 (MDT) Received: from photon.int.bluestop.org (muon.bluestop.org [65.103.231.193]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id DA7255003A5; Mon, 20 Apr 2020 20:04:43 -0600 (MDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Leif Lindholm , Michael Kinney , Andrew Fish , Rebecca Cran Date: Mon, 20 Apr 2020 20:04:33 -0600 Message-Id: <20200421020441.34175-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-XM-SPF: eid=1jQiHE-00074h-Jk;;;mid=<20200421020441.34175-1-rebecca@bsdio.com>;;;hst=in02.mta.xmission.com;;;ip=166.70.13.68;;;frm=rebecca@bsdio.com;;;spf=pass X-SA-Exim-Connect-IP: 166.70.13.68 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa03.xmission.com X-Spam-Level: X-Spam-Status: No, score=0.9 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,FVGT_m_MULTI_ODD,T_TooManySym_01,XMSubLong autolearn=disabled version=3.4.2 X-Spam-Virus: No X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * 0.7 XMSubLong Long Subject * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa03 1397; IP=ok Body=1 Fuz1=1] [Fuz2=1] * 0.4 FVGT_m_MULTI_ODD Contains multiple odd letter combinations * 0.0 T_TooManySym_01 4+ unique symbols in subject X-Spam-DCC: XMission; sa03 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;devel@edk2.groups.io X-Spam-Relay-Country: X-Spam-Timing: total 645 ms - load_scoreonly_sql: 0.02 (0.0%), signal_user_changed: 3.8 (0.6%), b_tie_ro: 2.7 (0.4%), parse: 1.39 (0.2%), extract_message_metadata: 18 (2.7%), get_uri_detail_list: 4.4 (0.7%), tests_pri_-1000: 4.0 (0.6%), tests_pri_-950: 0.96 (0.1%), tests_pri_-900: 0.78 (0.1%), tests_pri_-90: 86 (13.3%), check_bayes: 85 (13.1%), b_tokenize: 16 (2.4%), b_tok_get_all: 11 (1.7%), b_comp_prob: 2.1 (0.3%), b_tok_touch_all: 53 (8.2%), b_finish: 0.75 (0.1%), tests_pri_0: 521 (80.7%), check_dkim_signature: 0.63 (0.1%), check_dkim_adsp: 69 (10.7%), poll_dns_idle: 68 (10.5%), tests_pri_10: 1.69 (0.3%), tests_pri_500: 5 (0.8%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH v2 0/8] Add BhyvePkg, to support the bhyve hypervisor X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) Content-Transfer-Encoding: 8bit Many changes from the first patch series, hopefully incorporating all feedback I received. Changes include switching to the SPDX license headers, updating Maintainers.txt, moving PlatformPei and AcpiPlatformDxe under BhyvePkg, changing FILE_GUIDs to be unique (except AcpiTables, which needs to be the same between OvmfPkg and BhyvePkg), and incorporating Peter Grehan's arbitrary GOP resolution patch (https://people.freebsd.org/~grehan/bhyve_uefi/bhyve_edk2_ares.diff). Signed-off-by: Rebecca Cran Rebecca Cran (8): OvmfPkg: Add bhyve support into AcpiTimerLib BhyvePkg: Add BhyveFwCtlLibNull OvmfPkg: Add QemuFwCfgLibNull OvmfPkg: Add VBE2 mode info structure to LegacyVgaBios.h Add BhyvePkg, to support the bhyve hypervisor BhyvePkg: Add PlatformPei BhyvePkg: Add AcpiPlatformDxe BhyvePkg: Add InstrinsicsLib to BhyveFwCtlLib BhyvePkg/AcpiPlatformDxe/AcpiPlatform.c | 250 +++ BhyvePkg/AcpiPlatformDxe/AcpiPlatform.h | 76 + BhyvePkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 64 + BhyvePkg/AcpiPlatformDxe/Bhyve.c | 138 ++ BhyvePkg/AcpiPlatformDxe/EntryPoint.c | 90 + BhyvePkg/AcpiPlatformDxe/PciDecoding.c | 192 ++ BhyvePkg/AcpiTables/AcpiTables.inf | 42 + BhyvePkg/AcpiTables/Dsdt.asl | 1134 +++++++++++ BhyvePkg/AcpiTables/Facp.aslc | 75 + BhyvePkg/AcpiTables/Facs.aslc | 79 + BhyvePkg/AcpiTables/Hpet.aslc | 71 + BhyvePkg/AcpiTables/Madt.aslc | 144 ++ BhyvePkg/AcpiTables/Mcfg.aslc | 56 + BhyvePkg/AcpiTables/Platform.h | 71 + BhyvePkg/AcpiTables/Spcr.aslc | 62 + BhyvePkg/AcpiTables/Ssdt.asl | 14 + BhyvePkg/BhyvePkg.dec | 170 ++ BhyvePkg/BhyvePkg.fdf.inc | 85 + BhyvePkg/BhyvePkgX64.dsc | 846 +++++++++ BhyvePkg/BhyvePkgX64.fdf | 513 +++++ BhyvePkg/BhyveRfbDxe/BhyveRfbDxe.inf | 67 + BhyvePkg/BhyveRfbDxe/ComponentName.c | 200 ++ BhyvePkg/BhyveRfbDxe/Gop.h | 148 ++ BhyvePkg/BhyveRfbDxe/GopDriver.c | 542 ++++++ BhyvePkg/BhyveRfbDxe/GopScreen.c | 392 ++++ BhyvePkg/BhyveRfbDxe/VbeShim.asm | 341 ++++ BhyvePkg/BhyveRfbDxe/VbeShim.c | 258 +++ BhyvePkg/BhyveRfbDxe/VbeShim.h | 912 +++++++++ BhyvePkg/BhyveRfbDxe/VbeShim.sh | 79 + BhyvePkg/DecomprScratchEnd.fdf.inc | 66 + BhyvePkg/Include/Library/BhyveFwCtlLib.h | 46 + .../Library/BhyveFwCtlLib/BhyveFwCtlLib.c | 425 +++++ .../Library/BhyveFwCtlLib/BhyveFwCtlLib.inf | 40 + .../BhyveFwCtlLibNull/BhyveFwCtlLibNull.c | 53 + .../BhyveFwCtlLibNull/BhyveFwCtlLibNull.inf | 39 + .../PlatformBootManagerLib/BdsPlatform.c | 1660 +++++++++++++++++ .../PlatformBootManagerLib/BdsPlatform.h | 191 ++ .../PlatformBootManagerLib.inf | 74 + .../PlatformBootManagerLib/PlatformData.c | 171 ++ BhyvePkg/License.txt | 50 + BhyvePkg/PlatformPei/AmdSev.c | 106 ++ BhyvePkg/PlatformPei/ClearCache.c | 111 ++ BhyvePkg/PlatformPei/Cmos.c | 58 + BhyvePkg/PlatformPei/Cmos.h | 50 + BhyvePkg/PlatformPei/FeatureControl.c | 20 + BhyvePkg/PlatformPei/Fv.c | 94 + BhyvePkg/PlatformPei/MemDetect.c | 631 +++++++ BhyvePkg/PlatformPei/Platform.c | 612 ++++++ BhyvePkg/PlatformPei/Platform.h | 136 ++ BhyvePkg/PlatformPei/PlatformPei.inf | 117 ++ BhyvePkg/SmbiosPlatformDxe/Bhyve.c | 42 + .../SmbiosPlatformDxe/SmbiosPlatformDxe.c | 244 +++ .../SmbiosPlatformDxe/SmbiosPlatformDxe.h | 63 + .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 54 + BhyvePkg/VarStore.fdf.inc | 115 ++ Maintainers.txt | 7 + OvmfPkg/AcpiPlatformDxe/AcpiPlatform.c | 8 +- OvmfPkg/AcpiPlatformDxe/AcpiPlatform.h | 9 + OvmfPkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 3 + OvmfPkg/Include/IndustryStandard/Bhyve.h | 16 + .../Include/IndustryStandard/LegacyVgaBios.h | 38 + OvmfPkg/Include/OvmfPlatforms.h | 1 + .../AcpiTimerLib/BaseAcpiTimerLibBhyve.c | 32 + .../AcpiTimerLib/BaseAcpiTimerLibBhyve.inf | 30 + .../Library/QemuFwCfgLib/QemuFwCfgLibNull.inf | 37 + OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgNull.c | 209 +++ OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/OvmfXen.dsc | 1 + 70 files changed, 12770 insertions(+), 3 deletions(-) create mode 100644 BhyvePkg/AcpiPlatformDxe/AcpiPlatform.c create mode 100644 BhyvePkg/AcpiPlatformDxe/AcpiPlatform.h create mode 100644 BhyvePkg/AcpiPlatformDxe/AcpiPlatformDxe.inf create mode 100644 BhyvePkg/AcpiPlatformDxe/Bhyve.c create mode 100644 BhyvePkg/AcpiPlatformDxe/EntryPoint.c create mode 100644 BhyvePkg/AcpiPlatformDxe/PciDecoding.c create mode 100644 BhyvePkg/AcpiTables/AcpiTables.inf create mode 100644 BhyvePkg/AcpiTables/Dsdt.asl create mode 100644 BhyvePkg/AcpiTables/Facp.aslc create mode 100644 BhyvePkg/AcpiTables/Facs.aslc create mode 100644 BhyvePkg/AcpiTables/Hpet.aslc create mode 100644 BhyvePkg/AcpiTables/Madt.aslc create mode 100644 BhyvePkg/AcpiTables/Mcfg.aslc create mode 100644 BhyvePkg/AcpiTables/Platform.h create mode 100644 BhyvePkg/AcpiTables/Spcr.aslc create mode 100644 BhyvePkg/AcpiTables/Ssdt.asl create mode 100644 BhyvePkg/BhyvePkg.dec create mode 100644 BhyvePkg/BhyvePkg.fdf.inc create mode 100644 BhyvePkg/BhyvePkgX64.dsc create mode 100644 BhyvePkg/BhyvePkgX64.fdf create mode 100644 BhyvePkg/BhyveRfbDxe/BhyveRfbDxe.inf create mode 100644 BhyvePkg/BhyveRfbDxe/ComponentName.c create mode 100644 BhyvePkg/BhyveRfbDxe/Gop.h create mode 100644 BhyvePkg/BhyveRfbDxe/GopDriver.c create mode 100644 BhyvePkg/BhyveRfbDxe/GopScreen.c create mode 100644 BhyvePkg/BhyveRfbDxe/VbeShim.asm create mode 100644 BhyvePkg/BhyveRfbDxe/VbeShim.c create mode 100644 BhyvePkg/BhyveRfbDxe/VbeShim.h create mode 100644 BhyvePkg/BhyveRfbDxe/VbeShim.sh create mode 100644 BhyvePkg/DecomprScratchEnd.fdf.inc create mode 100644 BhyvePkg/Include/Library/BhyveFwCtlLib.h create mode 100644 BhyvePkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.c create mode 100644 BhyvePkg/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf create mode 100644 BhyvePkg/Library/BhyveFwCtlLibNull/BhyveFwCtlLibNull.c create mode 100644 BhyvePkg/Library/BhyveFwCtlLibNull/BhyveFwCtlLibNull.inf create mode 100644 BhyvePkg/Library/PlatformBootManagerLib/BdsPlatform.c create mode 100644 BhyvePkg/Library/PlatformBootManagerLib/BdsPlatform.h create mode 100644 BhyvePkg/Library/PlatformBootManagerLib/PlatformBootManagerLib.inf create mode 100644 BhyvePkg/Library/PlatformBootManagerLib/PlatformData.c create mode 100644 BhyvePkg/License.txt create mode 100644 BhyvePkg/PlatformPei/AmdSev.c create mode 100644 BhyvePkg/PlatformPei/ClearCache.c create mode 100644 BhyvePkg/PlatformPei/Cmos.c create mode 100644 BhyvePkg/PlatformPei/Cmos.h create mode 100644 BhyvePkg/PlatformPei/FeatureControl.c create mode 100644 BhyvePkg/PlatformPei/Fv.c create mode 100644 BhyvePkg/PlatformPei/MemDetect.c create mode 100644 BhyvePkg/PlatformPei/Platform.c create mode 100644 BhyvePkg/PlatformPei/Platform.h create mode 100644 BhyvePkg/PlatformPei/PlatformPei.inf create mode 100644 BhyvePkg/SmbiosPlatformDxe/Bhyve.c create mode 100644 BhyvePkg/SmbiosPlatformDxe/SmbiosPlatformDxe.c create mode 100644 BhyvePkg/SmbiosPlatformDxe/SmbiosPlatformDxe.h create mode 100644 BhyvePkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf create mode 100644 BhyvePkg/VarStore.fdf.inc create mode 100644 OvmfPkg/Include/IndustryStandard/Bhyve.h create mode 100644 OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.c create mode 100644 OvmfPkg/Library/AcpiTimerLib/BaseAcpiTimerLibBhyve.inf create mode 100644 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgLibNull.inf create mode 100644 OvmfPkg/Library/QemuFwCfgLib/QemuFwCfgNull.c -- 2.20.1