Re: RFC: Separate Header for Some Porting Methods

2021-05-17 Thread Sebastian Huber
On 18/05/2021 00:12, Joel Sherrill wrote: Hi In working on the Microblaze port, it occurred to me that the prototypes for the context switch methods are always the same. The structures vary, not the signatures. What do you all think of making a separate header that can be included from

RFC: Separate Header for Some Porting Methods

2021-05-17 Thread Joel Sherrill
Hi In working on the Microblaze port, it occurred to me that the prototypes for the context switch methods are always the same. The structures vary, not the signatures. What do you all think of making a separate header that can be included from various cpu.h files to avoid repeating them?