From nobody Mon Feb 9 15:50:13 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1520386627246744.0599054964108; Tue, 6 Mar 2018 17:37:07 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7FD33224C0F32; Tue, 6 Mar 2018 17:30:49 -0800 (PST) Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id CF5E82235229E for ; Tue, 6 Mar 2018 17:30:48 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 499961435; Tue, 6 Mar 2018 17:37:03 -0800 (PST) Received: from usa.arm.com (dbox2.austin.arm.com [10.118.34.22]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 0969D3F24A; Tue, 6 Mar 2018 17:37:03 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=daniil.egranov@arm.com; receiver=edk2-devel@lists.01.org From: Daniil Egranov To: edk2-devel@lists.01.org Date: Tue, 6 Mar 2018 19:36:34 -0600 Message-Id: <20180307013637.16462-2-daniil.egranov@arm.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180307013637.16462-1-daniil.egranov@arm.com> References: <20180307013637.16462-1-daniil.egranov@arm.com> Subject: [edk2] [PATCH 1/4] MdeModulePkg: Added new Virtio non-discoverable type and GUID X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail: RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Added Virtio type and GUID to the list of supported non-discoverable devices. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Daniil Egranov --- MdeModulePkg/Include/Guid/NonDiscoverableDevice.h | 3 +++ MdeModulePkg/Include/Library/NonDiscoverableDeviceRegistrationLib.h | 1 + MdeModulePkg/MdeModulePkg.dec | 1 + 3 files changed, 5 insertions(+) diff --git a/MdeModulePkg/Include/Guid/NonDiscoverableDevice.h b/MdeModuleP= kg/Include/Guid/NonDiscoverableDevice.h index d182e4b9d2..9d598d0487 100644 --- a/MdeModulePkg/Include/Guid/NonDiscoverableDevice.h +++ b/MdeModulePkg/Include/Guid/NonDiscoverableDevice.h @@ -44,6 +44,8 @@ #define EDKII_NON_DISCOVERABLE_XHCI_DEVICE_GUID \ { 0xB1BE0BC5, 0x6C28, 0x442D, {0xAA, 0x37, 0x15, 0x1B, 0x42, 0x57, 0xBD,= 0x78 } } =20 +#define EDKII_NON_DISCOVERABLE_VIRTIO_DEVICE_GUID \ + { 0xA72A1646, 0x1A4D, 0x4A84, {0xB6, 0xAC, 0xEF, 0x18, 0x13, 0x62, 0xC5,= 0x85 } } =20 extern EFI_GUID gEdkiiNonDiscoverableAhciDeviceGuid; extern EFI_GUID gEdkiiNonDiscoverableAmbaDeviceGuid; @@ -54,5 +56,6 @@ extern EFI_GUID gEdkiiNonDiscoverableSdhciDeviceGuid; extern EFI_GUID gEdkiiNonDiscoverableUfsDeviceGuid; extern EFI_GUID gEdkiiNonDiscoverableUhciDeviceGuid; extern EFI_GUID gEdkiiNonDiscoverableXhciDeviceGuid; +extern EFI_GUID gEdkiiNonDiscoverableVirtioDeviceGuid; =20 #endif diff --git a/MdeModulePkg/Include/Library/NonDiscoverableDeviceRegistration= Lib.h b/MdeModulePkg/Include/Library/NonDiscoverableDeviceRegistrationLib.h index c2d9e48353..a3d35af275 100644 --- a/MdeModulePkg/Include/Library/NonDiscoverableDeviceRegistrationLib.h +++ b/MdeModulePkg/Include/Library/NonDiscoverableDeviceRegistrationLib.h @@ -26,6 +26,7 @@ typedef enum { NonDiscoverableDeviceTypeUfs, NonDiscoverableDeviceTypeUhci, NonDiscoverableDeviceTypeXhci, + NonDiscoverableDeviceTypeVirtio, NonDiscoverableDeviceTypeMax, } NON_DISCOVERABLE_DEVICE_TYPE; =20 diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec index 5d561ff484..cd18bbfbd2 100644 --- a/MdeModulePkg/MdeModulePkg.dec +++ b/MdeModulePkg/MdeModulePkg.dec @@ -396,6 +396,7 @@ gEdkiiNonDiscoverableUfsDeviceGuid =3D { 0x2EA77912, 0x80A8, 0x4947, {0x= BE, 0x69, 0xCD, 0xD0, 0x0A, 0xFB, 0xE5, 0x56 } } gEdkiiNonDiscoverableUhciDeviceGuid =3D { 0xA8CDA0A2, 0x4F37, 0x4A1B, {0= x8E, 0x10, 0x8E, 0xF3, 0xCC, 0x3B, 0xF3, 0xA8 } } gEdkiiNonDiscoverableXhciDeviceGuid =3D { 0xB1BE0BC5, 0x6C28, 0x442D, {0= xAA, 0x37, 0x15, 0x1B, 0x42, 0x57, 0xBD, 0x78 } } + gEdkiiNonDiscoverableVirtioDeviceGuid =3D { 0xA72A1646, 0x1A4D, 0x4A84, = {0xB6, 0xAC, 0xEF, 0x18, 0x13, 0x62, 0xC5, 0x85 } } =20 ## Include/Guid/PlatformHasAcpi.h gEdkiiPlatformHasAcpiGuid =3D { 0xf0966b41, 0xc23f, 0x41b9, { 0x96, 0x04= , 0x0f, 0xf7, 0xe1, 0x11, 0x96, 0x5a } } --=20 2.11.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel