Message ID | 1521665220-3869-19-git-send-email-mjc@sifive.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 6E4E060385 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 21 Mar 2018 21:08:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5497328997 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 21 Mar 2018 21:08:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 48FF528BBC; Wed, 21 Mar 2018 21:08:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BCD0428997 for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 21 Mar 2018 21:08:55 +0000 (UTC) Received: from localhost ([::1]:57473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1eykyd-0004Wx-2e for patchwork-qemu-devel@patchwork.kernel.org; Wed, 21 Mar 2018 17:08:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mjc@sifive.com>) id 1eykeW-00028x-Gf for qemu-devel@nongnu.org; Wed, 21 Mar 2018 16:48:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mjc@sifive.com>) id 1eykeV-0002AX-ME for qemu-devel@nongnu.org; Wed, 21 Mar 2018 16:48:08 -0400 Received: from mail-pg0-x242.google.com ([2607:f8b0:400e:c05::242]:34484) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <mjc@sifive.com>) id 1eykeV-0002AE-Fp for qemu-devel@nongnu.org; Wed, 21 Mar 2018 16:48:07 -0400 Received: by mail-pg0-x242.google.com with SMTP id m15so2412178pgc.1 for <qemu-devel@nongnu.org>; Wed, 21 Mar 2018 13:48:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XCHhHhz1GRqFi2vaAPD41tqx5onDsfOL/gdjRvGQCOI=; b=grXdibxpBPWhGAParew4VnFvjUm1FeIfe+uPJKEMDCYkTV99p1NDch9wgVOUuAoIWv pntqSnWoQ5e7MAW7C+INIE0MphOw2+e6CMhOWe3ETHV1FCjpBRCudr4Ae/6JGDtIOI2H zQUmy2XU0P46/JxH8XZN3q8CeWd/qJCVQHoGdIjrqXXBUdPwk7USbswCOia5rbSvdQps Kxo1AGOYcMzK2YeT6yEM8KlI2G9UVFiJ1mBlrrTapPbrlF3SoTY6Bzm/4zYAmQE4kUbq q52te7NqbT79q+Y03ud3jSTNnI7Sc+z8NnRXs7qqj51KpCMv6tP8nSIst6QQxGQKuE6t Feaw== 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=XCHhHhz1GRqFi2vaAPD41tqx5onDsfOL/gdjRvGQCOI=; b=Xig707qeNPIregwbdDvhebj2l5g+Tfa3SGIPLYaM/FdM7mw360zzHtZWe9K7o8ZKj4 ocl0b8EAYVEXdhccNt/vkRB6lhLRMKOi5s5zcuBuR8uba7IWpSm30exMWJsWWT4BK4ei GVhcV5gY7ubQyumQNJ1nox0hg+pYmDHa1I9Mz9+VYHJg1tB8R32UW1RQNZFzaDn2X5Nr EjQAr0KXLGQE2uSzV9l8fQ8n1I9hCMdjLt9cd8lqXoJhoilO/VfTms7zaKWoTG37U8NB 0Z59T2UC3SHQs/Z1ZZJRnTNt89LOnH7KwvZBC6bSY4Z+ceSe1SBLWZrVFQHD6Eer5NUL Imfw== X-Gm-Message-State: AElRT7HYy/Cm8wTrro2AwzIlOBxHwhab3uDwVp8UkpKsKUxRxFojva11 7lQcsCh3qfOUTWxaC0Y8N22YvXvnriU= X-Google-Smtp-Source: AG47ELs9YNR3ryfw5aSLw1fN8GaHtmR7aUot7x0lz6Wu8zGi8IaqK1U6LHbxI54SUYCEMuvw7UA2pw== X-Received: by 10.99.123.78 with SMTP id k14mr13711036pgn.67.1521665286506; Wed, 21 Mar 2018 13:48:06 -0700 (PDT) Received: from monty.com ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id w10sm8244499pgr.57.2018.03.21.13.48.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 21 Mar 2018 13:48:05 -0700 (PDT) From: Michael Clark <mjc@sifive.com> To: qemu-devel@nongnu.org Date: Wed, 21 Mar 2018 13:46:54 -0700 Message-Id: <1521665220-3869-19-git-send-email-mjc@sifive.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1521665220-3869-1-git-send-email-mjc@sifive.com> References: <1521665220-3869-1-git-send-email-mjc@sifive.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::242 Subject: [Qemu-devel] [PULL 18/24] RISC-V: riscv-qemu port supports sv39 and sv48 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: patches@groups.riscv.org, Michael Clark <mjc@sifive.com>, Palmer Dabbelt <palmer@sifive.com>, Sagar Karandikar <sagark@eecs.berkeley.edu>, Bastian Koppelmann <kbastian@mail.uni-paderborn.de> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index 1dcbdbe..cd337ab 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -24,8 +24,8 @@ #define TARGET_PAGE_BITS 12 /* 4 KiB Pages */ #if defined(TARGET_RISCV64) #define TARGET_LONG_BITS 64 -#define TARGET_PHYS_ADDR_SPACE_BITS 50 -#define TARGET_VIRT_ADDR_SPACE_BITS 39 +#define TARGET_PHYS_ADDR_SPACE_BITS 52 +#define TARGET_VIRT_ADDR_SPACE_BITS 48 #elif defined(TARGET_RISCV32) #define TARGET_LONG_BITS 32 #define TARGET_PHYS_ADDR_SPACE_BITS 34