https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 8dcca5953a066723452f50f69f9799e655f36b43 authored by Giovanni C on 11 February 2014, 13:15:54 UTC
Close branch makefile-fix2
Tip revision: 8dcca59
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