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_FillNDS32ATTR_ISR
ID = 1 is mapping interrupt vector table
HW1BTW,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 [ 88.32 KiB | Viewed 6768 times ]