https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 9a7bde5c876abc2b18f171dfc239dd309ecec0e5 authored by Alex on 11 February 2017, 13:52:09 UTC
Close branch new_raw_format
Tip revision: 9a7bde5
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