Hello When I compile an eCos tree with CYGHWR_HAL_ARM_ICE_THREAD_SUPPORT, I got a set of the warnings about the missing prototypes. Those functions are declared in the `thread-pkts.h' header. I see that need to correct hal/arch/cdl/arm_arch.cdl to include that header in build tree (but I'm not a cdl-writer guru) and fix the arm_stub.c to include the header by the CYGHWR_HAL_ARM_ICE_THREAD_SUPPORT condition. If anybody cares about it, please fix it. Thanks in advance.
Sergei Gavrikov $ build_tree --target lpch2294 --enable-tracing build_tree: configure lpch2294/default build_tree: resolving ecos.ecc build_tree: customizing: CYGHWR_HAL_ARM_ICE_THREAD_SUPPORT build_tree: customizing: CYGPKG_INFRA_DEBUG, CYGDBG_USE_TRACING build_tree: importing custom.ecm build_tree: resolving ecos.ecc build_tree: building an eCos tree build_tree: building headers build_tree: building libraries /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c: In function `ice_thread_query': /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:864: warning: implicit declaration of function `stub_pkt_getthreadlist' /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:867: warning: implicit declaration of function `stub_pkt_getthreadinfo' /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:870: warning: implicit declaration of function `stub_pkt_currthread' /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c: In function `ice_thread_proc': /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:889: warning: implicit declaration of function `stub_format_registers' /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:893: warning: implicit declaration of function `stub_update_registers' /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:896: warning: implicit declaration of function `stub_pkt_changethread' /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:905: warning: implicit declaration of function `stub_pkt_thread_alive' /home/sg/ecos/ecos/packages/hal/arm/arch/current/src/arm_stub.c:908: warning: deprecated use of label at end of compound statement
