09-01-2008, 04:01 PM
Hi Lundin,
If you are able to enforce the banning of external objects, then do so!
But in general, most programs written in C do use external objects.
AUTOSAR allows the direct reading and writing of external objects across the RTE (Run-Time Enviroment). The abstraction of using read_x and write_x handles between software components was considered too excessive. Shame - Given the abstraction, it could have been implemented to degenerate into direct access with no overhead.
What do other people think? Would you like to see a MISRA rule banning external objects?
George
If you are able to enforce the banning of external objects, then do so!
But in general, most programs written in C do use external objects.
AUTOSAR allows the direct reading and writing of external objects across the RTE (Run-Time Enviroment). The abstraction of using read_x and write_x handles between software components was considered too excessive. Shame - Given the abstraction, it could have been implemented to degenerate into direct access with no overhead.
What do other people think? Would you like to see a MISRA rule banning external objects?
George