]> Git Repo - J-u-boot.git/blame - include/irq_func.h
Merge tag 'v2025.01-rc6' into next
[J-u-boot.git] / include / irq_func.h
CommitLineData
c30b7adb
SG
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Header file for interrupt functions
4 *
5 * (C) Copyright 2000-2009
6 * Wolfgang Denk, DENX Software Engineering, [email protected].
7 */
8
9#ifndef __IRQ_FUNC_H
10#define __IRQ_FUNC_H
11
36bf446b 12struct pt_regs;
04efa735 13struct cmd_tbl;
36bf446b
SG
14
15typedef void (interrupt_handler_t)(void *arg);
16
c30b7adb
SG
17int interrupt_init(void);
18void timer_interrupt(struct pt_regs *regs);
19void external_interrupt(struct pt_regs *regs);
36bf446b 20void irq_install_handler(int vec, interrupt_handler_t *handler, void *arg);
c30b7adb
SG
21void irq_free_handler(int vec);
22void reset_timer(void);
23
36bf446b
SG
24void enable_interrupts(void);
25int disable_interrupts(void);
26
04efa735
AS
27/* Implemented in $(CPU)/interrupts.c */
28int do_irqinfo(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]);
29
c30b7adb 30#endif
This page took 0.177292 seconds and 4 git commands to generate.