Message ID | 20240202055036.684176-32-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | eafa0f68c3924df193b64c121657bbffe3248076 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:9bca:0:b0:33a:e5bd:fedd with SMTP id e10csp755288wrc; Thu, 1 Feb 2024 21:58:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQmxMP5oBzVxX+gGgHmdU/Ai2AembjNhBNik7oGKvDSzqoTvxf1VZVDIm2mA6FTsQ3HyER X-Received: by 2002:a0c:a99b:0:b0:686:ad1a:ecb7 with SMTP id a27-20020a0ca99b000000b00686ad1aecb7mr785131qvb.42.1706853518263; Thu, 01 Feb 2024 21:58:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1706853518; cv=none; d=google.com; s=arc-20160816; b=jNl1+LVAcmDemsIgXFIVtxnkbA2b2zXldd4FofchDHUB4eXx6hJGf89XdrZzOqHSTG d/Sfq+1QPMkb1qHOKFVWvpYlQ7qkPXJN/c+HG1RY0sbAj6QvBqQwtAzRzGZCLK2q2Bdf U0YF3p2our5w4MFpxjm3NVvWapUGVgF7mtl073SkQV6wrEA0pxbN+QWZ88sSFPXWc6HC 2bGLYF/6FGDCCAjoewekqZb3TaNnbuTQ89v72i/U/ezjwRr19culVjf9aK7eht5HWA5g CFfBRi73NJajuyr4YD8gipYKp2pd4VRKs6YDzHcEFOZRfQiTp1QjqaBuO2ubTiPk0den WPtw== 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=mMDUR8YTjAtFg0favVwCF9fiRHHGxe41Pc5h5Qu3z9s=; fh=PvRLPJQgCBHXKYMw/X+5nKdWwhfXONKtxhl5XuVV0RE=; b=P6B2l5ivQvNFWSmxMdjV5DzPBCpHSrIJD3SNCfRx64WlQqLPMk6VX2Dvnjitw7Prm6 lHufoNLHwltibY7wWm/dH9/KM2fOUXPqHb3IvqmqGehsC6/JmiSobGeJO/8XqRNo4XXs 3aduTIOlDyJBqiOBbXcDHqcWfuNy+InOOBficnc1+57vKbrQa59J7ofOxOipuVK2mChy sQOGbi4jXMQnxu9+81hoK5wWTePPAxDmf9c9rrYe/g884HsrW5gswFuqa2yJnv6MKNmc l9Y1KgpKrK/oxvEkbk1DPinTZGO93rzkVPWe20hvMOlf5nQgK1cYd1UK61f4rfBoibqs w4sA==; darn=linaro.org ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=gXixLQXq; 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 X-Forwarded-Encrypted: i=0; AJvYcCXN5u5xGS1j5TNDh7LyWJhV8iDCeGxtkUgBpsDnSpmilJXGZ6aleZ9li3r2RhOiG2dIy5O9NLqQWuYtXSaKHPsY 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 v15-20020a0cdd8f000000b0068c67a0a627si1238065qvk.336.2024.02.01.21.58.38 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Feb 2024 21:58:38 -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=gXixLQXq; 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 1rVmSu-0001q9-HI; Fri, 02 Feb 2024 00:51:52 -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 1rVmSr-0001gH-Gv for qemu-devel@nongnu.org; Fri, 02 Feb 2024 00:51:49 -0500 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) 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 1rVmSp-000230-Bx for qemu-devel@nongnu.org; Fri, 02 Feb 2024 00:51:49 -0500 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-6dddf4fc85dso1354927b3a.0 for <qemu-devel@nongnu.org>; Thu, 01 Feb 2024 21:51:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706853106; x=1707457906; 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=mMDUR8YTjAtFg0favVwCF9fiRHHGxe41Pc5h5Qu3z9s=; b=gXixLQXqSO7rcz5ExIWeC6rEiB5vJJqG/j2KOTBX0eth7PjvpIV5zt41TxK0WM+BCt TjXTi+oWAdUlN4tYeog65Ls7UUNkjzHJsY/leVOV4OPv6LYwswMViobEJjiy4dXXVroF e3WGBiQXyoJ7s9UeVd4kCN0DoJhuMrlRhHg8sO0c8FcQRHUGWBC4XUbJ6NBtONiGiqD/ 3+u5MK7uwGlY0mGDno+ibNboZYBQ9WZyGfvOZlJLC7mNP8KumyDCL7QmF1hpqI+pHp6n HC7eo5kWgprNdKsvjiT2bqvim0bKzztMYGxhw+cMncUBVQ6f36KM+IuCaoqVXkGDstHa wbxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706853106; x=1707457906; 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=mMDUR8YTjAtFg0favVwCF9fiRHHGxe41Pc5h5Qu3z9s=; b=hephT0qJ8rCqe5xcISXjvcRJtR0uTXS2SCFQ0EDcFBNyr5sAK/wJUPFJwRZYXPxzBY VWAoV/RWjSs86RYujaNTuPy2vcVB63jRFE+lJelwWe73jcHs2L4YvbbSzK6gqB8eMgsp PkFFUGXIOGyxzJaqZYRpC1hRNnUvPrBluRmydlRK7P9zEOz2hK3fHL6R5ReKkFWeIe4Q E5hNxug77jgEeIyKFrrlhgwopfAV3p7znT18FcVGL9JLZQN6N1FILuXUlOfVfIdErnhG qSCmMGQWClhncDKWibDA94fNKIdSfFXKgotdHWRvcAmn3H4Oe7i4r31xc5Bxb0WEFXC/ V0vA== X-Gm-Message-State: AOJu0Yw6Rf2clndkuULByHRYJ1VEBUBHwnMRpTi+LFlrNpyrvi0AqmPx 2SHKQh/HLoc9w3R/ozLHsEdI0oI1FFPlEGZs/GUXR02atjDT30BT6jWLoVDvtNEk4HPIY6t0hGE mLeQ= X-Received: by 2002:a05:6a00:b55:b0:6dd:8522:5005 with SMTP id p21-20020a056a000b5500b006dd85225005mr1968086pfo.2.1706853106006; Thu, 01 Feb 2024 21:51:46 -0800 (PST) Received: from stoup.. ([103.210.27.218]) by smtp.gmail.com with ESMTPSA id h2-20020aa79f42000000b006dab0d72cd0sm715111pfr.214.2024.02.01.21.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 21:51:45 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> Subject: [PULL 30/57] target/tricore: Populate CPUClass.mmu_index Date: Fri, 2 Feb 2024 15:50:09 +1000 Message-Id: <20240202055036.684176-32-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240202055036.684176-1-richard.henderson@linaro.org> References: <20240202055036.684176-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::435; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x435.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/57] include/hw/core: Add mmu_index to CPUClass
|
expand
|
diff --git a/target/tricore/cpu.c b/target/tricore/cpu.c index e6d91c74b5..74e8a22b86 100644 --- a/target/tricore/cpu.c +++ b/target/tricore/cpu.c @@ -89,6 +89,11 @@ static bool tricore_cpu_has_work(CPUState *cs) return true; } +static int tricore_cpu_mmu_index(CPUState *cs, bool ifetch) +{ + return 0; +} + static void tricore_cpu_realizefn(DeviceState *dev, Error **errp) { CPUState *cs = CPU(dev); @@ -194,6 +199,7 @@ static void tricore_cpu_class_init(ObjectClass *c, void *data) &mcc->parent_phases); cc->class_by_name = tricore_cpu_class_by_name; cc->has_work = tricore_cpu_has_work; + cc->mmu_index = tricore_cpu_mmu_index; cc->gdb_read_register = tricore_cpu_gdb_read_register; cc->gdb_write_register = tricore_cpu_gdb_write_register;