Introduce generic memory access functions via the access_context_t structure