Let the caller provide the translation table base and the used page tables to ease testing. Simplify the error handling by using early returns. Return RTEMS_TOO_MANY instead of RTEMS_NO_MEMORY if the page tables are all used.