Searched hist:7638 (Results 1 - 1 of 1) sorted by relevance

/gem5/src/arch/arm/
H A Dutility.hhdiff 7638:21db0b3ab1fe Wed Aug 25 20:10:00 EDT 2010 Gabe Black <gblack@eecs.umich.edu> 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.

Completed in 16 milliseconds