diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:33 -0800 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2010-01-29 20:29:33 -0800 |
commit | a579d3e43c7036456413d4868f2d513215ad20f0 (patch) | |
tree | ebb1bb3821151c58ca26ae5b08455ef0b9c8c6e3 /src/mem/ruby/libruby.cc | |
parent | e4218dd08f13a2f4f5f688f5fb03083658bb7705 (diff) | |
download | gem5-a579d3e43c7036456413d4868f2d513215ad20f0.tar.xz |
ruby: Removed the old config interface
Removed the old config interface from RubySystem and libruby.
Diffstat (limited to 'src/mem/ruby/libruby.cc')
-rw-r--r-- | src/mem/ruby/libruby.cc | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/mem/ruby/libruby.cc b/src/mem/ruby/libruby.cc index 16907792c..8cb03e952 100644 --- a/src/mem/ruby/libruby.cc +++ b/src/mem/ruby/libruby.cc @@ -137,7 +137,11 @@ RubyPortHandle libruby_get_port(const char* port_name, void (*hit_callback)(int6 RubyPortHandle libruby_get_port_by_name(const char* port_name) { - return static_cast<RubyPortHandle>(RubySystem::getPortOnly(port_name)); + // + // Fix me: Ports should now be initialized using the python configuration + // system + // + return NULL;//static_cast<RubyPortHandle>(RubySystem::getPortOnly(port_name)); } void libruby_write_ram(uint64_t paddr, uint8_t* data, int len) @@ -152,7 +156,11 @@ void libruby_read_ram(uint64_t paddr, uint8_t* data, int len) int64_t libruby_issue_request(RubyPortHandle p, struct RubyRequest request) { - return static_cast<RubyPort*>(p)->makeRequest(request); + // + // Fix me: Ports should now be accessed using the python configuration + // system + // + return 0;//return static_cast<RubyPort*>(p)->makeRequest(request); } int libruby_tick(int n) |