From nobody Mon Feb 9 11:33:08 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+79351+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+79351+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1629110935; cv=none; d=zohomail.com; s=zohoarc; b=jG6YyBoaixhytRbIbVKx8TBFEfcKSqmIca3LzPs3ErbAjzcizr1nAKbFpuYvkAorEr1W4bKuP7VuPlE0oO/MpHExtH39JI/5DnEYM1ZLhOy9LX07/jPZ3abJv5UkGCvVkxW9E9mOSON4M08wYW6cidV3zYCLMl7AOymNyuNg3ig= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1629110935; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=IQuIx59yf2P0AF+QRTZ/3RiJeNK+Y7PSN7BEtn4bZAI=; b=fOAUV34CpzrHVL+fiUmvom9LQmB18TI0RSjpT6GWwzHlVNv397Kqfp7mdN/cR5lJqWxzAI3M1LcYFR0D7ssiQyjoxRR/qpCblK4kN34utqu/VFeRFKWQWpf9thSEoqOdZEl2bcMQNbTSu+FnVi4kBSuBCrAK7BOz8pGCOrE1o7M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+79351+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1629110935503156.0086346901237; Mon, 16 Aug 2021 03:48:55 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 16tFYY1788612xNOM2F1ZGVb; Mon, 16 Aug 2021 03:48:54 -0700 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web11.22352.1629110932840703941 for ; Mon, 16 Aug 2021 03:48:53 -0700 X-Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-247--hrkmaeRP7yWC3_N5Ma2Ig-1; Mon, 16 Aug 2021 06:48:50 -0400 X-MC-Unique: -hrkmaeRP7yWC3_N5Ma2Ig-1 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CA483192CC40 for ; Mon, 16 Aug 2021 10:48:49 +0000 (UTC) X-Received: from sirius.home.kraxel.org (unknown [10.39.193.216]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 11CEE5D6A8; Mon, 16 Aug 2021 10:48:46 +0000 (UTC) X-Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id A12D5180062B; Mon, 16 Aug 2021 09:11:09 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Gerd Hoffmann , Philippe Mathieu-Daude Subject: [edk2-devel] [PATCH v2 1/4] OvmfPkg/Virtio10: Add virtio-mmio 1.0 defines Date: Mon, 16 Aug 2021 09:11:06 +0200 Message-Id: <20210816071109.101122-2-kraxel@redhat.com> In-Reply-To: <20210816071109.101122-1-kraxel@redhat.com> References: <20210816071109.101122-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,kraxel@redhat.com X-Gm-Message-State: tsXVZaBs3rgB72sPv2rS2CjAx1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1629110934; bh=n7zGTQmYXU9YBsKBRRAkGonUcbC9HSztkD88IY23Cbw=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=LtQN5ka7jCZcn1fOo2PWVkTYrnoTzDLM9JaUkEYzinGIeattKWkY4wKZ6p9WFlzkGEL WidiaDmwjKuWJpLgGgWOWozqJiz7T+uO8w6NpZoSkc0JzQtidD2ipFDjLDhGgDVlr56bv RvJbf2Ar36FFtI2fxca9qz0fofqQAL0YfwQ= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1629110937949100005 Content-Type: text/plain; charset="utf-8" Add defines for the config space offsets for virtio 1.0 mmio transport. Signed-off-by: Gerd Hoffmann Reviewed-by: Philippe Mathieu-Daude --- OvmfPkg/Include/IndustryStandard/Virtio10.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/OvmfPkg/Include/IndustryStandard/Virtio10.h b/OvmfPkg/Include/= IndustryStandard/Virtio10.h index 2c60be2b7c0c..a1712247e054 100644 --- a/OvmfPkg/Include/IndustryStandard/Virtio10.h +++ b/OvmfPkg/Include/IndustryStandard/Virtio10.h @@ -81,4 +81,16 @@ typedef struct { #define VIRTIO_F_VERSION_1 BIT32 #define VIRTIO_F_IOMMU_PLATFORM BIT33 =20 +// +// MMIO VirtIo Header Offsets +// +#define VIRTIO_MMIO_OFFSET_QUEUE_READY 0x44 +#define VIRTIO_MMIO_OFFSET_QUEUE_DESC_LO 0x80 +#define VIRTIO_MMIO_OFFSET_QUEUE_DESC_HI 0x84 +#define VIRTIO_MMIO_OFFSET_QUEUE_AVAIL_LO 0x90 +#define VIRTIO_MMIO_OFFSET_QUEUE_AVAIL_HI 0x94 +#define VIRTIO_MMIO_OFFSET_QUEUE_USED_LO 0xa0 +#define VIRTIO_MMIO_OFFSET_QUEUE_USED_HI 0xa4 +#define VIRTIO_MMIO_OFFSET_CONFIG_GENERATION 0xfc + #endif // _VIRTIO_1_0_H_ --=20 2.31.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79351): https://edk2.groups.io/g/devel/message/79351 Mute This Topic: https://groups.io/mt/84920346/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-