• Joel Hutton's avatar
    Clean usage of void pointers to access symbols · 9f85f9e3
    Joel Hutton authored
    
    
    Void pointers have been used to access linker symbols, by declaring an
    extern pointer, then taking the address of it. This limits symbols
    values to aligned pointer values. To remove this restriction an
    IMPORT_SYM macro has been introduced, which declares it as a char
    pointer and casts it to the required type.
    
    Change-Id: I89877fc3b13ed311817bb8ba79d4872b89bfd3b0
    Signed-off-by: default avatarJoel Hutton <Joel.Hutton@Arm.com>
    9f85f9e3
bl31_plat_setup.c 4.01 KB