Andes Workshop

It is currently Thu Nov 14, 2019 3:32 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: NDS32ATTR_ISR、EXCEPT function parameter ID explain
PostPosted: Fri Apr 11, 2014 11:01 am 
Offline

Joined: Thu Apr 03, 2014 10:09 am
Posts: 42
void NDS32ATTR_EXCEPT("id=1;save_all_regs;nested")
TBL_Fill_hdlr(int vid, NDS32_CONTEXT *ptr);

void NDS32ATTR_ISR("id=1;nested;save_caller_regs")
HW1_hdlr(int vid);

NDS32ATTR_EXCEPT ID = 1 is mapping interrupt vector table TBL_Fill

NDS32ATTR_ISR ID = 1 is mapping interrupt vector table HW1

BTW,The interrupt or except handler will be using the same function than it ID set several number.

ex: void NDS32ATTR_ISR("id=0,1;nested;save_caller_regs") HW1_hdlr(int vid);
it mean the HW0 and HW1 using the same interrupt handler.

The detail explain NDS32ATTR_XXX explain at Andes_Programming_Guide.
Attachment:
interrupt.jpg
interrupt.jpg [ 88.32 KiB | Viewed 3219 times ]


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group