From patchwork Sun Jun 11 11:00:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Beschow X-Patchwork-Id: 13275202 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6A462C7EE2E for ; Sun, 11 Jun 2023 11:01:41 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q8Io2-0003NR-Cn; Sun, 11 Jun 2023 07:00:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q8Io0-0003My-SY; Sun, 11 Jun 2023 07:00:20 -0400 Received: from mail-ed1-x536.google.com ([2a00:1450:4864:20::536]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q8Inz-0004gJ-3E; Sun, 11 Jun 2023 07:00:20 -0400 Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-5147e8972a1so5921573a12.0; Sun, 11 Jun 2023 04:00:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686481216; x=1689073216; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ko+FFLYmdcftn0u1vmgRraBDi/dPXRFwCbTwUl5J2R0=; b=C6KrpBFLQY7xK/VgSE+a2+I2jXHl80x1flx7Fn3REciOsX+nYs130niDySRDhbZgW/ 9cRajHp29dS1yADbgxpyajSm4aEbEH9UqVBaIvRxzQGbkcwifyj/vdPIWeWWMSotqbff QZhBpZ3Us/rzzejoH8eXPZkPMJOBXQ/ahFgnsLp07RHgmqqPWdlo1QJ7jDrLokL1y8eH BbI0dtFeTP4KF+3U56E9GboyP4mYPdu5mrHA5gjS6BtxE9QY5DYtwmmqpwvgrL7urbQ4 mrTDapZKf2k2IIRKm+gFQXf1aF4KCNOozEcA3dJqbczqbXJtXM9UyWiWmgdCKi9jvHWN kmCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686481216; x=1689073216; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ko+FFLYmdcftn0u1vmgRraBDi/dPXRFwCbTwUl5J2R0=; b=APImvnSzWfj/b2O29MF3wK+vMcekmQ2oT3NL4dr8XEi+nkyQAzmjr4QKO7X+nD8H35 04qPDrg/Mt1ZAM5+QdjG9sFMmA9m/LY0VguXUJqYxwLQCySFREC1rILprXCemqXziGBR D2lmKGl+SqCMYlESQInFz5cxSGM3dCr/+gqwsrSLe20slHXGwX6BhgXMPge3ZtEn8Uxl 4WhcyBH/v2lOzYi1xgj1FEM4GCSDXzi7RkAZPSJbhHcG8XF5Y/69x2si+EO1B6/S7ARP w3XujMwYVyp+HzkdO/MNf6uXtwrOObIf6YmHLzMmN+rnMpV2pvLha8CAxr8jwrUvscmM aeWw== X-Gm-Message-State: AC+VfDx+OqNMBjAjRiqfGi8pGYK54Io4rQc371ME6+8CMXO7wp3PEc4e s8yKQx3DyRr9bifDUuLUGEEJAkeNttA= X-Google-Smtp-Source: ACHHUZ6FEdKq75wpmWu3yzdKy63uSdBb5JPRH+z3BOZRsB/riAVFMQdLCUgDOoyJdgP9zctSS6Z1Zg== X-Received: by 2002:a17:907:7f0d:b0:974:9aa9:be3 with SMTP id qf13-20020a1709077f0d00b009749aa90be3mr7536286ejc.28.1686481216326; Sun, 11 Jun 2023 04:00:16 -0700 (PDT) Received: from archlinux.. (ip5f5bd7c0.dynamic.kabel-deutschland.de. [95.91.215.192]) by smtp.gmail.com with ESMTPSA id n11-20020a1709062bcb00b00977eec7b7e8sm3708411ejg.68.2023.06.11.04.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 11 Jun 2023 04:00:15 -0700 (PDT) From: Bernhard Beschow To: qemu-devel@nongnu.org Cc: =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , qemu-trivial@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Eduardo Habkost , Mark Cave-Ayland , "Michael S. Tsirkin" , Marcel Apfelbaum , Paolo Bonzini , Artyom Tarasenko , BALATON Zoltan , Richard Henderson , Bernhard Beschow Subject: [PATCH 0/2] Export struct ISAParallelState Date: Sun, 11 Jun 2023 13:00:06 +0200 Message-ID: <20230611110008.32638-1-shentey@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::536; envelope-from=shentey@gmail.com; helo=mail-ed1-x536.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org This series incorporates rebased versions of the ISAParallelState patches of [1] as requested by Mark. Changes since [1]: * Don't export register definitions (Phil) * Rephrase commit message of second patch (Zoltan) [1] https://patchew.org/QEMU/20230521123049.312349-1-shentey@gmail.com/ Bernhard Beschow (2): hw/char/parallel: Export struct ParallelState hw/char/parallel-isa: Export struct ISAParallelState include/hw/char/parallel-isa.h | 46 ++++++++++++++++++++++++++++++++++ include/hw/char/parallel.h | 21 +++++++++++++++- hw/char/parallel-isa.c | 1 + hw/char/parallel.c | 32 +---------------------- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 2 +- hw/isa/isa-superio.c | 1 + hw/sparc64/sun4u.c | 2 +- 8 files changed, 72 insertions(+), 35 deletions(-) create mode 100644 include/hw/char/parallel-isa.h