Exemple #1
0
 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
         });
 }
Exemple #2
0
 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
     });
 }