From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web11.49513.1681722208791595455 for ; Mon, 17 Apr 2023 02:03:29 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=hoxNzFpy; spf=pass (domain: redhat.com, ip: 170.10.133.124, mailfrom: kraxel@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1681722207; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=AHURuJH6KBWz4KPGegsnK6z1QSHzmmRkeLzeYtBncQA=; b=hoxNzFpyEdPKlHMIQWs4LJJobyte/R6NDLP4x43rECE08Qmxbzd7gLSl2tT5oQ/B8Xiej1 cnths8Uz9iKDK+3hzg7o8DUqo0/WE5EnH7zJKoqIsK/sWMcZ2HlJgBHLyqVEyga77fRk0p n/uNiO3Q/Z5GZJ9mLonihcZNs1bh9Oo= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-588-6KfOJzP3MTSHdY2RluYTkA-1; Mon, 17 Apr 2023 05:03:22 -0400 X-MC-Unique: 6KfOJzP3MTSHdY2RluYTkA-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 283B71C0A58B; Mon, 17 Apr 2023 09:03:22 +0000 (UTC) Received: from sirius.home.kraxel.org (unknown [10.39.193.149]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C13FAC15BA0; Mon, 17 Apr 2023 09:03:21 +0000 (UTC) Received: by sirius.home.kraxel.org (Postfix, from userid 1000) id 0936B18000B3; Mon, 17 Apr 2023 11:03:20 +0200 (CEST) From: "Gerd Hoffmann" To: devel@edk2.groups.io Cc: Stefan Berger , Julien Grall , Anthony Perard , Ard Biesheuvel , Jordan Justen , Pawel Polawski , Oliver Steffen , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Jiewen Yao , Gerd Hoffmann Subject: [PATCH 0/4] OvmfPkg: add virtio serial driver Date: Mon, 17 Apr 2023 11:03:16 +0200 Message-Id: <20230417090320.225046-1-kraxel@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Gerd Hoffmann (4): OvmfPkg: add IndustryStandard/VirtioSerial.h OvmfPkg/VirtioSerialDxe: add driver OvmfPkg/VirtioSerialDxe: wire up in OvmfPkg* OvmfPkg/PlatformBootManagerLib: setup virtio serial console OvmfPkg/Microvm/MicrovmX64.dsc | 1 + OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + OvmfPkg/Microvm/MicrovmX64.fdf | 1 + OvmfPkg/OvmfPkgIa32.fdf | 1 + OvmfPkg/OvmfPkgIa32X64.fdf | 1 + OvmfPkg/OvmfPkgX64.fdf | 1 + OvmfPkg/VirtioSerialDxe/VirtioSerial.inf | 40 + .../Include/IndustryStandard/VirtioSerial.h | 64 ++ OvmfPkg/VirtioSerialDxe/VirtioSerial.h | 226 +++++ .../PlatformBootManagerLib/BdsPlatform.c | 47 ++ OvmfPkg/VirtioSerialDxe/VirtioSerial.c | 789 ++++++++++++++++++ OvmfPkg/VirtioSerialDxe/VirtioSerialPort.c | 443 ++++++++++ OvmfPkg/VirtioSerialDxe/VirtioSerialRing.c | 345 ++++++++ 15 files changed, 1962 insertions(+) create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerial.inf create mode 100644 OvmfPkg/Include/IndustryStandard/VirtioSerial.h create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerial.h create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerial.c create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerialPort.c create mode 100644 OvmfPkg/VirtioSerialDxe/VirtioSerialRing.c -- 2.39.2