You don't give any details of the platform you are using. If it is an x86 type board with an Intel 8259 Interrupt Controller or equivalent you can dig up the datasheet for the details of telling the interrupt controller that the service routine is finished and that it can drop its priority level to a lower value.
I already did. It sends an EOI (End of Interrupt) signal to the Interrupt Controller. To understand the operation of the Interrupt Controller dig up a data sheet for an Intel 8259A Programmable Interrupt Controller. The chip itself is now obsolete but people include the design in the combo chips they put on PC motherboards as companions to the x86 processors