1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Header file for interrupt functions
5 * (C) Copyright 2000-2009
6 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
14 typedef void (interrupt_handler_t)(void *arg);
16 int interrupt_init(void);
17 void timer_interrupt(struct pt_regs *regs);
18 void external_interrupt(struct pt_regs *regs);
19 void irq_install_handler(int vec, interrupt_handler_t *handler, void *arg);
20 void irq_free_handler(int vec);
21 void reset_timer(void);
23 void enable_interrupts(void);
24 int disable_interrupts(void);