Export the HalGetDmaAdapter callback and use some nice macros where appropriate.