From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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) From: Daniil Egranov To: edk2-devel@lists.01.org Cc: leif.lindholm@linaro.org, ard.biesheuvel@linaro.org, Daniil Egranov 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: [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: , X-List-Received-Date: Wed, 07 Mar 2018 01:30:49 -0000 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/MdeModulePkg/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 } } +#define EDKII_NON_DISCOVERABLE_VIRTIO_DEVICE_GUID \ + { 0xA72A1646, 0x1A4D, 0x4A84, {0xB6, 0xAC, 0xEF, 0x18, 0x13, 0x62, 0xC5, 0x85 } } 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; #endif diff --git a/MdeModulePkg/Include/Library/NonDiscoverableDeviceRegistrationLib.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; 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 = { 0x2EA77912, 0x80A8, 0x4947, {0xBE, 0x69, 0xCD, 0xD0, 0x0A, 0xFB, 0xE5, 0x56 } } gEdkiiNonDiscoverableUhciDeviceGuid = { 0xA8CDA0A2, 0x4F37, 0x4A1B, {0x8E, 0x10, 0x8E, 0xF3, 0xCC, 0x3B, 0xF3, 0xA8 } } gEdkiiNonDiscoverableXhciDeviceGuid = { 0xB1BE0BC5, 0x6C28, 0x442D, {0xAA, 0x37, 0x15, 0x1B, 0x42, 0x57, 0xBD, 0x78 } } + gEdkiiNonDiscoverableVirtioDeviceGuid = { 0xA72A1646, 0x1A4D, 0x4A84, {0xB6, 0xAC, 0xEF, 0x18, 0x13, 0x62, 0xC5, 0x85 } } ## Include/Guid/PlatformHasAcpi.h gEdkiiPlatformHasAcpiGuid = { 0xf0966b41, 0xc23f, 0x41b9, { 0x96, 0x04, 0x0f, 0xf7, 0xe1, 0x11, 0x96, 0x5a } } -- 2.11.0