https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 69ff297d9661f28f560f62b2a84129fd8d1e3025 authored by a1ex on 03 May 2014, 10:41:54 UTC
Dual ISO: fix PDF link in comments
Tip revision: 69ff297
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