/* The START_ADDRESS is the location where the image (or main() function) will reside. In this example, it is the address of the DDR3 memory on the SP605 board, but the START_ADDRESS may vary depending on your linker script (.ld file) definitions and should be adjusted according to your design code specifications. */
#define START_ADDRESS XPAR_MCB_DDR3_MPMC_BASEADDR
/* Function pointer that is used at the end of the program to jump to the address location stated by START_ADDRESS */
int (*func_ptr) ();
int main() { func_ptr = (void *)START_ADDRESS; func_ptr();