Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Nios-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, but no exception address.

--Scott

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi 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