https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: d28a2a8d59ccf2bf45672ab0dbf5b3570fd918eb authored by Alex on 27 July 2017, 18:47:54 UTC
Close branch backtrace
Tip revision: d28a2a8
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