]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[pic8259] Return previous state when enabling or disabling IRQs
authorMichael Brown <mcb30@ipxe.org>
Fri, 14 Mar 2025 14:09:26 +0000 (14:09 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 14 Mar 2025 14:09:26 +0000 (14:09 +0000)
commit8840de40962cabf84847919220a29f3c7d1be13e
tree33b3dab8f3973f13e59e54b275f4792a921f7dba
parentd1133956d10779369ee1077d05a83c4aa3d70f1f
[pic8259] Return previous state when enabling or disabling IRQs

Return the previous interrupt enabled state from enable_irq() and
disable_irq(), to allow callers to more easily restore this state.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/include/pic8259.h