Review Board 2.0.15


ARM: Expand the mode checking utility functions.

Review Request #217 - Created Aug. 23, 2010 and submitted - Latest diff uploaded

Information
Ali Saidi
gem5
Reviewers
Default
ARM: Expand the mode checking utility functions.

inUserMode now can take either a threadcontext or a CPSR value directly. If
given a thread context it just extracts the CPSR and calls the other version.
An inPrivelegedMode function was also implemented which just returns the
opposite of inUserMode.