- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. --ScottLink Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi smcnutt,
Unfortunately the exception address is not defined in any header files. The kernel assumes it is at a fixed offset from the sdram (which is bad). Please check this discussion thread my webpage (http://www.niosforum.com/forum/index.php?act=st&f=17&t=327&hl=exception) wentao- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page