[PATCH v3 7/8] grlib: make memory coherency cpu-independent

Jiri Gaisler jiri at gaisler.se
Mon Jan 21 15:46:18 UTC 2019


On 1/21/19 1:11 PM, Sebastian Huber wrote:
> On 21/01/2019 12:56, Jiri Gaisler wrote:
>> On 1/21/19 11:33 AM, Sebastian Huber wrote:
>>> On 21/01/2019 11:30, Jiri Gaisler wrote:
>>>> diff --git a/bsps/shared/grlib/spw/grspw.c
>>>> b/bsps/shared/grlib/spw/grspw.c
>>>> index fbaadd1e13..7d99831e71 100644
>>>> --- a/bsps/shared/grlib/spw/grspw.c
>>>> +++ b/bsps/shared/grlib/spw/grspw.c
>>>> @@ -25,8 +25,8 @@
>>>>      #include <grlib/grlib_impl.h>
>>>>    -#ifndef CPU_SPARC_HAS_SNOOPING
>>>> -#define CPU_SPARC_HAS_SNOOPING 1
>>>> +#ifndef GRLIB_DMA_IS_CACHE_COHERENT
>>>> +#define GRLIB_DMA_IS_CACHE_COHERENT 1
>>>>    #endif
>>>>    
>>> I would remove this block. Things should be only defined in one place.
>> True, How about this?
>>
>>
>
> Looks good, can you check it in?


I don't think I have write access to RTEMS git, so I will post the
patches on this list again ...







More information about the devel mailing list