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.web11.2241.1587438604444350784 for ; Mon, 20 Apr 2020 20:10:04 -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 1jQjIQ-0001qj-P1; Mon, 20 Apr 2020 21:10:02 -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 1jQjIP-00089P-RG; Mon, 20 Apr 2020 21:10:02 -0600 Received: from localhost (localhost [127.0.0.1]) by mta4.zcs.xmission.com (Postfix) with ESMTP id 90A9B5003B7; Mon, 20 Apr 2020 21:10:01 -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 gVFLFgpFhGDY; Mon, 20 Apr 2020 21:10:01 -0600 (MDT) Received: from photon.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta4.zcs.xmission.com (Postfix) with ESMTPSA id 20B6F5002C5; Mon, 20 Apr 2020 21:10:01 -0600 (MDT) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Leif Lindholm , Michael Kinney , Andrew Fish , Peter Grehan , Rebecca Cran Date: Mon, 20 Apr 2020 21:09:49 -0600 Message-Id: <20200421030955.114850-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-XM-SPF: eid=1jQjIP-00089P-RG;;;mid=<20200421030955.114850-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 sa08.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-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 * [sa08 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; sa08 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;devel@edk2.groups.io X-Spam-Relay-Country: X-Spam-Timing: total 676 ms - load_scoreonly_sql: 0.04 (0.0%), signal_user_changed: 11 (1.7%), b_tie_ro: 10 (1.5%), parse: 0.96 (0.1%), extract_message_metadata: 17 (2.5%), get_uri_detail_list: 3.1 (0.5%), tests_pri_-1000: 17 (2.5%), tests_pri_-950: 1.43 (0.2%), tests_pri_-900: 1.33 (0.2%), tests_pri_-90: 118 (17.4%), check_bayes: 114 (16.8%), b_tokenize: 15 (2.3%), b_tok_get_all: 12 (1.8%), b_comp_prob: 1.84 (0.3%), b_tok_touch_all: 80 (11.9%), b_finish: 1.14 (0.2%), tests_pri_0: 491 (72.6%), check_dkim_signature: 0.61 (0.1%), check_dkim_adsp: 47 (6.9%), poll_dns_idle: 44 (6.6%), tests_pri_10: 2.3 (0.3%), tests_pri_500: 13 (1.9%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH v3 0/6] 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 I noticed a few things wrong with the v2 series: o BhyveFwCtlLibNull is no longer used, and could be deleted. o Some changes from the v1 AcpiPlatformDxe patch were left in OvmfPkg. o BhyvePkg/License.txt still referred to OvmfPkg. I've updated it so everything under BhyvePkg should be BSD-2-Clause. This patch series can also be found at https://git.bsdio.com/bcran/edk2-bhyve/commits/branch/master Signed-off-by: Rebecca Cran Rebecca Cran (6): OvmfPkg: Add bhyve support into AcpiTimerLib 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/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 + .../PlatformBootManagerLib/BdsPlatform.c | 1660 +++++++++++++++++ .../PlatformBootManagerLib/BdsPlatform.h | 191 ++ .../PlatformBootManagerLib.inf | 74 + .../PlatformBootManagerLib/PlatformData.c | 171 ++ BhyvePkg/License.txt | 44 + 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/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 +++ 61 files changed, 12651 insertions(+) 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/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