Message ID | 20180508173152.29327-22-edgar.iglesias@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="eQOWAyM0"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40gRjX04QRz9rvt for <incoming@patchwork.ozlabs.org>; Wed, 9 May 2018 03:45:52 +1000 (AEST) Received: from localhost ([::1]:52630 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fG6gP-0003kt-Gk for incoming@patchwork.ozlabs.org; Tue, 08 May 2018 13:45:49 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fG6TV-0008V9-AX for qemu-devel@nongnu.org; Tue, 08 May 2018 13:32:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fG6TU-0005Va-In for qemu-devel@nongnu.org; Tue, 08 May 2018 13:32:29 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:36895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fG6TU-0005V4-BO for qemu-devel@nongnu.org; Tue, 08 May 2018 13:32:28 -0400 Received: by mail-lf0-x244.google.com with SMTP id r2-v6so10918448lff.4 for <qemu-devel@nongnu.org>; Tue, 08 May 2018 10:32:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=GLMy2Bj2bsTYBoYzbwRI/yWafN9w2cc54SQYKmt5IK8=; b=eQOWAyM0jza3osa8avwYEmxoyIu38QdDUAjgviw8400GtO/yVLjizadYJv0gpsJSvo tRcVZphg0pKO1Omv289ItSzKiRyAZJge/PnfQ0wO2bxbKhJCoF/ZlqTg/gVkDWsqoD6K AuhHwGloUGED+DyLPbYhvknd2HgcyxEJ6++Fw8HTZdeaigT1d2L+E0StKJqwI9EZsms9 PY8q4ha9CIXkYGNJ55KOB/hwcVL3oA4odJvvE5FF200OMn229qXk7WG2GY70tghNp/E9 q8I9xTE5FImIuaMWhxodVCDWX7nNw0OCI7CuVWCfiRKykVdaF2auzMIVbpwnFyhL3OvE uIBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=GLMy2Bj2bsTYBoYzbwRI/yWafN9w2cc54SQYKmt5IK8=; b=hkYRCO2QgASMdHV9tzxJN0QWr2/JSpefDpuBqRFkzuk2p7A3biUbGoEYkPAeABV+BB MxGaRxEye005ruokNqqbUGqEvEX5Zk/EawfryTk6SsRe2r4KvfpNZYbSdCGwfCeHS74O DC5MnnrCqo2ogEDYLWD799Gm+FNGtHNYCmpL4A9vTZaDSc7FgC6Dkvq0zNj2NIqI0rG9 K++4UFNY70nnVfQYRwujFlkIStreKFJK6LZrDtimoC6TXB06yIeHU6M4n+Gy0atEmnU6 cRbtlk3scrDfPORRzcrR6a6+DwhCiixwBv/qxXGyXRPaYKIpjjuX4C+YG4ArBnoyRb5s QWlA== X-Gm-Message-State: ALKqPwe1D6+a1djyL9J1X21uByvg5V0qlTdeDdGzpUB/F0Xo6ep/w/pp 7DmB94e2jYxVoqj0djxPEIfdqQ== X-Google-Smtp-Source: AB8JxZpH6ibeJbKXIX6x+lNTbjLoHo0ZFRNACaiPhRxU92BBZIjx5SLrF6PSCd2aLrkuF6R7IcDwCA== X-Received: by 2002:a19:8ec2:: with SMTP id a63-v6mr1570367lfl.122.1525800746869; Tue, 08 May 2018 10:32:26 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id h23-v6sm5267054lfj.14.2018.05.08.10.32.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 May 2018 10:32:25 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Tue, 8 May 2018 19:31:37 +0200 Message-Id: <20180508173152.29327-22-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180508173152.29327-1-edgar.iglesias@gmail.com> References: <20180508173152.29327-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 Subject: [Qemu-devel] [PATCH v2 21/36] target-microblaze: Setup for 64bit addressing X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 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: <http://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> Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
target-microblaze: Add support for Extended Addressing
|
expand
|
diff --git a/configure b/configure index 1443422e83..6afec716f2 100755 --- a/configure +++ b/configure @@ -6839,6 +6839,7 @@ case "$target_name" in microblaze|microblazeel) TARGET_ARCH=microblaze bflt="yes" + echo "TARGET_ABI32=y" >> $config_target_mak ;; mips|mipsel) TARGET_ARCH=mips diff --git a/target/microblaze/cpu.h b/target/microblaze/cpu.h index 215f42b384..b631b7dc4c 100644 --- a/target/microblaze/cpu.h +++ b/target/microblaze/cpu.h @@ -23,7 +23,7 @@ #include "qemu-common.h" #include "cpu-qom.h" -#define TARGET_LONG_BITS 32 +#define TARGET_LONG_BITS 64 #define CPUArchState struct CPUMBState @@ -340,8 +340,8 @@ int cpu_mb_signal_handler(int host_signum, void *pinfo, /* FIXME: MB uses variable pages down to 1K but linux only uses 4k. */ #define TARGET_PAGE_BITS 12 -#define TARGET_PHYS_ADDR_SPACE_BITS 32 -#define TARGET_VIRT_ADDR_SPACE_BITS 32 +#define TARGET_PHYS_ADDR_SPACE_BITS 64 +#define TARGET_VIRT_ADDR_SPACE_BITS 64 #define CPU_RESOLVING_TYPE TYPE_MICROBLAZE_CPU