Forum Discussion
Altera_Forum
Honored Contributor
21 years agoI had problems with the 'go' cmd in the code you had posted on your site. I thought you mentioned in a post that it did not work.
Anyway in cmd_boot.c: ...# if !defined(CONFIG_NIOS) /* old code I could not quite follow. syntax? */ /* rc = ((ulong (*)(int, char *[]))addr) (--argc, &argv[1]); */ /* tkc just need simple function pointer, no args */ ulong (*fnjump)(void) = (ulong (*)(void))addr; disable_interrupts(); rc = (*fnjump)();# else ...