bbqueue icon indicating copy to clipboard operation
bbqueue copied to clipboard

Aligned grants

Open Fabien-Chouteau opened this issue 3 years ago • 1 comments

Hello here,

I was trying to use my SPARK implementation of bbqueue in a USB stack but I realized that it would not work with the internal DMA of the USB Device controller (samd51) because the addresses have to be 4 bytes aligned.

I think it should be possible to add alignment constraints to the framed implementation buy adding padding header length, I'd like to have your opinion on this.

Fabien-Chouteau avatar Apr 14 '21 12:04 Fabien-Chouteau

Hi Fabien, That sounds reasonable, and I agree using the "framed" construction (or at least a similar approach) would be the most reasonable way to achieve this.

jamesmunns avatar Apr 29 '21 10:04 jamesmunns