public void Register(int addrLo, int addrHigh, IMemRangeProvider provider, bool supportWrite, bool supportRead) { _memoryMappings.Add( new MemoryMapping { AddrLo = addrLo, AddrHi = addrHigh, Provider = provider, SupportRead = supportRead, SupportWrite = supportWrite }); }