summaryrefslogtreecommitdiff
path: root/src/arch/arm/insts
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-08-25 19:10:41 -0500
committerGabe Black <gblack@eecs.umich.edu>2010-08-25 19:10:41 -0500
commitf4f6b31df1a8787a12d71108eac24543bdf541e3 (patch)
tree3815c4cf0aa815075a8c4f9cf97e01f52862b221 /src/arch/arm/insts
parent75955d6c42db8508c831d1a650f452f28b4db66d (diff)
downloadgem5-f4f6b31df1a8787a12d71108eac24543bdf541e3.tar.xz
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.
Diffstat (limited to 'src/arch/arm/insts')
0 files changed, 0 insertions, 0 deletions