Revert changes to mmio.c