https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: eed3cf40f364211bdde591f320732460e78f0dce authored by Daniel Fort on 09 March 2018, 22:55:49 UTC
EOSM stub found by nikfreak and first tested by Licaon Kter.
Tip revision: eed3cf4
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