rtdm_iomap_to_user() - alignment question
Hello,
I want to map some physical memory to a special virtual address with rtdm_iomap_to_user().
This is basically working but due to some reasons, I need this address to be aligned to 0x8000.
So the way I do it now is to give a desired virtual address to rtdm_iomap_to_user().
This is working at the moment but I'm afraid if this virtual address is already in use, I won't get an address again that is also a multiple of 0x8000 and only page-aligned.
So my question is if there is a proper way to tell rtdm_iomap_to_user() to align the virtual memory to something other than the page-size?
Thanks in advance
Markus