https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: fe74813e02d4ba9902e81fe5608822403a08a96d authored by a1ex on 19 June 2016, 18:35:54 UTC
Close branch raw2dng_Win32.
Tip revision: fe74813
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