From 75706af53716fc6e335554131d1478b89844cc77 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 8 May 2020 01:40:17 +0100 Subject: [PATCH] Re: [libre-riscv-dev] MMU + TLB idea --- 59/5d4cf381b86a677e77b7a203736c8609219cc4 | 121 ++++++++++++++++++++++ 1 file changed, 121 insertions(+) create mode 100644 59/5d4cf381b86a677e77b7a203736c8609219cc4 diff --git a/59/5d4cf381b86a677e77b7a203736c8609219cc4 b/59/5d4cf381b86a677e77b7a203736c8609219cc4 new file mode 100644 index 0000000..d18f34f --- /dev/null +++ b/59/5d4cf381b86a677e77b7a203736c8609219cc4 @@ -0,0 +1,121 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Fri, 08 May 2020 01:40:42 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jWr4D-0008IZ-VX; Fri, 08 May 2020 01:40:41 +0100 +Received: from lkcl.net ([217.147.94.29]) + by libre-soc.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.89) (envelope-from ) id 1jWr4B-0008IT-I4 + for libre-riscv-dev@lists.libre-riscv.org; Fri, 08 May 2020 01:40:39 +0100 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lkcl.net; + s=201607131; + h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To:MIME-Version; + bh=d10+e0zdzOE66BfJk3mbdtHWM7MhgW0Q36s+EDKeI/0=; + b=lO6NWvWn2aIJqHIwnj66DjhKwTIxZUxhx4WyY0kQH4TmNG6UTN8j/dZvQe4GaFnEbWNDI7Od4Ss7zX22/GKufl0Nf71aeLYQX/YdTJWXB0cFaDr9tFfDX8YqiGxJcn1nRBIXzrKcD+NGCL6eqxtyixcQandUXy0ywVQpOeySH1Q=; +Received: from mail-lj1-f174.google.com ([209.85.208.174]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1jWr4B-0005Ig-3L + for libre-riscv-dev@lists.libre-riscv.org; Fri, 08 May 2020 00:40:39 +0000 +Received: by mail-lj1-f174.google.com with SMTP id y4so8358057ljn.7 + for ; + Thu, 07 May 2020 17:40:23 -0700 (PDT) +X-Gm-Message-State: AGi0PuYpiMnkefcAaaFzMiFHNOzW+z3KWLxcJvspigl+I9B6HIHdbyrq + rTyoHeFQn2WAuAOiIh3Gija8l/WH+7vZFscGuJY= +X-Google-Smtp-Source: APiQypIGzRA30bW3/RGVkzGBQfo8DKkQvs9Bw/4gKrqAyQ/KaxjF5w4mcDSqd5mH6JyEKx5RIEc6D+f6XkZZmukT8qQ= +X-Received: by 2002:a2e:9882:: with SMTP id b2mr10256953ljj.35.1588898417918; + Thu, 07 May 2020 17:40:17 -0700 (PDT) +MIME-Version: 1.0 +Received: by 2002:ab3:1783:0:0:0:0:0 with HTTP; + Thu, 7 May 2020 17:40:17 -0700 (PDT) +In-Reply-To: <6a63afa2-f425-9490-be9f-a05e34cadc9c@gmail.com> +References: <6a63afa2-f425-9490-be9f-a05e34cadc9c@gmail.com> +From: Luke Kenneth Casson Leighton +Date: Fri, 8 May 2020 01:40:17 +0100 +X-Gmail-Original-Message-ID: +Message-ID: +To: Libre-RISCV General Development +X-Content-Filtered-By: Mailman/MimeDel 2.1.23 +Subject: Re: [libre-riscv-dev] MMU + TLB idea +X-BeenThere: libre-riscv-dev@lists.libre-riscv.org +X-Mailman-Version: 2.1.23 +Precedence: list +List-Id: Libre-RISCV General Development + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Reply-To: Libre-RISCV General Development + +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 +Errors-To: libre-riscv-dev-bounces@lists.libre-riscv.org +Sender: "libre-riscv-dev" + +T24gRnJpZGF5LCBNYXkgOCwgMjAyMCwgTWljaGFlbCBOb2x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