From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web11.13393.1594619029414691199 for ; Sun, 12 Jul 2020 22:43:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=S5Y8mEyt; spf=pass (domain: intel.com, ip: 134.134.136.126, mailfrom: liming.gao@intel.com) IronPort-SDR: Xto3Hxlr11wO7hkwcDE4zjOIOcZSbJs4oaaBr7kRtILZEqP/InwaXsRphp8LEq7icX3XR29/9H OJZTbbRIlgfQ== X-IronPort-AV: E=McAfee;i="6000,8403,9680"; a="136032260" X-IronPort-AV: E=Sophos;i="5.75,346,1589266800"; d="scan'208";a="136032260" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jul 2020 22:43:48 -0700 IronPort-SDR: uZ6lIx8KAAF4hzWmjrIr+RWn1V3Js7TYHRjTOwVZU/Z6Qy+pjDfIYeY0h3DHRlw/DVNDdFVYjD lslYDpxL1Aag== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,346,1589266800"; d="scan'208";a="485348837" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga005.fm.intel.com with ESMTP; 12 Jul 2020 22:43:48 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jul 2020 22:43:48 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jul 2020 22:43:47 -0700 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sun, 12 Jul 2020 22:43:47 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d+Xf23Grpku+isGHkXKZeGJqwlfqdKN34lqiIFktq8S/FJKFLnJZyEKoa9d9C4UWNCCOqI00KmnHqdyTH8n0lzuCKYdgypQ8VEDKsiV286/C9X3vU2M24RTkJHjjbYxc6OVvDAHRvnVmcR4BZwD9Ho/Qx1wC5wfGHlorDj07FYDn9ALgnwlVVF9wibADpGHtlCD/rzGRVg+mWRhKW18CgI7ge1h8DupoIYG9SPeXxd+8GiHZjqHGrxzrtW1TCLwhGlncqYI01PAu5m5ebYz7r45dSYXonweBkhQpbzIb0qH0FLrpjMHXcvtjmU+doVFW69tNkZGWYyOsKB4+42Qbbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Uqo0xrMtqMyAvSUc1sGCYDeCg35mkTlvBqoSZ1PjMnY=; b=dOZEFZDPTea7VprLSaIiSXt70399tT+T/Y8EmxWrYRsu8DYoFdCxFmEiSKsznKgQ7RKb0jO2cm7KwkqBqAsieSKUx2IZGeCWpAj9maBbUb0epYLu/FGFyQ3DJ1Tmie3aeVOwEoNkpZSbIsWj/5LJolwpguVYrsVtE63kwH2yd1dBQIO8mHn6MkK2Rtki4eD3kO1yLtxQQQYCKK7bitzB7QMrZ26Tc//d8QXsrxapwxxqE0jrDpA/v1MhslHKgYkIkTO1FGmk344SNwLTutrZUTdUpBtDeV9p0g6psT/mL54o0AO7viVEGjRKpjf7WwYCUy4D9dkTTGSd8jNd4hLgeQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Uqo0xrMtqMyAvSUc1sGCYDeCg35mkTlvBqoSZ1PjMnY=; b=S5Y8mEytzJYL+7zFlTVaxpxiepj1Z8ff9WddyHgvRawfyn0h8vO3NshYQXChB4V1FgyKk7a0pGPv/bwHSV26apNc87z9x6jsa3p1TI3HVJGeHGjlKRem/K0HRkuAFSD1dgBS40bXQkP2+pHQw0IGn0k/01PllEFDukHPB1y3NWQ= Received: from MWHPR11MB1630.namprd11.prod.outlook.com (2603:10b6:301:e::7) by MWHPR11MB1680.namprd11.prod.outlook.com (2603:10b6:301:d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.21; Mon, 13 Jul 2020 05:43:43 +0000 Received: from MWHPR11MB1630.namprd11.prod.outlook.com ([fe80::7847:b564:1b55:b67e]) by MWHPR11MB1630.namprd11.prod.outlook.com ([fe80::7847:b564:1b55:b67e%6]) with mapi id 15.20.3174.025; Mon, 13 Jul 2020 05:43:43 +0000 From: "Liming Gao" To: Rebecca Cran , "devel@edk2.groups.io" CC: Ard Biesheuvel , Andrew Fish , Leif Lindholm , "Justen, Jordan L" , "Kinney, Michael D" , Laszlo Ersek Subject: Re: [PATCH 0/1] Add BhyvePkg, to support the bhyve hypervisor Thread-Topic: [PATCH 0/1] Add BhyvePkg, to support the bhyve hypervisor Thread-Index: AQHWWNhW3g71fuZeZEagZ/KUWI9zl6kE/1GA Date: Mon, 13 Jul 2020 05:43:42 +0000 Message-ID: References: <20200713054131.479627-1-rebecca@bsdio.com> In-Reply-To: <20200713054131.479627-1-rebecca@bsdio.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: bsdio.com; dkim=none (message not signed) header.d=none;bsdio.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.217] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 9013c7ec-e47a-46e3-c73a-08d826efb3e9 x-ms-traffictypediagnostic: MWHPR11MB1680: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Ve4pjn/z3SDyWuNuqdiOc+1orDgFrFPogQIQRX9XTv401QPXUprElp3KohjOsrkgUjadtEZj5kIQEuYLwdRjBTWFW66IY/PUvOpDio+ei/fNgD4znX1jxTLKJ7xvyt71OhrHFcqi6KnOwTntngZIo792m/QvxL7zo+uxkrEhvDjiuZ27QNIMHvVVO5+7QmMMUIE1v/VU4DBrWtO3diCM5SmiND2eVbc8LV4lf0JqHoRJKB+f/gPg1Yok8ViMmEBlHceMT4ipjYKFkl7lJz0swfvL2sPySDC8NRl7RcGl0ICumtnLTaFsttfzX/HzkvhaV75f2pO9hcF+jGLs0HjQonVuzfxfo/0uD85mr01BeHCCv1YHtkltzCVI+vXy4mH5SV22GzyqRio4R7HmULq4kA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR11MB1630.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(396003)(346002)(366004)(376002)(136003)(39860400002)(19627235002)(52536014)(4326008)(966005)(8676002)(26005)(8936002)(33656002)(71200400001)(7696005)(53546011)(6506007)(9686003)(55016002)(66446008)(2906002)(186003)(86362001)(66946007)(64756008)(66476007)(76116006)(5660300002)(110136005)(316002)(478600001)(66556008)(54906003)(83380400001);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: I2gFlXoQ6e4M4ONHBR685vvZzlg59Ou1ikKZ/OE7HJqL9CNsfUEf9D3ufno4qlh2eYYUn/497iP9utuKFYmMcXahZoOGPxmqqYS/vEZG41QGdc33WI8YwRDwRY93ZFm34Ly5mp4k3Zh+jWPY0eXVYrN8yRmZz56AXhZo0tDeEfhx/PGRBz5mS91SvOUok+FhTnLjcONFEIOwZxVxkh17HnLvM0CvNm6M/hDSb34unc9tBKStQeQ6ydy4+DXJq8ajhfwFFULOPZIl2wb1iM+7eYtfZz7+T9XHG45e4CJjH19duVn2rB7eb5BYlwl0ek39q6UAeejkWHcVCQBpyot4FYdm1WkHEQWG/vNq4iSkYV4O+aoTeCVwMZvVp6ItDznlDcOxpjtOc3+J8iO0KIk8CJ+qzGUr1WrSH4e+8gdid28CopvNadgripV/NTJhAOPTearXjcZvzRI6zlNPd4PSbCbaW1oZnR3mXNWvrXEVkIVp/4rv3A1hfqsByt1LcR3f MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MWHPR11MB1630.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9013c7ec-e47a-46e3-c73a-08d826efb3e9 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2020 05:43:42.8547 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: w0Xc//PARYLjJcdZMNGQngtjq4G9pAeLh9tIfrfAxM9fVHCn+VXM9S/hE0IGhQBTu7CRhmli3756MDJH/4vdmA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR11MB1680 Return-Path: liming.gao@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Rebecca: PatchCheck change is tracked in BZ https://bugzilla.tianocore.org/show_bu= g.cgi?id=3D2833.=20 Thanks Liming -----Original Message----- From: Rebecca Cran =20 Sent: 2020=1B$BG/=1B(B7=1B$B7n=1B(B13=1B$BF|=1B(B 13:42 To: devel@edk2.groups.io Cc: Ard Biesheuvel ; Andrew Fish ;= Leif Lindholm ; Justen, Jordan L ; Kinney, Michael D ; Laszlo Ersek ; Gao, Liming ; Rebecca Cran Subject: [PATCH 0/1] Add BhyvePkg, to support the bhyve hypervisor This depends on the pending changes to PatchCheck.py Rebecca Cran (1): Add BhyvePkg, to support the bhyve hypervisor OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c | 251 +++ OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.h | 77 + .../Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf | 65 + OvmfPkg/Bhyve/AcpiPlatformDxe/Bhyve.c | 132 ++ OvmfPkg/Bhyve/AcpiPlatformDxe/EntryPoint.c | 90 + OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c | 192 ++ OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf | 39 + OvmfPkg/Bhyve/AcpiTables/Dsdt.asl | 1140 +++++++++++ OvmfPkg/Bhyve/AcpiTables/Facp.aslc | 76 + OvmfPkg/Bhyve/AcpiTables/Facs.aslc | 80 + OvmfPkg/Bhyve/AcpiTables/Hpet.aslc | 72 + OvmfPkg/Bhyve/AcpiTables/Madt.aslc | 145 ++ OvmfPkg/Bhyve/AcpiTables/Mcfg.aslc | 57 + OvmfPkg/Bhyve/AcpiTables/Platform.h | 72 + OvmfPkg/Bhyve/AcpiTables/Spcr.aslc | 63 + OvmfPkg/Bhyve/AcpiTables/Ssdt.asl | 15 + OvmfPkg/Bhyve/BhyvePkg.dec | 171 ++ OvmfPkg/Bhyve/BhyvePkgDefines.fdf.inc | 85 + OvmfPkg/Bhyve/BhyvePkgX64.dsc | 847 +++++++++ OvmfPkg/Bhyve/BhyvePkgX64.fdf | 490 +++++ OvmfPkg/Bhyve/BhyveRfbDxe/BhyveRfbDxe.inf | 68 + OvmfPkg/Bhyve/BhyveRfbDxe/ComponentName.c | 201 ++ OvmfPkg/Bhyve/BhyveRfbDxe/Gop.h | 149 ++ OvmfPkg/Bhyve/BhyveRfbDxe/GopDriver.c | 543 ++++++ OvmfPkg/Bhyve/BhyveRfbDxe/GopScreen.c | 393 ++++ OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.asm | 342 ++++ OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.c | 259 +++ OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.h | 912 +++++++++ OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.sh | 80 + OvmfPkg/Bhyve/FvmainCompactScratchEnd.fdf.inc | 65 + OvmfPkg/Bhyve/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 ++ OvmfPkg/Bhyve/License.txt | 68 + OvmfPkg/Bhyve/PlatformPei/AmdSev.c | 106 ++ OvmfPkg/Bhyve/PlatformPei/ClearCache.c | 111 ++ OvmfPkg/Bhyve/PlatformPei/Cmos.c | 58 + OvmfPkg/Bhyve/PlatformPei/Cmos.h | 50 + OvmfPkg/Bhyve/PlatformPei/FeatureControl.c | 21 + OvmfPkg/Bhyve/PlatformPei/Fv.c | 94 + OvmfPkg/Bhyve/PlatformPei/MemDetect.c | 627 +++++++ OvmfPkg/Bhyve/PlatformPei/Platform.c | 607 ++++++ OvmfPkg/Bhyve/PlatformPei/Platform.h | 137 ++ OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf | 113 ++ OvmfPkg/Bhyve/SmbiosPlatformDxe/Bhyve.c | 43 + .../SmbiosPlatformDxe/SmbiosPlatformDxe.c | 245 +++ .../SmbiosPlatformDxe/SmbiosPlatformDxe.h | 52 + .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 55 + OvmfPkg/Bhyve/VarStore.fdf.inc | 115 ++ 53 files changed, 12283 insertions(+) create mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.c create mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatform.h create mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/AcpiPlatformDxe.inf create mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/Bhyve.c create mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/EntryPoint.c create mode 100644 OvmfPkg/Bhyve/AcpiPlatformDxe/PciDecoding.c create mode 100644 OvmfPkg/Bhyve/AcpiTables/AcpiTables.inf create mode 100644 OvmfPkg/Bhyve/AcpiTables/Dsdt.asl create mode 100644 O= vmfPkg/Bhyve/AcpiTables/Facp.aslc create mode 100644 OvmfPkg/Bhyve/AcpiTables/Facs.aslc create mode 100644 OvmfPkg/Bhyve/AcpiTables/Hpet.aslc create mode 100644 OvmfPkg/Bhyve/AcpiTables/Madt.aslc create mode 100644 OvmfPkg/Bhyve/AcpiTables/Mcfg.aslc create mode 100644 OvmfPkg/Bhyve/AcpiTables/Platform.h create mode 100644 OvmfPkg/Bhyve/AcpiTables/Spcr.aslc create mode 100644 OvmfPkg/Bhyve/AcpiTables/Ssdt.asl create mode 100644 O= vmfPkg/Bhyve/BhyvePkg.dec create mode 100644 OvmfPkg/Bhyve/BhyvePkgDefines= .fdf.inc create mode 100644 OvmfPkg/Bhyve/BhyvePkgX64.dsc create mode 100644 OvmfP= kg/Bhyve/BhyvePkgX64.fdf create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/Bhyv= eRfbDxe.inf create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/ComponentName.c create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/Gop.h create mode 100644 Ovm= fPkg/Bhyve/BhyveRfbDxe/GopDriver.c create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/GopScreen.c create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.asm create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.c create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.h create mode 100644 OvmfPkg/Bhyve/BhyveRfbDxe/VbeShim.sh create mode 100644 OvmfPkg/Bhyve/FvmainCompactScratchEnd.fdf.inc create mode 100644 OvmfPkg/Bhyve/Include/Library/BhyveFwCtlLib.h create mode 100644 OvmfPkg/Bhyve/Library/BhyveFwCtlLib/BhyveFwCtlLib.c create mode 100644 OvmfPkg/Bhyve/Library/BhyveFwCtlLib/BhyveFwCtlLib.inf create mode 100644 OvmfPkg/Bhyve/Library/PlatformBootManagerLib/BdsPlatfor= m.c create mode 100644 OvmfPkg/Bhyve/Library/PlatformBootManagerLib/BdsPlatfor= m.h create mode 100644 OvmfPkg/Bhyve/Library/PlatformBootManagerLib/PlatformBo= otManagerLib.inf create mode 100644 OvmfPkg/Bhyve/Library/PlatformBootManagerLib/PlatformDa= ta.c create mode 100644 OvmfPkg/Bhyve/License.txt create mode 100644 OvmfPkg/B= hyve/PlatformPei/AmdSev.c create mode 100644 OvmfPkg/Bhyve/PlatformPei/ClearCache.c create mode 100644 OvmfPkg/Bhyve/PlatformPei/Cmos.c create mode 100644 Ov= mfPkg/Bhyve/PlatformPei/Cmos.h create mode 100644 OvmfPkg/Bhyve/PlatformPe= i/FeatureControl.c create mode 100644 OvmfPkg/Bhyve/PlatformPei/Fv.c create mode 100644 Ovmf= Pkg/Bhyve/PlatformPei/MemDetect.c create mode 100644 OvmfPkg/Bhyve/PlatformPei/Platform.c create mode 100644 OvmfPkg/Bhyve/PlatformPei/Platform.h create mode 100644 OvmfPkg/Bhyve/PlatformPei/PlatformPei.inf create mode 100644 OvmfPkg/Bhyve/SmbiosPlatformDxe/Bhyve.c create mode 100644 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.c create mode 100644 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.h create mode 100644 OvmfPkg/Bhyve/SmbiosPlatformDxe/SmbiosPlatformDxe.inf create mode 100644 OvmfPkg/Bhyve/VarStore.fdf.inc -- 2.25.1