misc: Substitute pointer to Request with aliased RequestPtr
Every usage of Request* in the code has been replaced with the RequestPtr alias. This is a preparing patch for when RequestPtr will be the typdefed to a smart pointer to Request rather then a raw pointer to Request. Change-Id: I73cbaf2d96ea9313a590cdc731a25662950cd51a Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/10995 Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com> Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
This commit is contained in:
@@ -338,7 +338,7 @@ Shader::AccessMem(uint64_t address, void *ptr, uint32_t size, int cu_id,
|
||||
|
||||
for (ChunkGenerator gen(address, size, cuList.at(cu_id)->cacheLineSize());
|
||||
!gen.done(); gen.next()) {
|
||||
Request *req = new Request(0, gen.addr(), gen.size(), 0,
|
||||
RequestPtr req = new Request(0, gen.addr(), gen.size(), 0,
|
||||
cuList[0]->masterId(), 0, 0, 0);
|
||||
|
||||
doFunctionalAccess(req, cmd, data_buf, suppress_func_errors, cu_id);
|
||||
|
||||
Reference in New Issue
Block a user