From patchwork Tue Jun 7 20:45:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 579391 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp5546229max; Tue, 7 Jun 2022 14:59:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwq5qLC3BGVJ52hyMtLOS4EkCJY4cSeU9yd0Tl4y7qi8vOzN1rD57ZV65vR4QtXGF0uGHFv X-Received: by 2002:a05:620a:44c9:b0:6a3:a865:424a with SMTP id y9-20020a05620a44c900b006a3a865424amr21392177qkp.219.1654639162291; Tue, 07 Jun 2022 14:59:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654639162; cv=none; d=google.com; s=arc-20160816; b=REx+kcCnYTdVcLu1ZrXzlSBt4JoqPryk48y/XYqX3Lzmz51pkZgp6EeiLU9iVVhI/h ckS0IJ9rNHyhv4tFOgybOKfm6Tu2mQx7qte0SgXwxizLhTvlC36lT1yRnVjN7VSqhBxt 0UIaWeuW7qfm09CCJS8LQF2rB32zcFioYBFdhQ5SkNkw/olNVogTrFES4CwQrVAqgw+j aO8cz8Tf8BYrhqm+lAmYYXn2MvnmtXYlmU08DmWqiyO5IeYJwQdMn6e2QSXbstFgz4JB ImGvey1JG3b5EdWt1ehwJxaPOqZPCb4firQ/3me1mZISDsvB81l2Q3QGqLy/h50ezJxv HESA== 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=PH1iCHmX2APndpCTAKxDknlsr/LBtNF8+Gd3OvL1y7a+YpN93SfuEIvhWYqP9ETsSz LTLi/cRrAwrYs87UTFy3seDPHUA2zulKcrNsR2H+v95/9HZfTVrIhvTzPxuEqO5cFIIq GCwkAJs97RSc3YWOuk+ZkbsqSfp3ZXjVWgauupeoykiAbW3P/QuouH9cQsN9ncwXF6e2 bhNo8FqDCCffcUmA58QXcUsWuo6VzYQna7DYlUuGeeTWQuhLTBZ6uDKyxXFSvJh09QrX 9ZJMk16KlOeSU7Oi9vT/KjQILEFCQrgOVVLSTqWaDDV19+YZCsxNe6WD/QHfEDdP3uxQ Di/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oxa3mn+G; 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 c11-20020a05622a024b00b002ff54984aa3si9478262qtx.429.2022.06.07.14.59.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jun 2022 14:59:22 -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=oxa3mn+G; 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]:50934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyhEP-0006wF-Sc for patch@linaro.org; Tue, 07 Jun 2022 17:59:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyg5Z-000782-OT for qemu-devel@nongnu.org; Tue, 07 Jun 2022 16:46:09 -0400 Received: from mail-pg1-x52f.google.com ([2607:f8b0:4864:20::52f]:38692) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyg5U-0001JF-Eb for qemu-devel@nongnu.org; Tue, 07 Jun 2022 16:46:09 -0400 Received: by mail-pg1-x52f.google.com with SMTP id 123so6615391pgb.5 for ; Tue, 07 Jun 2022 13:46:02 -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=oxa3mn+GxfVm296cfiN3atYUva8v4/CQoriD+HFveSiqJFKSaEmv3oVGmCDWjoTGxC XhQxxjjvJH+veVIQrkFsoIkDGZ9irSRh9dD89F9ffwhi5cofMalXclwZTXVu/Z4Qv8vz A0A4s1vaItTG+N0kL6oX25QL4LWMoFd4S3VXCv3zz1U1qolOntA/QfX8pPfemM2TYrsu GMFnc8qahdlCnRNj5xFY5Xz41stkqLy+OV9forniZhtUCsd2BN5yi+WGqs4YXjZgz9aV SKNfoOh3TkdXtb3H3xwKrrjfYldvOCeE5/MO20qIJq9u2Hrp47RfUj19pLL0GbPomp4j eiTw== 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=32WtIWXQBMSUXtug+bwhutGlYjiTJAr2CMNmpc3a+KKvjcI65IEOPBCNTNpgLZF/Hl yZlg4/ZZOV2bqQMRhDS9zrSQkuh9Av4js09WdmEMGaoKVKrAlgWepB8FHIXuV63wXZVa rWzsdiGEn0WSg53+L1IJi2MLDTPXUgo9so6h2J1CEracUj/bh4H9Ww9bx20i2LZxytOZ akCwGpnuts+7MwZvWypq3iMyHLR6Wk1T8pQTKWE3YLdNJm130N7qtynaMriOFi/7/+IP xHOYhejgquLDPjx+kySPTrcLf7b0m4Gqff46YkVrh7+kUfakuSzbh9mg3FLIiD0wd75D BQ2w== X-Gm-Message-State: AOAM532lBUB/qyWjXK5l3eeVUhC9r0QHDOxVr+vxSNgVgwonoaUn6IRu t8TR1tBNXcn2NccjLrbYl90ruPkuQsxFDg== X-Received: by 2002:a05:6a00:2403:b0:4fd:e84a:4563 with SMTP id z3-20020a056a00240300b004fde84a4563mr31429780pfh.60.1654634761933; Tue, 07 Jun 2022 13:46:01 -0700 (PDT) Received: from stoup.. ([2602:ae:1547:e101:3cf2:c634:5b19:25f6]) by smtp.gmail.com with ESMTPSA id r6-20020a170902be0600b00162037fbacdsm12971279pls.187.2022.06.07.13.46.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 13:46:01 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Peter Maydell Subject: [PATCH v4 03/53] semihosting: Improve condition for config.c and console.c Date: Tue, 7 Jun 2022 13:45:07 -0700 Message-Id: <20220607204557.658541-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607204557.658541-1-richard.henderson@linaro.org> References: <20220607204557.658541-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::52f; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x52f.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', ))