arm/nds - cache_manager.c build failure

Joel Sherrill joel.sherrill at oarcorp.com
Fri Aug 22 14:30:02 UTC 2014


Hi

I am guessing some conditional path isn't being covered right to
get CPU_INSTRUCTION_CACHE_ALIGNMENT defined. Could
someone please take a look at this and fix it?

arm-rtems4.11-gcc --pipe -B../../../../../.././lib/
-B../../../../../.././nds/lib/ -specs bsp_specs -qrtems
-DHAVE_CONFIG_H  
-I../../../../../../../../rtems/c/src/lib/libbsp/arm/nds/../../shared/include  
-mstructure-size-boundary=8 -mcpu=arm9tdmi -mfpu=vfp -mfloat-abi=soft
-mthumb-interwork  -O2 -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
libbsp_a-cache_manager.o -MD -MP -MF .deps/libbsp_a-cache_manager.Tpo -c
-o libbsp_a-cache_manager.o `test -f
'../../../libcpu/shared/src/cache_manager.c' || echo
'../../../../../../../../rtems/c/src/lib/libbsp/arm/nds/'`../../../libcpu/shared/src/cache_manager.c
../../../../../../../../rtems/c/src/lib/libbsp/arm/nds/../../../libcpu/shared/src/cache_manager.c:
In function '_invalidate_multiple_instruction_lines_no_range_functions':
../../../../../../../../rtems/c/src/lib/libbsp/arm/nds/../../../libcpu/shared/src/cache_manager.c:458:40:
error: 'CPU_INSTRUCTION_CACHE_ALIGNMENT' undeclared (first use in this
function)
   i_addr = (void *)((size_t)i_addr & ~(CPU_INSTRUCTION_CACHE_ALIGNMENT
- 1));
                                        ^

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list