commit | f9a370f1728fe5d752fa6962ba23774eec8c883e | [log] [tgz] |
---|---|---|
author | Brandon Potter <brandon.potter@amd.com> | Fri Jul 10 16:05:23 2015 -0500 |
committer | Brandon Potter <brandon.potter@amd.com> | Fri Jul 10 16:05:23 2015 -0500 |
tree | a81a0331b75c72ec801d1ecf1ce62a8bc6f3d112 | |
parent | c38f5098b152ea1e1dde96220d3f9e50d3411780 [diff] |
ruby: replace global g_system_ptr with per-object pointers This is another step in the process of removing global variables from Ruby to enable multiple RubySystem instances in a single simulation. With possibly multiple RubySystem objects, we can no longer use a global variable to find "the" RubySystem object. Instead, each Ruby component has to carry a pointer to the RubySystem object to which it belongs.