https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 065076b01148bbf37300e05e6a5e3891f93fe412 authored by Alex on 13 January 2017, 22:46:23 UTC
Close branch 5D3-123.
Tip revision: 065076b
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