<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-08-15 5:44 GMT+02:00 Hesham Almatary <span dir="ltr"><<a href="mailto:heshamelmatary@gmail.com" target="_blank">heshamelmatary@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Denis,<br>
<br>
You just need to modify riscv_interrupt_disable(). Read the priv-spec<br>
manual for your RISC-V version, and determine which bit should be<br>
cleared (it's called MIE in priv-1.10, but you mentioned you work with<br>
priv-1.9).<br>
<br>
Cheers,<br>
Hesham<br>
<div><div class="h5"><br>
On Mon, Aug 14, 2017 at 6:10 PM, Denis Obrezkov <<a href="mailto:denisobrezkov@gmail.com">denisobrezkov@gmail.com</a>> wrote:<br>
> Hello all,<br>
><br>
> at the end of the GSoC I've found out that interrupts in my BSP<br>
> weren't properly enabled/disabled globally.<br>
> This happens because my work is based on the Hesham's<br>
> BSP for RISC-V and it was done for the previous version of ISA.<br>
> Thus, the Hesham's interrupt enabling/disabling instructions did<br>
> nothing in my version of ISA.<br>
> I've tried to fix this issue, but without much of success.<br>
><br>
> --<br>
> Regards, Denis Obrezkov<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Hesham<br>
</font></span></blockquote></div>Yes, I've already done it, but it doesn't work. It just staying disabled after someĀ </div><div class="gmail_extra">amount of ticks.</div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards, Denis Obrezkov</div>
</div></div>