Endianness: Make it easier to check the compiled in guest endianness.
Review Request #854 - Created Sept. 11, 2011 and submitted
| Information | |
|---|---|
| Gabe Black | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
Endianness: Make it easier to check the compiled in guest endianness. It was technically possible but clumsy to determine what endianness a guest was configured with using the state in byteswap.hh. This change makes that information available more directly.
Posted (Sept. 12, 2011, 1:53 a.m.)
I agree with Ali that this and the other byteswap.hh change should be combined. Also it seems odd that, combining these two patches, you're getting rid of ByteOrderDiffers since it's not used, but you're adding a GuestByteOrder constant that's also not (yet) used... is there a specific place where you're needing this?
