• Jeffrey Lee's avatar
    Add OS_AbortTrap implementation · c199c178
    Jeffrey Lee authored
    This supports all the load/store instructions, including FPA & VFP/NEON.
    Most instructions are handled directly via the base version of the
    AbortTrap API that was first implemented in RISC OS Select. However, to
    properly cope with LDREX/STREX, and future support for prefetch aborts,
    the API has been extended to allow the kernel to request that a block of
    memory is mapped in with certain permissions. For LDREX/STREX the kernel
    will then rewind the PC so that the instruction can be retried directly.
    
    Test code in Dev/AbortTrap exists in order to allow checking of all
    major functionality, along with code for building the code in a
    softloadable module for easier/quicker testing.
    c199c178
!MkClean,fd7 1.58 KB