Change subject: base: add typedef for Byte type ...................................................................... base: add typedef for Byte type Change-Id: I577914ddb19c7891a1a93bb12e1a7b1f6716f26d --- M src/base/types.hh 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/src/base/types.hh b/src/base/types.hh index 05a29f8..266b003 100644 --- a/src/base/types.hh +++ b/src/base/types.hh @@ -143,6 +143,11 @@ typedef uint16_t MicroPC; +/** + * Typedef for a single Byte of data. + */ +typedef uint8_t Byte; + static const MicroPC MicroPCRomBit = 1 << (sizeof(MicroPC) * 8 - 1); static inline MicroPC -- To view, visit https://gem5-review.googlesource.com/3620 To unsubscribe, visit https://gem5-review.googlesource.com/settings Gerrit-Project: public/gem5 Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I577914ddb19c7891a1a93bb12e1a7b1f6716f26d Gerrit-Change-Number: 3620 Gerrit-PatchSet: 1 Gerrit-Owner: Anthony Gutierrez <[email protected]> _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
Anthony Gutierrez has uploaded this change for review. (
https://gem5-review.googlesource.com/3620
