change log for rtems (2011-09-01)

Ralf Corsepius ralf.corsepius at rtems.org
Fri Sep 2 05:34:50 UTC 2011


On 09/02/2011 03:09 AM, Chris Johns wrote:
> Thanks for this patch. Looks good.
>
> On 2/09/11 2:12 AM, rtems-vc at rtems.org wrote:
>> +#define NIOS2_MPUBASE_INDEX_MASK (0x1f<< NIOS2_MPUBASE_INDEX_OFFSET)
>> +#define NIOS2_MPUACC_MASK_MASK (0x1ffffff<< NIOS2_MPUACC_MASK_OFFSET)
>> +#define NIOS2_MPUACC_LIMIT_MASK (0x3ffffff<< NIOS2_MPUACC_LIMIT_OFFSET)
>> +#define NIOS2_MPUACC_PERM_MASK (0x7<< NIOS2_MPUACC_PERM_OFFSET)
>
> These names clash with the Altera HAL's nios2.h.
What is Altera HAL. Why do we have to care about it?

> Should we change them
> to be RTEMS specific or define if not already defined ?
Generally speaking, all RTEMS specific defines should be namespaced, IMO.

Ralf




More information about the vc mailing list