https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: dec1b9003ec35d4cc38a5d5da2bcd3cf9c61ed0c authored by a1ex on 15 March 2014, 21:37:59 UTC
Close branch dot
Tip revision: dec1b90
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