Hi folks. There are currently get() and set() methods on the Packet class which implicitly use the "guest" endianness. They have been marked as deprecated for slightly more than a year, and I'd like to now remove them.
I already have a change uploaded which does that (and which may need to be rebased?) over here: https://gem5-review.googlesource.com/c/public/gem5/+/13465/4 Please be advised that these methods will hopefully be going away soon. If you use them, you should switch to one of the equivalent methods they've been replaced with which have an explicit endianness like getLE() or getBE(). The one that's appropriate may be implied by the type of bus the device attaches to, or may be spelled out in the device's specs. Many devices/busses use little endian byte order, and if your device has been working fine when run with a little endian guest (ARM or X86 for instance), then you can probably safely switch to getLE and setLE. Gabe _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
