https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 71e48a9a4199798658dc7cbca606c36d619a9e18 authored by alex@thinkpad on 21 June 2018, 06:15:33 UTC
Close branch qemu-build-tweaks-2
Tip revision: 71e48a9
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