mem: Add byteEnable copy to Request copy constructor
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 28 Nov 2019 13:52:52 +0000 (13:52 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 9 Dec 2019 13:18:48 +0000 (13:18 +0000)
Change-Id: Ie97543e62524bb244ae65eef096411af4605c175
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23283
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/request.hh

index 50944932e78de12b9c70fe74d61f293ca43c7f2d..90d1ee3dd5668fb8cd0daa4588668e284dae83cf 100644 (file)
@@ -478,6 +478,7 @@ class Request
 
     Request(const Request& other)
         : _paddr(other._paddr), _size(other._size),
+          _byteEnable(other._byteEnable),
           _masterId(other._masterId),
           _flags(other._flags),
           _memSpaceConfigFlags(other._memSpaceConfigFlags),