diff options
author | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2015-05-05 03:22:31 -0400 |
---|---|---|
committer | Andreas Sandberg <Andreas.Sandberg@ARM.com> | 2015-05-05 03:22:31 -0400 |
commit | 1da634ace00dbae3165228b36655a62538c7c88d (patch) | |
tree | 3fbbc56c8ca5f2287caa16b8345990f4730e06ab /src/arch/alpha/types.hh | |
parent | 23b9792681d4cd794b0ad74138160a37b8bdac8f (diff) | |
download | gem5-1da634ace00dbae3165228b36655a62538c7c88d.tar.xz |
mem, alpha: Move Alpha-specific request flags
Move Alpha-specific memory request flags to an architecture-specific
header and map them to the architecture specific flag bit range.
Diffstat (limited to 'src/arch/alpha/types.hh')
-rw-r--r-- | src/arch/alpha/types.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/arch/alpha/types.hh b/src/arch/alpha/types.hh index b1411d46e..aaa0f0b2a 100644 --- a/src/arch/alpha/types.hh +++ b/src/arch/alpha/types.hh @@ -51,6 +51,22 @@ enum annotes ITOUCH_ANNOTE = 0xffffffff }; +/** + * Alpha-specific memory request flags + * + * These flags map to the architecture-specific lower 8 bits of the + * flags field in Request. + */ +struct AlphaRequestFlags +{ + typedef uint8_t ArchFlagsType; + + /** The request is an ALPHA VPTE pal access (hw_ld). */ + static const ArchFlagsType VPTE = 0x01; + /** Use the alternate mode bits in ALPHA. */ + static const ArchFlagsType ALTMODE = 0x02; +}; + } // namespace AlphaISA #endif // __ARCH_ALPHA_TYPES_HH__ |