Message ID | 1521494329-19546-20-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 47807602C2 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 19 Mar 2018 21:29:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3685B29433 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 19 Mar 2018 21:29:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2B1E229444; Mon, 19 Mar 2018 21:29:34 +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 D43AA29433 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 19 Mar 2018 21:29:33 +0000 (UTC) Received: from localhost ([::1]:44029 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 1ey2LV-0001uT-1t for patchwork-qemu-devel@patchwork.kernel.org; Mon, 19 Mar 2018 17:29:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <mjc@sifive.com>) id 1ey2CI-0001Vd-74 for qemu-devel@nongnu.org; Mon, 19 Mar 2018 17:20:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <mjc@sifive.com>) id 1ey2CE-0002ju-ST for qemu-devel@nongnu.org; Mon, 19 Mar 2018 17:20:02 -0400 Received: from mail-pf0-x242.google.com ([2607:f8b0:400e:c00::242]:33472) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <mjc@sifive.com>) id 1ey2CE-0002jI-Mm for qemu-devel@nongnu.org; Mon, 19 Mar 2018 17:19:58 -0400 Received: by mail-pf0-x242.google.com with SMTP id 123so1799861pfe.0 for <qemu-devel@nongnu.org>; Mon, 19 Mar 2018 14:19:58 -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=5wkGofJ2JvTExfEREXPeUuFavSJnHyXXkYmuyPtGFLE=; b=VpxWgBy1FLlay1Uqg68x5zs81Q3qhMkETYi8HYYONBcgl9mvVARSYfQVzpKCind6I/ S7x+Te+keJmQ9pngP/bu/O/tt1T3Qjy/+x7L2oMW9kqiqpphiK9cCEaQnbqnRH0/I+X5 uoRmo2hCuksvxO1l84qiy8b+Pjt0REX6aNub8nGKHOTKgxk+G1MyTyCYpG0HEF94JGeR kYlXdBdAe8dXEOFN5vfYuRqFczylBSK4/jJRQhLkSrgpsXlAXiCdHq4eu4uA8xYO916k pH6Dp6bNRTz4FULDyC84bvFZ4Z+NohVK5di2amfu05616Hy+iyOWht9++w6d4QQVk8I8 RkSw== 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=5wkGofJ2JvTExfEREXPeUuFavSJnHyXXkYmuyPtGFLE=; b=Q3ycl18lV+tBm/uyTJqPqQmy5M5eGHQnUN1+1n448yTasgnyZm6l6fuWUOWMBQLrib stEY9aASGOxUffLD9b1LuQaG/FKwvwK5hC5QcpBN/EsZqdjiwxC8p0ChgLE/ZsQJfpfl CLghjmYehk35/UzE5Nh3uBoAgB3meeHTHOS5WSdxB9Vu9UWLXn9dflIav2O14AttI14r To4UvZNS+mdmPue0CP27FWx+R1MV7wjXdU9SO+EpLo67w6JpDgyaIb3k1IWZTrbV3ufO BnvxDwqqyLv8kWRbjDnqGjttyuMfso81DIa4H4J70a/E2OSHP//Itza6NT8FJq8OKCc6 bKwg== X-Gm-Message-State: AElRT7HKCXN1mUVk+56+i6sPZ26UpbssrY6Ulv0K16a6J8f0R8gP5lE8 C3E0dFV6trLiqQPOJvrmt8fi4oa7Iew= X-Google-Smtp-Source: AG47ELsZ5V2ZguQwFOWxe/SBdWXK5TUxqXBPzUHH314CQwbRU92M1OXvHjwO8cFiO72492zYU1vJTA== X-Received: by 10.99.145.193 with SMTP id l184mr9975606pge.394.1521494397776; Mon, 19 Mar 2018 14:19:57 -0700 (PDT) Received: from monty.com ([12.206.222.5]) by smtp.gmail.com with ESMTPSA id i127sm120500pfc.136.2018.03.19.14.19.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 19 Mar 2018 14:19:57 -0700 (PDT) From: Michael Clark <mjc@sifive.com> To: qemu-devel@nongnu.org Date: Mon, 19 Mar 2018 14:18:42 -0700 Message-Id: <1521494329-19546-20-git-send-email-mjc@sifive.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1521494329-19546-1-git-send-email-mjc@sifive.com> References: <1521494329-19546-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:c00::242 Subject: [Qemu-devel] [PATCH v4 19/26] 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 7c4482b..f47fc9c 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