implement memory controller sans indirects and iomem