sim: Add pool specific allocators to SE mode
The System object supports multiple memory pools but there is currently no way to specify which pool to allocate from in SE mode. This patch adds a optional poolID argument to the allocation functions. Change-Id: I1c732f28905f3b3875adee5f2b0d9abb39a6c5d1 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42215 Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
committed by
Alex Dutu
parent
3c3c2c3076
commit
e4537dfbba
@@ -84,6 +84,7 @@ Source('power_state.cc')
|
||||
Source('power_domain.cc')
|
||||
Source('stats.cc')
|
||||
Source('workload.cc')
|
||||
Source('mem_pool.cc')
|
||||
|
||||
GTest('byteswap.test', 'byteswap.test.cc', '../base/types.cc')
|
||||
GTest('guest_abi.test', 'guest_abi.test.cc')
|
||||
|
||||
Reference in New Issue
Block a user