There is a preliminary work-in-progress code, that is available in the c file inserted below, along with a simple test code. Hope this helps. It would also be helpful for us to know, how you plan to use the pages thus allocated,
(Please visit the site to view this file)
(Please visit the site to view this file)
regards
Prabindh