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.
-
src/mem/packet.hh (Diff revision 1) -
Looks like you need to update this comment. I assume that no one ever used the capability described here?
Hi Andreas. I'm wondering why this patch was checked in (http://repo.gem5.org/gem5/rev/842f56345a42). It doesn't have a 'Ship It', and the review request is only 4 days old.
This change also breaks some packet use cases we have in gem5-gpu. Specifically, this change now requires that Requests be translated or otherwise find a valid physical address before a packet can be constructed. I'm not convinced that this is a reasonable requirement, especially since packets can be used between components that operate completely on virtual addresses.
Can you please revert this change?
Description: |
|
||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+18 -53) |
