public static void Redirect(this SystemBus sysbus, long from, long to, long size) { var redirector = new Redirector(sysbus.Machine, to); var rangePoint = new BusRangeRegistration(from.By(size)); sysbus.Register(redirector, rangePoint); }
public BusRegistered(T what, BusRangeRegistration where) { Peripheral = what; RegistrationPoint = where; }