From patchwork Fri Jun 2 22:30:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 688228 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d8a:0:0:0:0:0 with SMTP id b10csp1097183wru; Fri, 2 Jun 2023 15:31:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7SFIHhUyiSKMREZhOcstZE2V7ge1jzyyn78WJdwAL+cby/zDzsQrLjls6KjHHfcEFCttV7 X-Received: by 2002:ac8:580a:0:b0:3f6:a015:d9d4 with SMTP id g10-20020ac8580a000000b003f6a015d9d4mr15070861qtg.65.1685745080450; Fri, 02 Jun 2023 15:31:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685745080; cv=none; d=google.com; s=arc-20160816; b=mtLINl/DDPdoPTcDPu1k7ZGKJV9LDGZTflZ/ucTcbBEoL5LSs3WfIwXNh7V+fLe6FM BUWQbghmJ3HT7oPaHjYUQl2xzNu7Oo8PTS/YqySFuxVN2JW7wzFxHSiCmA8csj0LLoRr h+diZagfPRT9fFF3rpifPz6A93G/TyKX4yEHED2o+hzdUKQk87WrCchn9vzzLTDm/ctZ +0dlDXL/0HGE9VihE7EhTsGwbRUo9ZSAtnht0NoyPGb8dw3eFq0t0UOJG7tCmXBCI+L1 mb+cqE8tF9YT09p1NmRoYo8RCLuMYSZL6K+80KULv61tCZSzMcX/jXK5M28eiVnlZltK j+Jw== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=ibR6hnE68PzbDmXZWXPIiPLj4G7Iqx7to/6c3Tlt7HA=; b=WDHNNoVK7qEoGd+NDkYU1IzABWCZeQNMPU3lQauop0QVS5jPduUOF1VzLI5N87AC+M 6ivP8ekNeKIHetDV+BXdT02YUtWG4P/r1g0uIaDIq1tIcmKUYhb1sS/g40e6Pb6y5KX7 Q7xhC65Gg/R3ijOeI8gWmEo+56w3VL84o4b/6yb6WHCktGtQuAQyrhWe1xgZWzMPjJoE m+hTHVfNujbDUQpu0+EqQC9cgL/hRF6uuZRZTqHSIIfiJRP+DQtIWUulm9CmVsemwjg+ fOyTXo3sqj+ZcPVMiaXA3r+4Xl3dAJ/53cY9LAzuaplUo5fBkDoAYPVVMlu1lZAgaBvp n5Pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=PVfb5ONX; 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 3-20020ac85743000000b003f86195769dsi15257qtx.408.2023.06.02.15.31.20 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 02 Jun 2023 15:31:20 -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=PVfb5ONX; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5DI6-0001RB-JG; Fri, 02 Jun 2023 18:30:42 -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 1q5DHr-0001Km-Jx for qemu-devel@nongnu.org; Fri, 02 Jun 2023 18:30:23 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5DHp-0002AJ-AM for qemu-devel@nongnu.org; Fri, 02 Jun 2023 18:30:23 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3f6d01d390bso26447905e9.2 for ; Fri, 02 Jun 2023 15:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1685745019; x=1688337019; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ibR6hnE68PzbDmXZWXPIiPLj4G7Iqx7to/6c3Tlt7HA=; b=PVfb5ONXLPWo3rZMjDC4Tz0Sh1L2JUtMGmAXzGbd0hRGy33nvbUrCIqB6kqrXduGqS 2fDXjDS2vs9HE5e3UAS/K0Hl9c7kdDQQsvvXVxDailNTijYnpOKRvBD8+QEiR6vA/32A kRG8lSo7/ItMWR7mRJ4R8cAFeOLqvFqNnMlR98MaH/EF1pOCnoZdAZpC3fplZ9208yqg ZyZhSicpWyer/D81LCuEJk8gsVdUbuKFzRR6ha53G5QXc3Amrg5n4L2e3l7mNWRXUV5e FwdtjU3tzpvp46qgAK2bY+Y1wTas+kGO6sMjuJNZFt4DXNMbpqB3BJnqvJlccznSPfCe g/LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685745019; x=1688337019; 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=ibR6hnE68PzbDmXZWXPIiPLj4G7Iqx7to/6c3Tlt7HA=; b=YjP7ySmBQQzl6atbyOGUZi+mnEeZi5n6kxwV/uBqYlwcynpk9HGuxF3FQw1cK0jU5A Nl717+UZdKbOsTDi0naqR4pMDIyyvT/FQzuO8h+zHoAVAT2FO9iS4ZFjICTy5Fqajo+x 5lW9UeExx4KZnP6+E4f6dtiI2YH5EVxBL+0mxPOMy/yQd9PunsEhMda6BexDsYItTpK+ +dY0tHpnS8L5nNbvTOdG8xmZg3/nztk2Tp9kV7eGRfwznt8yvnfXmQ3rHoF8Lz0MJV2s v2XC+YH+uLBIReDhgkGpGcPZELZ5QKxZ7w14djGhHD5IwSyn+H/jsmX+SeokCKbfB7Wy wyyA== X-Gm-Message-State: AC+VfDz3yvnw0P2aDSvvszPirHEEi1mknEVDOLBslN7fzQbvEL3sPB78 ger39Q5h7W5GKXLW+8AFuWyrEYzgfVxxlWCYICM= X-Received: by 2002:a5d:4945:0:b0:306:2671:7cad with SMTP id r5-20020a5d4945000000b0030626717cadmr851275wrs.55.1685745019162; Fri, 02 Jun 2023 15:30:19 -0700 (PDT) Received: from localhost.localdomain ([176.187.218.254]) by smtp.gmail.com with ESMTPSA id w6-20020a5d6806000000b0030630de6fbdsm2757095wru.13.2023.06.02.15.30.18 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 02 Jun 2023 15:30:18 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Richard Henderson , =?utf-8?q?Philippe_Mat?= =?utf-8?q?hieu-Daud=C3=A9?= Subject: [PATCH] target/hppa/meson: Only build int_helper.o with system emulation Date: Sat, 3 Jun 2023 00:30:16 +0200 Message-Id: <20230602223016.58647-1-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=philmd@linaro.org; helo=mail-wm1-x32d.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-bounces+patch=linaro.org@nongnu.org int_helper.c only contains system emulation code: remove the #ifdef'ry and move the file to the meson softmmu source set. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson --- target/hppa/int_helper.c | 3 --- target/hppa/meson.build | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/target/hppa/int_helper.c b/target/hppa/int_helper.c index f599dccfff..d2480b163b 100644 --- a/target/hppa/int_helper.c +++ b/target/hppa/int_helper.c @@ -25,7 +25,6 @@ #include "hw/core/cpu.h" #include "hw/hppa/hppa_hardware.h" -#ifndef CONFIG_USER_ONLY static void eval_interrupt(HPPACPU *cpu) { CPUState *cs = CPU(cpu); @@ -273,5 +272,3 @@ bool hppa_cpu_exec_interrupt(CPUState *cs, int interrupt_request) } return false; } - -#endif /* !CONFIG_USER_ONLY */ diff --git a/target/hppa/meson.build b/target/hppa/meson.build index 81b4b4e617..83b1e0ee7d 100644 --- a/target/hppa/meson.build +++ b/target/hppa/meson.build @@ -7,13 +7,13 @@ hppa_ss.add(files( 'fpu_helper.c', 'gdbstub.c', 'helper.c', - 'int_helper.c', 'op_helper.c', 'translate.c', )) hppa_softmmu_ss = ss.source_set() hppa_softmmu_ss.add(files( + 'int_helper.c', 'machine.c', 'mem_helper.c', 'sys_helper.c',