Review Board 2.0.15


mem: Reflect that packet address and size are always valid

Review Request #3044 - Created Aug. 19, 2015 and updated

Information
Andreas Hansson
gem5
default
Reviewers
Default
Changeset 11058:2c40795e9a88
---------------------------
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.

   
Review request changed
Updated (Aug. 24, 2015, 2:04 a.m.)

Description:

~  

Changeset 11055:dc0a15e6e113

  ~

Changeset 11058:2c40795e9a88

   
   

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.

Diff:

Revision 2 (+18 -53)

Show changes