Forum Discussion
Altera_Forum
Honored Contributor
21 years agoNios-II Exception Address
I've been trying to find a definition in one of the auto-generated header files for the exception address -- no luck. Is it defined somewhere? I see CPU_RESET_ADDRESS in nios2_system.h,...
Altera_Forum
Honored Contributor
21 years agoHi wentao,
> The kernel assumes it is at a fixed offset from the sdram (which is bad). Yep ... that's what I thought ... I was hoping that it was defined & I was just missing it 8-P. For now, I patched head.S to copy the exception trampoline to a hard-coded address ... not very clean ... but it works. Thanks, --Scott