general question on interrupts handling
Matías Perret Cantoni
perretcantonim at gmail.com
Thu Mar 12 21:52:26 UTC 2015
Hi!
I'm writing my first interrupt handling routine of a newbus driver and I'm
not sure what things should I take care of in my ISR and what things the
system will take care.
I'm working on a Xilinx Zynq-7000 platform. I'm generating a Shared
Peripheral Interrupt from the FPGA.
For example...
... do I have to disable interrupts upon entering my ISR and enable them
again before returning, o FreeBSD does it for me?
... do I have to clear the GIC interrupt status of my interrupt or the
systems does it automatically when my routine returns?
Please excuse me if this is too general or silly. If you can point me any
documentation or sources to read, It'd be great.
Regards,
Matias.-
More information about the freebsd-drivers
mailing list