Re: RISC-V interrupts in HiFive1

2017-08-14 Thread Hesham Almatary
Hi Denis, You just need to modify riscv_interrupt_disable(). Read the priv-spec manual for your RISC-V version, and determine which bit should be cleared (it's called MIE in priv-1.10, but you mentioned you work with priv-1.9). Cheers, Hesham On Mon, Aug 14, 2017 at 6:10 PM, Denis Obrezkov wrot

New lower ticker clock driver issue

2017-08-14 Thread Denis Obrezkov
Hello all, I am preparing my code for working without any modifications with examples-v2. Now I have an issue with a lower ticker example, this is my output: *** LOW MEMORY CLOCK TICK TEST *** TA1 - rtems_clock_get_tod - 09:00:00 12/31/1988 TA2 - rtems_clock_get_tod - 09:00:00 12/31/1988 TA3

Re: Global configure options

2017-08-14 Thread Denis Obrezkov
2017-08-14 18:38 GMT+02:00 Joel Sherrill : > > > On Mon, Aug 14, 2017 at 11:32 AM, Denis Obrezkov > wrote: > >> Hello all, >> since my target board has a small amount of memory, >> where should I put the option >> CONFIGURE_UNIFIED_WORKSPACE >> to make it applied by default to all executives usin

Re: Global configure options

2017-08-14 Thread Joel Sherrill
On Mon, Aug 14, 2017 at 11:32 AM, Denis Obrezkov wrote: > Hello all, > since my target board has a small amount of memory, > where should I put the option > CONFIGURE_UNIFIED_WORKSPACE > to make it applied by default to all executives using my BSP? > > Define BSP_DEFAULT_UNIFIED_WORK_AREAS in bsp

Global configure options

2017-08-14 Thread Denis Obrezkov
Hello all, since my target board has a small amount of memory, where should I put the option CONFIGURE_UNIFIED_WORKSPACE to make it applied by default to all executives using my BSP? -- Regards, Denis Obrezkov ___ devel mailing list devel@rtems.org http

RISC-V interrupts in HiFive1

2017-08-14 Thread Denis Obrezkov
Hello all, at the end of the GSoC I've found out that interrupts in my BSP weren't properly enabled/disabled globally. This happens because my work is based on the Hesham's BSP for RISC-V and it was done for the previous version of ISA. Thus, the Hesham's interrupt enabling/disabling instructions