Andreas Sandberg has uploaded a new patch set (#2). (
https://gem5-review.googlesource.com/3968 )
Change subject: dev: Fix address type promotion issues in VirtIO devices
......................................................................
dev: Fix address type promotion issues in VirtIO devices
With the change we explicitly update the types for the VirtIO bit
masks to be Addr (uint64_t). By changing this, we ensure type
promotion where it is needed. Therefore, this fixes issues where, in
certain situations, address calculations were performed in 32-bits,
resulting in overflows.
Change-Id: I5c5c3f9a3f94e806812282da01268e18ae0d2d39
Signed-off-by: Andreas Sandberg <[email protected]>
---
M src/dev/virtio/base.hh
1 file changed, 3 insertions(+), 3 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/3968
To unsubscribe, visit https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I5c5c3f9a3f94e806812282da01268e18ae0d2d39
Gerrit-Change-Number: 3968
Gerrit-PatchSet: 2
Gerrit-Owner: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev