Open nashif opened 7 years ago
by Sharron LIU:
Set priority high, as GH-942 may rely on this, to my understanding.
by Andrew Boie:
GH-942 isn't blocked by this. Fixing this issue will let me improve performance however. I suggest Medium priority.
by Mark Linkmeyer:
Fixing incorrect priority
Reported by Andrew Boie:
I needed to implement some arch-specific inline functions to handle direct interrupts. The most logical place to put this implementation would be in include/arch/*/arch.h. However, these functions need to manipulate or read the kernel data structures defined in kernel/include/kernel_structs.h. However this header pulls in kernel.h, which pulls in arch/cpu.h, leading to a circular dependency.
Find a way for arches to define some inline functions, that automatically get pulled in when arch.h is included, such that these inline functions may reference _kernel, _current, etc.
(Imported from Jira ZEP-1595)