The idea is inspired by the desire to drive DOUT attached LED's with individual variable brightness.
Rather than have a single dimension array
volatile u8 mios32_srio_dout[MIOS32_SRIO_NUM_SR];
The idea is to have 2D array with a number of buffer pages:
#define DOUT_NUM_BUFPAGES 2
volatile u8 mios32_srio_dout[DOUT_NUM_BUFPAGES][[MIOS32_SRIO_NUM_SR];
At a lower level MIOS would alternate pages by presumably setting a pointer prior to each DMA transfer.
In the above example any att