-
I've been trying out Caelum RC 4, and ran into an issue with apps that load modules: the loaded module can not refer to symbols in the original app. For example, the CI app uses modules to implement interfaces such as rs422 and udp. These modules then refer to a symbol in CI. For example, to update a command counter such as here In previous versions of cFS this was not an issue, as the default behavior in OSAL's OS_ModuleLoad was to load symbols with global visibility. With OSAL 6.0, OS_ModuleLoad now supports two flags, I am not aware of a way to change this behavior for a specific app. I don't know the details behind the choice to use local visibility for apps, and the comments for the flags make it sound like there are some very good reasons to do it this way. Is the use case with CI no longer supported? Should CI be re-written so that the interface modules do not need to link to a symbol in the main CI app? Or is there a way to support this behavior in cFS? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
CI should be updated, as globally visible symbols are not good for modules that can be unloaded/reloaded/etc. |
Beta Was this translation helpful? Give feedback.
CI should be updated, as globally visible symbols are not good for modules that can be unloaded/reloaded/etc.