From c277598d39e9cdbad35248d47da1b51fce8af806 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 28 Jul 2020 19:20:58 +0100 Subject: [PATCH] Re: [libre-riscv-dev] how do we test external interrupts? --- 5e/89f00c8766d7539c6ae011012326f7d549accf | 113 ++++++++++++++++++++++ 1 file changed, 113 insertions(+) create mode 100644 5e/89f00c8766d7539c6ae011012326f7d549accf diff --git a/5e/89f00c8766d7539c6ae011012326f7d549accf b/5e/89f00c8766d7539c6ae011012326f7d549accf new file mode 100644 index 0000000..139beb9 --- /dev/null +++ b/5e/89f00c8766d7539c6ae011012326f7d549accf @@ -0,0 +1,113 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Tue, 28 Jul 2020 19:21:23 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.92) + (envelope-from ) + id 1k0UE6-00077b-Cx; Tue, 28 Jul 2020 19:21:22 +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.92) (envelope-from ) id 1k0UE4-00077V-Tf + for libre-riscv-dev@lists.libre-riscv.org; Tue, 28 Jul 2020 19:21:20 +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=KTWLazzE+HgsIuLlVPtrvB03VRAfGrv94vizb0PpMPQ=; + b=SQhajGxh0CzksP8uas8K+rr+H/jyMDlQVoAaFXMTHIvf7JB0JuqaCLM4obb3Ej0hy/V9Dd5FZi8O4ltgiSaa8SWDMyByBfGxGazFXPtKRNewFqdOxJDPCRx+YJSvdHGxvu1ea6QY/M/Js7XdKEQouUldt5FDK8pGep9dtD2kQms=; +Received: from mail-lj1-f176.google.com ([209.85.208.176]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1k0UE4-0005EF-Ev + for libre-riscv-dev@lists.libre-riscv.org; Tue, 28 Jul 2020 18:21:20 +0000 +Received: by mail-lj1-f176.google.com with SMTP id q4so22238989lji.2 + for ; + Tue, 28 Jul 2020 11:21:05 -0700 (PDT) +X-Gm-Message-State: AOAM533n7fjmW53nQVRpP/dBi2AnEtFMHS6JomOfZ7ElDNCJYZWUZwP5 + /PMraoOMAmJ2T3qSWuK4PB/35Z+31MC+yo/Q1v8= +X-Google-Smtp-Source: ABdhPJx3qHlvZadQx7V5HWGmj3NOl5PII1c92i5UJoSrn5ADcFAzIV4GLNutYdsNZZWyD3mGXa4N5jKnGY9qt+9c0m4= +X-Received: by 2002:a2e:91ca:: with SMTP id u10mr12256972ljg.132.1595960459371; + Tue, 28 Jul 2020 11:20:59 -0700 (PDT) +MIME-Version: 1.0 +Received: by 2002:a05:6504:702:0:0:0:0 with HTTP; Tue, 28 Jul 2020 11:20:58 + -0700 (PDT) +In-Reply-To: +References: + + + + +From: Luke Kenneth Casson Leighton +Date: Tue, 28 Jul 2020 19:20:58 +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] how do we test external interrupts? +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" + +T24gVHVlc2RheSwgSnVseSAyOCwgMjAyMCwgSmFjb2IgTGlmc2hheSA8cHJvZ3JhbW1lcmpha2VA +Z21haWwuY29tPiB3cm90ZToKCj4gSSBmb3V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