Reserve physical memory for the ISR in your Config.bib file.
Config.bib contains several examples of reserving physical memory for the serial and debug drivers.
Use the reserved memory in your ISR call.
Because the ISR runs in kernel mode, the ISR can access the reserved memory to buffer data.
Call the MmMapIoSpace function in your IST to map the physical memory to a virtual address.
这个是我查到的资料里说的,但是我看到BSP的config.bib的MEMORY区都是用的虚拟地址分配的内存块,我可以在这个区象资料说的直接定义物理内存地址吗?
然后在ISR里直接把数据缓冲数组的头地址赋值为这段物理地址或者应该是这个物理地址对应的静态虚拟地址?冲区满后在IST中将这段物理地址转换为用户区的虚拟地址,从而处理数据.