• Vikram Kanigiri's avatar
    Introduce macros to manipulate the SPSR · 23ff9baa
    Vikram Kanigiri authored
    This patch introduces macros (SPSR_64 and SPSR_32) to
    create a SPSR for both aarch32 and aarch64 execution
    states. These macros allow the user to set fields
    in the SPSR depending upon its format.
    The make_spsr() function which did not allow
    manipulation of all the fields in the aarch32 SPSR
    has been replaced by these new macros.
    
    Change-Id: I9425dda0923e8d5f03d03ddb8fa0e28392c4c61e
    23ff9baa
arch.h 11.4 KB