Message ID | 20240129230121.8091-16-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:ee41:0:b0:33a:e5bd:fedd with SMTP id w1csp1116896wro; Mon, 29 Jan 2024 15:03:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IFlTqjJdO5eXF0QL2ZLchOuhPdtqkQs1b2to95wNKCOhLo5R4JQ0HNeUQ9IsQ52vdPMNnOQ X-Received: by 2002:a05:6871:2b1d:b0:210:e01a:4d26 with SMTP id dr29-20020a0568712b1d00b00210e01a4d26mr5851748oac.10.1706569433443; Mon, 29 Jan 2024 15:03:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706569433; cv=none; d=google.com; s=arc-20160816; b=sYDz160YWyzolGZ6TirDBAVZhZc9c26bW5nBRXz13Em6XLKFnIzq5Bl39PkYTVaX0Z e20BzoCQs8do1J31rQB4tdKYW9AEimvI5NMPDrIWjxM47A931mvzyYVGt/COkVqirBlq 4ZXW0r17NcVZdZJ8uzSpXoCTDeU6uj6MpXAJvOb+GwkheuwiDr2VLI0bxKYRyqHUVa1H 70E8zpNAVcLs6CtzCHq8FDEfpWIbJCidg1CfDPVekMWGgC2ruKphjCbbRmqR1Mkstqht zGzPoDmCUUpwSgxDkgID7BGU66KIw74RX68Cbkj3FT0gm0uRyHtyPIh4Xyl2NR97bYlg AUUQ== 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=5Gt1CNQckx8yO7WR3bedyoAfBxjm8E850nOtIhoFZIA=; fh=ZlbSsaokz6j5XPQU+IhUbFpcK1AM7Y5orhlncwoVMh8=; b=Wa56WxHW9q/ySWboLW8SY3QoiA2njPxpQkduI0T/NkA+xzmiEAgLwOoL4eGS0rCEml QwXawk5VQlBkyzXdXkIfV3R0TEsWB62fWhENBeRioTj9THTC2e8peyvCYOqVxLjYp2Ru J7uK4B4BogYB5auOOJObx/QyFqUlTNYwBRCm7q0IzoYnuF8UX/VZVyxhNV7yb2W9hYct ftXNEnUIV6WVLmbOPubUmrTFlfRhURhsnemhwjZqffK3eYyTc2PnzoYEoTw8L5X877BQ 0LDjkcdzPdmLz2Yz8MRSOaXJntZc8Lc9QTWYHpidu/jQQdp4iNDp7qwNDqxLVZyBZpHV bYBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=liAm0qEG; 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e4-20020a05610211e400b0046807bfb6aasi966110vsg.593.2024.01.29.15.03.53 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 29 Jan 2024 15:03:53 -0800 (PST) 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=liAm0qEG; 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 <qemu-devel-bounces@nongnu.org>) id 1rUadw-0006Tb-6e; Mon, 29 Jan 2024 18:02:20 -0500 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 <richard.henderson@linaro.org>) id 1rUadn-0006Ay-Um for qemu-devel@nongnu.org; Mon, 29 Jan 2024 18:02:13 -0500 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1rUadl-0008Rf-IS for qemu-devel@nongnu.org; Mon, 29 Jan 2024 18:02:11 -0500 Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3be90c51299so67889b6e.0 for <qemu-devel@nongnu.org>; Mon, 29 Jan 2024 15:02:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706569327; x=1707174127; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5Gt1CNQckx8yO7WR3bedyoAfBxjm8E850nOtIhoFZIA=; b=liAm0qEGAT5CPMNMTF74YVhX58qk/Y+umBrY6r48Wv6mtypzrWQBknZg5QpoUhPAIm iU2R5S7FwgySpQiZKA0azdRl2Z4ZtW7f8NKpcf7r4nwll4u+Qc6fS4uJxOtsWk1AjhPA /9tbi12o2PODK2tVgt1fifrOT6HIjBvzWjd+tYt0773mMjl6DRnb+mbKwkTcC0TqWQKA HwAFm5RNl8Y9a8+TP797R/FkFniivc7k/edb3q2DbUlMic92ZpzL6TazShwBApcJxyGo AU19mSQQLab26c7pWd7DZxtAmXc/A2XefqMuNTZvAlidv4uNDwUopNQKzX5GbEYYYgga P+OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706569327; x=1707174127; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5Gt1CNQckx8yO7WR3bedyoAfBxjm8E850nOtIhoFZIA=; b=YK7lrNKtVAjeNM/luNaHliBKANDQMlHAamDqbPvWFR9dUfzLUIEL2djGDP+Gnp+agj +EAk7vBq4NIF3Moazi0i9AKQrc7dQTqVoLRCzm0KBjyaMEPu2vzb4VRSA6lEvSHKZA73 pp6QS7/b5d81Ki1ETKzLas8Te7QqEcd/7OWbq29QR3aaVlxQUZgbPXdob8V4E+2RwDPD ejeXbtHBbhlA9M21pBPksZH1AfajuVrUC/69DmO9Ytue8hSQZfNQnfD8zwgB0bX17+oA htQJG2cgmP6QvMo0KGQhxzZLQfUIKvhJ56XfVgCr3kNoNK1YjLxb+ajK3g637OEhU0bv OoKw== X-Gm-Message-State: AOJu0YxredOa74n3WJw/CejsiT5zAlKU6saRXvpWthKITD+01a6tethv jqdlFCfoih3sGhWEcgWy6aAxzBfKlc/xvM3RRrD8TlHz++OAbnLV6qoxiXx1YDdzGeBECssAKR8 uQy8= X-Received: by 2002:a05:6808:1805:b0:3be:7a42:cd5a with SMTP id bh5-20020a056808180500b003be7a42cd5amr1782905oib.46.1706569327067; Mon, 29 Jan 2024 15:02:07 -0800 (PST) Received: from stoup.. ([103.210.27.218]) by smtp.gmail.com with ESMTPSA id r10-20020aa78b8a000000b006ddcf56fb78sm6419368pfd.62.2024.01.29.15.01.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 15:02:01 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: Ilya Leoshkevich <iii@linux.ibm.com>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <philmd@linaro.org> Subject: [PULL 15/31] target: Make qemu_target_page_mask() available for *-user Date: Tue, 30 Jan 2024 09:01:05 +1000 Message-Id: <20240129230121.8091-16-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240129230121.8091-1-richard.henderson@linaro.org> References: <20240129230121.8091-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::22a; envelope-from=richard.henderson@linaro.org; helo=mail-oi1-x22a.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: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/31] cpu-exec: simplify jump cache management
|
expand
|
diff --git a/system/physmem.c b/system/physmem.c index cc68a79763..5e66d9ae36 100644 --- a/system/physmem.c +++ b/system/physmem.c @@ -3431,11 +3431,6 @@ size_t qemu_target_page_size(void) return TARGET_PAGE_SIZE; } -int qemu_target_page_mask(void) -{ - return TARGET_PAGE_MASK; -} - int qemu_target_page_bits(void) { return TARGET_PAGE_BITS; diff --git a/target/target-common.c b/target/target-common.c new file mode 100644 index 0000000000..903b10cfe4 --- /dev/null +++ b/target/target-common.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ +#include "qemu/osdep.h" + +#include "cpu.h" +#include "exec/target_page.h" + +int qemu_target_page_mask(void) +{ + return TARGET_PAGE_MASK; +} diff --git a/target/meson.build b/target/meson.build index a53a60486f..dee2ac47e0 100644 --- a/target/meson.build +++ b/target/meson.build @@ -19,3 +19,5 @@ subdir('sh4') subdir('sparc') subdir('tricore') subdir('xtensa') + +specific_ss.add(files('target-common.c'))