Message ID | 20180529105011.1914-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="sWKGREAV"; 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 40w9sQ1Vrqz9s08 for <incoming@patchwork.ozlabs.org>; Tue, 29 May 2018 21:06:48 +1000 (AEST) Received: from localhost ([::1]:60168 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 1fNcSg-0005cm-L8 for incoming@patchwork.ozlabs.org; Tue, 29 May 2018 07:06:42 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDO-0001dL-5V for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDK-00046n-HJ for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:54 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:51245) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fNcDK-00046D-AY for qemu-devel@nongnu.org; Tue, 29 May 2018 06:50:50 -0400 Received: by mail-wm0-x230.google.com with SMTP id r15-v6so11622058wmc.1 for <qemu-devel@nongnu.org>; Tue, 29 May 2018 03:50:50 -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=QxHPRphfrp1A4BJf131arXzkiGzlE+tsmTlHEJslYYc=; b=sWKGREAV66jhW3i+sf8pvFnjoAw9nJwP+FKyahzxWN9CD/QgekaptMG2rax1myTxLj oWRTNgfcuinGKN557orgRVZHCQ9/09VmlWokamwrotHDzs4Kup5Hh/RwPeKqknAIGv4P Yr5Z/HMNb302jf66GSwtnVfRNxO87tL2DiNf+SIYwjEq0DTQScqWtLSg+ZwkwmXZh1gj lIRlgeuNg3O53TNB+xzjMAmvo8W+D1dvp3AM/8ahtdTPe3EP+UoFxcufuo9etumJaicP RM4/bXXI6/QA1rEil54ioz0edTbuVBU6scrfSSZaVTysRtIH2+rBT6BVk+YpNCVrf4gj Lj7A== 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=QxHPRphfrp1A4BJf131arXzkiGzlE+tsmTlHEJslYYc=; b=J+MYepGIi6K6uuiRWBXG2NLXZxV6K8jZ7mCXQdjUMMOxtZWYyG1go9YcAlZ3ddAE+7 LLsNYtzAtC0UgotMMgxFhmnikWQqb2ecW7mp9/K2akfEPxDoa3fB4ZyYPa5+XoD4znKz si/OkuPJ+N5mXqMRCUQPYtB3w4tL6Ykk518MNg1yr7aRDOgdS9nSW0xO5m4Y55bFT2k5 7KrfOHNUUQw1aTVFPHc889h2wGW7lmtFrV/NARvf2Bvmoqfl37bRmXaFxF8BZnerC9Rc jtQbIzigc5qqRIeXujBoeG7qgnyLq72E9Ea2EUC5CeB+hS1C1L87Fqsqp8xqE5lEkgKH 4Mrw== X-Gm-Message-State: ALKqPweqP1fYekbtPCOLBmnhyLej7R3kjECPKI5/fXC0A+BU/8yBycF2 bw2d4pde5QDw5/hFo2ouhfVmDQ== X-Google-Smtp-Source: AB8JxZrQ35MlXs6b7DSR0MupKxCJZJ2TyVv9l3gAFBm3b9//XhudUiZeYdI/Nm/MshLl4tgouKeORw== X-Received: by 2002:a2e:5559:: with SMTP id j86-v6mr10811242ljb.147.1527591048982; Tue, 29 May 2018 03:50:48 -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 f67-v6sm6398151lfe.36.2018.05.29.03.50.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 03:50:47 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Tue, 29 May 2018 12:49:54 +0200 Message-Id: <20180529105011.1914-22-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180529105011.1914-1-edgar.iglesias@gmail.com> References: <20180529105011.1914-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::230 Subject: [Qemu-devel] [PULL v1 21/38] 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 Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
Xilinx queue
|
expand
|
diff --git a/configure b/configure index a8498ab393..a6a4616c3e 100755 --- a/configure +++ b/configure @@ -6844,6 +6844,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