> On Jul 19, 2019, at 01:21 , Sebastian Huber 
> <sebastian.hu...@embedded-brains.de> wrote:
> 
> A <bsp/io.h> sounds like a good approach. Finding all users of these defines 
> is a bit of work. They are used by shared code, so every BSP which uses this 
> shared code needs the new header file.

That is mostly addressed by rebuilding all PowerPC BSPs since only the PowerPC 
BSPs <bsp.h> will change and I would do that. I suppose there are optionally 
configured code paths that won’t be found that way. Searching for the use of 
all affected definitions below “powerpc” and checking for an include of 
<libcpu/io.h> is better but more than I want to do.

The other code that can’t be checked is end-user code that includes <bsp.h> but 
not <libcpu/io.h>.  That’s always an issue, though.

Peter
-----------------
Peter Dufault
HD Associates, Inc.      Software and System Engineering

This email is delivered through the public internet using protocols subject to 
interception and tampering.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to