From patchwork Tue Jun 28 04:53:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 585499 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp444011mab; Mon, 27 Jun 2022 22:39:01 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vMH69fLIDAFv1OeQVF/imnNZ2k2MFQHO+K9Xu0+kwqC2L7dn4L2BlMVxdxiSsCIKbggncv X-Received: by 2002:a05:620a:2584:b0:6ab:91fd:15dd with SMTP id x4-20020a05620a258400b006ab91fd15ddmr10248573qko.287.1656394741457; Mon, 27 Jun 2022 22:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656394741; cv=none; d=google.com; s=arc-20160816; b=c5PK0Tto/y+T3P2Pe4O8dwh7XiH23gKwVOm50xCMP/H+l3mq8wqp8PafSH8gQHPJam 8Ol6b5uuOUvJeA2w/FEcDJ7MLeO0MCEoGl3BMp5hmVZZj1orG5uTEFyoD9YNmvKEdL/F hl0ofbHIaexW/8ILEdWe+TR+310kNseBYXWLzfgnrOpyz8CgotsnuloABbqZ62KO69Kt rV7dqlPxLuYsQ4BFNiRQRvxQTK6O30t2ZgeoH08+JfYDQapMboG0ZenykoODMCe8V5le OI6ID2cDAtDebz5MnLHevajus4TOFYHu6hNMnz2sEHEl9m8Q885mlNkfVnzDfovvShnW uMPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=+d9/jr06nswWZQd9Uw/cJzKLCMbhQR5Mz1vx++OuQjc=; b=hcO6KbcudmR/L1vrL0TiQ0lffJN8P/Isx+5TQQaVoJYPSR1m5VWNLSEYvmIZkbNPYd +auUgjX8gNZaDX6HxvLMDCNrnEAfB5YUc3b2Oop6c7KL2eEUKtTMkNF7aywLTTm0vSZ9 2EuGOHF98ia1pAvK4s6GHFjInpU9F0tJp4mVETC5hmlWT3Ptci0GEjyRVWVrVX9J5x/I Ups5Pw0dqS9GwbPmf3sld2QKKMAg4aF+IDhbWjU/fA69MuE9Y7pkgOgxjKMdE59V5vWp MWKoQhC1a4dldyD9KE3lfo1E3F5mqe7h0iHrSHJXLxmuPpVqoOaJrblPhX8F4tjxqLFe G12Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2BdSOuD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id eo6-20020ad45946000000b004702eee87c3si6596039qvb.143.2022.06.27.22.39.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Jun 2022 22:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2BdSOuD; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:47134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o63wD-0007aP-1h for patch@linaro.org; Tue, 28 Jun 2022 01:39:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o63Ev-0002BJ-Ml for qemu-devel@nongnu.org; Tue, 28 Jun 2022 00:54:19 -0400 Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034]:40559) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o63Eu-0008Fk-96 for qemu-devel@nongnu.org; Tue, 28 Jun 2022 00:54:17 -0400 Received: by mail-pj1-x1034.google.com with SMTP id g16-20020a17090a7d1000b001ea9f820449so14628330pjl.5 for ; Mon, 27 Jun 2022 21:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=+d9/jr06nswWZQd9Uw/cJzKLCMbhQR5Mz1vx++OuQjc=; b=m2BdSOuDP/An0yZke11I+RfufApZBTFYghcf61IYewiSeOUVWISuF/xaDKerW4M2rL hKF6rHsiXmTPwtRcGptOGPt3rj+FHN1GcOs4iuZlH47O3GIEn98gOAgkl0VeZddlLXu1 GHTN9stlJmr5ZW9j1hW5mqd0kF79UryqVmVtncaWi55zJ1CryfSKDGiJE/lMuX8l+4S3 nBjeQ6x7ihUU5vTNFRAluJdMrbqWenKwnWejYBfhA1IZHYXa60J8suine2fcpdsSxEzZ Mc2Ece3nu6hRVWowuczkNBkgpZ49gsq5/zJ1A5m5Gj2aHh3hJU9iVY5pR85WBb23NLEd cE+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+d9/jr06nswWZQd9Uw/cJzKLCMbhQR5Mz1vx++OuQjc=; b=3kE/NwVkAv4+Uhtfl1vyamFui3gPTWnX0ABhSbQoNvgUahXEBN589D2kZzwXmNRprJ LIAFX1nIme3rPszSGXhP9nJsMii9naETWAtL/yKsj/gykNB4qlpO5F50NkM0ken/ezg3 fL/rrPFEGSHtBsiTkuP0qnlygHQLBKJ5bISJoTBeo02csOTXP2LGh12HcsUtRi+oWJxl fvK/NCaHFu5jtF2QEGknlSpIiwcEYXcY5sXXsZ4fYcB8Tg9OGktD8nGfMNtecDLShP57 n/QCsKDN7SUu5sRV81qWz57xFSg/xonzCWPRX6zzMk67lfUM/DW8N9SHZd2cQbCZPlQF xVrA== X-Gm-Message-State: AJIora9WbglV+HZ3r+/4ZNyWX04DMm+CEWmyfZwaodfphdmq6I6g+kXi CcjlvWdxvCELQ6YZ1kZkJmvgfnCQtD9GaA== X-Received: by 2002:a17:90a:404a:b0:1ea:e936:b69 with SMTP id k10-20020a17090a404a00b001eae9360b69mr19594783pjg.133.1656392055506; Mon, 27 Jun 2022 21:54:15 -0700 (PDT) Received: from stoup.. ([122.255.60.245]) by smtp.gmail.com with ESMTPSA id w8-20020a1709026f0800b00168c523032fsm8073735plk.269.2022.06.27.21.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 21:54:15 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PULL 03/60] semihosting: Improve condition for config.c and console.c Date: Tue, 28 Jun 2022 10:23:06 +0530 Message-Id: <20220628045403.508716-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220628045403.508716-1-richard.henderson@linaro.org> References: <20220628045403.508716-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1034; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1034.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, 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+patch=linaro.org@nongnu.org Sender: "Qemu-devel" While CONFIG_SEMIHOSTING is currently only set for softmmu, this will not continue to be true. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- semihosting/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/semihosting/meson.build b/semihosting/meson.build index ea8090abe3..4344e43fb9 100644 --- a/semihosting/meson.build +++ b/semihosting/meson.build @@ -1,4 +1,4 @@ -specific_ss.add(when: 'CONFIG_SEMIHOSTING', if_true: files( +specific_ss.add(when: ['CONFIG_SEMIHOSTING', 'CONFIG_SOFTMMU'], if_true: files( 'config.c', 'console.c', ))