https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 254d2097fba4d5b179207f9e0fe66f99106fa04c authored by a1ex on 12 January 2014, 22:45:19 UTC
Close branch temps1
Tip revision: 254d209
reloc.h
/** \file
 * Relocation of firmware functions into RAM.
 */
#ifndef _reloc_h_
#define _reloc_h_

#include "compiler.h"

extern uintptr_t
reloc(
        uint32_t *              buf,
        uintptr_t               load_addr,
        uintptr_t               func_offset,
        size_t                  func_end,
        uintptr_t               new_pc
);


#endif // _reloc_h_
back to top