diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-08-25 19:10:41 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-08-25 19:10:41 -0500 |
commit | f4f6b31df1a8787a12d71108eac24543bdf541e3 (patch) | |
tree | 3815c4cf0aa815075a8c4f9cf97e01f52862b221 /src/arch/arm/insts/pred_inst.hh | |
parent | 75955d6c42db8508c831d1a650f452f28b4db66d (diff) | |
download | gem5-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/pred_inst.hh')
0 files changed, 0 insertions, 0 deletions