• Andrew Thoelke's avatar
    Use a vector table for TSP entrypoints · 399fb08f
    Andrew Thoelke authored
    The TSP has a number of entrypoints used by the TSP on different
    occasions. These were provided to the TSPD as a table of function
    pointers, and required the TSPD to read the entry in the table,
    which is in TSP memory, in order to program the exception return
    address.
    
    Ideally, the TSPD has no access to the TSP memory.
    
    This patch changes the table of function pointers into a vector
    table of single instruction entrypoints. This allows the TSPD to
    calculate the entrypoint address instead of read it.
    
    Fixes ARM-software/tf-issues#160
    
    Change-Id: Iec6e055d537ade78a45799fbc6f43765a4725ad3
    399fb08f
tsp_entrypoint.S 10.5 KB