Revision e4f8ff451494acf6d81b0549134c802cf0b93ed9 authored by alex@thinkpad on 11 February 2017, 13:44:28 UTC, committed by alex@thinkpad on 11 February 2017, 13:44:28 UTC
1 parent b4a17f6
Raw File
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