mem: create port_wrapper classes
The port_wrapper classes convert the Request/ResponsePort from inherit-base to callback registrations. This help 'composition over inheritance' that most design pattern follows, which help reducing code length and increase reusability. Change-Id: Ia13cc62507ac8425bd7cf143a2e080d041c173f9 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/67232 Maintainer: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -88,6 +88,7 @@ Source('packet.cc')
|
||||
Source('port.cc')
|
||||
Source('packet_queue.cc')
|
||||
Source('port_proxy.cc')
|
||||
Source('port_wrapper.cc')
|
||||
Source('physical.cc')
|
||||
Source('shared_memory_server.cc')
|
||||
Source('simple_mem.cc')
|
||||
|
||||
Reference in New Issue
Block a user