I have been working on this topic recently and I am a bit overwhelmed. I hope you can give me some examples as a reference. Or provide some methods. I also hope that friends who are having a headache ...
There are many codes like this in uCOS-ii: #if OS_CRITICAL_METHOD == 3 /* Allocate storage for CPU status register */ OS_CPU_SR cpu_sr; #endif This: OS_CPU_SR cpu_sr; I don't think it is useful at all...
The LCD controller of PXA270 contains 7 DMA channels. I have never used DMA before, so I don't know how to use it. I looked at SPEC and related codes and found that such a descriptor structure is need...