Forum Discussion
Altera_Forum
Honored Contributor
14 years agoenable/disable interrupt
Hi, I am porting a small kernel from avr to nios2 using a DE2 board. I have tried to modify the enable and disable interrupt macro like the follow: # define DISABLE_INTERRUPTS { asm ...
Altera_Forum
Honored Contributor
14 years agoHi aprado,
--- Quote Start --- Why don't you use altera's library irq enable and disable? --- Quote End --- I have looked into the provided one. The alt_irq_enable_all need a context, which force me the modify other kernel code.