https://bitbucket.org/hudson/magic-lantern
Revision ac6e2143730d536d30adae13cf39807158e04f26 authored by a1ex on 06 June 2011, 20:09:25 UTC, committed by a1ex on 06 June 2011, 20:09:25 UTC
1 parent 907e870
Raw File
Tip revision: ac6e2143730d536d30adae13cf39807158e04f26 authored by a1ex on 06 June 2011, 20:09:25 UTC
Kelvin WB starts from the last preset (sunny, cloudy etc)
Tip revision: ac6e214
reloc.h
/** \file
 * Relocation of firmware functions into RAM.
 */
#ifndef _reloc_h_
#define _reloc_h_

#ifdef __ARM__
#include "arm-mcr.h"
#endif

extern uintptr_t
reloc(
	uint32_t *		buf,
	uintptr_t		load_addr,
	uintptr_t		func_offset,
	size_t			func_end,
	uintptr_t		new_pc
);


#endif
back to top