mem: Reflect that packet address and size are always valid
authorAndreas Hansson <andreas.hansson@arm.com>
Fri, 21 Aug 2015 11:03:27 +0000 (07:03 -0400)
committerAndreas Hansson <andreas.hansson@arm.com>
Fri, 21 Aug 2015 11:03:27 +0000 (07:03 -0400)
commitdaaae3744d119de836d5260205dd34990e741608
treec579bdc50bad2bc3622d503170b987b046889bd9
parent6eb434c8a227cdc30b459b2b96cb4354e3312554
mem: Reflect that packet address and size are always valid

This patch simplifies the packet, and removes the possibility of
creating a packet without a valid address and/or size. Under no
circumstances are these fields set at a later point, and thus they
really have to be provided at construction time.

The patch also fixes a case there the MinorCPU creates a packet
without a valid address and size, only to later delete it.
src/cpu/minor/lsq.cc
src/mem/packet.hh