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.2788.1587752969673393091 for ; Fri, 24 Apr 2020 11:29:29 -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 1jS34q-000231-EU; Fri, 24 Apr 2020 12:29:28 -0600 Received: from mta5.zcs.xmission.com ([166.70.13.69]) by in02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.87) (envelope-from ) id 1jS34o-0005BV-Ja; Fri, 24 Apr 2020 12:29:28 -0600 Received: from localhost (localhost [127.0.0.1]) by mta5.zcs.xmission.com (Postfix) with ESMTP id 593351280639; Fri, 24 Apr 2020 12:29:26 -0600 (MDT) X-Amavis-Modified: Mail body modified (using disclaimer) - mta5.zcs.xmission.com Received: from mta5.zcs.xmission.com ([127.0.0.1]) by localhost (mta5.zcs.xmission.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 06Sw-9QYM3Ef; Fri, 24 Apr 2020 12:29:26 -0600 (MDT) Received: from photon.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net [174.52.16.57]) by mta5.zcs.xmission.com (Postfix) with ESMTPSA id 114021280678; Fri, 24 Apr 2020 12:29:26 -0600 (MDT) From: "Rebecca Cran" To: devel@edk2.groups.io, Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Andrew Fish , Leif Lindholm , Michael D Kinney Cc: Rebecca Cran Date: Fri, 24 Apr 2020 12:29:08 -0600 Message-Id: <20200424182914.138915-1-rebecca@bsdio.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-XM-SPF: eid=1jS34o-0005BV-Ja;;;mid=<20200424182914.138915-1-rebecca@bsdio.com>;;;hst=in02.mta.xmission.com;;;ip=166.70.13.69;;;frm=rebecca@bsdio.com;;;spf=pass X-SA-Exim-Connect-IP: 166.70.13.69 X-SA-Exim-Mail-From: rebecca@bsdio.com X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on sa07.xmission.com X-Spam-Level: *** X-Spam-Status: No, score=3.2 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,FVGT_m_MULTI_ODD,T_TM2_M_HEADER_IN_MSG, T_TooManySym_01,TooManyTo_001,TooManyTo_002,TooManyTo_003, TooManyTo_004,TooManyTo_005,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.4995] * 0.7 XMSubLong Long Subject * 0.5 TooManyTo_002 Multiple "To" Header Recipients 3x (uncommon) * 0.4 TooManyTo_005 Multiple "To" Header Recipients 6x (uncommon) * 0.3 TooManyTo_001 Multiple "To" Header Recipients 2x (uncommon) * 0.6 TooManyTo_003 Multiple "To" Header Recipients 4x (uncommon) * 0.5 TooManyTo_004 Multiple "To" Header Recipients 5x (uncommon) * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa07 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; sa07 1397; IP=ok Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ***;devel@edk2.groups.io, Jordan Justen , Laszlo Ersek , Ard Biesheuvel , Andrew Fish , Leif Lindholm , Michael D Kinney X-Spam-Relay-Country: X-Spam-Timing: total 1604 ms - load_scoreonly_sql: 0.08 (0.0%), signal_user_changed: 12 (0.8%), b_tie_ro: 11 (0.7%), parse: 1.73 (0.1%), extract_message_metadata: 32 (2.0%), get_uri_detail_list: 5 (0.3%), tests_pri_-1000: 28 (1.8%), tests_pri_-950: 1.40 (0.1%), tests_pri_-900: 1.07 (0.1%), tests_pri_-90: 124 (7.7%), check_bayes: 120 (7.5%), b_tokenize: 19 (1.2%), b_tok_get_all: 12 (0.8%), b_comp_prob: 2.3 (0.1%), b_tok_touch_all: 83 (5.2%), b_finish: 0.99 (0.1%), tests_pri_0: 489 (30.5%), check_dkim_signature: 0.81 (0.1%), check_dkim_adsp: 25 (1.5%), poll_dns_idle: 868 (54.1%), tests_pri_10: 2.2 (0.1%), tests_pri_500: 909 (56.6%), rewrite_mail: 0.00 (0.0%) Subject: [PATCH v4 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 - Updated License.txt - Added copyright headers for myself - Changed license from BSD-2-Clause to BSD-2-Clause-Patent following email from Leif indicating that such relicensing is valid without contacting all original authors - Fixed BhyveFwCtlLib bug: due to Hdr being UINTN instead of UINT32, an extra 4 bytes were being sent per transaction - Other changes from review feedback Cc: Andrew Fish Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Michael D Kinney 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 | 251 +++ BhyvePkg/AcpiPlatformDxe/AcpiPlatform.h | 77 + BhyvePkg/AcpiPlatformDxe/AcpiPlatformDxe.inf | 65 + BhyvePkg/AcpiPlatformDxe/Bhyve.c | 132 ++ BhyvePkg/AcpiPlatformDxe/EntryPoint.c | 90 + BhyvePkg/AcpiPlatformDxe/PciDecoding.c | 192 ++ BhyvePkg/AcpiTables/AcpiTables.inf | 39 + BhyvePkg/AcpiTables/Dsdt.asl | 1140 +++++++++++ BhyvePkg/AcpiTables/Facp.aslc | 76 + BhyvePkg/AcpiTables/Facs.aslc | 80 + BhyvePkg/AcpiTables/Hpet.aslc | 72 + BhyvePkg/AcpiTables/Madt.aslc | 145 ++ BhyvePkg/AcpiTables/Mcfg.aslc | 57 + BhyvePkg/AcpiTables/Platform.h | 72 + BhyvePkg/AcpiTables/Spcr.aslc | 63 + BhyvePkg/AcpiTables/Ssdt.asl | 15 + BhyvePkg/BhyvePkg.dec | 171 ++ BhyvePkg/BhyvePkgDefines.fdf.inc | 85 + BhyvePkg/BhyvePkgX64.dsc | 847 +++++++++ BhyvePkg/BhyvePkgX64.fdf | 490 +++++ BhyvePkg/BhyveRfbDxe/BhyveRfbDxe.inf | 68 + BhyvePkg/BhyveRfbDxe/ComponentName.c | 201 ++ BhyvePkg/BhyveRfbDxe/Gop.h | 149 ++ BhyvePkg/BhyveRfbDxe/GopDriver.c | 543 ++++++ BhyvePkg/BhyveRfbDxe/GopScreen.c | 393 ++++ BhyvePkg/BhyveRfbDxe/VbeShim.asm | 342 ++++ BhyvePkg/BhyveRfbDxe/VbeShim.c | 259 +++ BhyvePkg/BhyveRfbDxe/VbeShim.h | 912 +++++++++ BhyvePkg/BhyveRfbDxe/VbeShim.sh | 80 + BhyvePkg/FvmainCompactScratchEnd.fdf.inc | 65 + BhyvePkg/Include/Library/BhyveFwCtlLib.h | 47 + .../Library/BhyveFwCtlLib/BhyveFwCtlLib.c | 426 +++++ .../Library/BhyveFwCtlLib/BhyveFwCtlLib.inf | 41 + .../PlatformBootManagerLib/BdsPlatform.c | 1660 +++++++++++++++++ .../PlatformBootManagerLib/BdsPlatform.h | 190 ++ .../PlatformBootManagerLib.inf | 75 + .../PlatformBootManagerLib/PlatformData.c | 171 ++ BhyvePkg/License.txt | 68 + BhyvePkg/PlatformPei/AmdSev.c | 106 ++ BhyvePkg/PlatformPei/ClearCache.c | 111 ++ BhyvePkg/PlatformPei/Cmos.c | 58 + BhyvePkg/PlatformPei/Cmos.h | 50 + BhyvePkg/PlatformPei/FeatureControl.c | 21 + BhyvePkg/PlatformPei/Fv.c | 94 + BhyvePkg/PlatformPei/MemDetect.c | 627 +++++++ BhyvePkg/PlatformPei/Platform.c | 607 ++++++ BhyvePkg/PlatformPei/Platform.h | 137 ++ BhyvePkg/PlatformPei/PlatformPei.inf | 113 ++ BhyvePkg/SmbiosPlatformDxe/Bhyve.c | 43 + .../SmbiosPlatformDxe/SmbiosPlatformDxe.c | 245 +++ .../SmbiosPlatformDxe/SmbiosPlatformDxe.h | 52 + .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 55 + BhyvePkg/VarStore.fdf.inc | 115 ++ Maintainers.txt | 8 + 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 +++ Readme.md | 1 + 62 files changed, 12655 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/BhyvePkgDefines.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/FvmainCompactScratchEnd.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.25.1