MOS Source Code
Loading...
Searching...
No Matches
interrupt.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: GPL-3.0-or-later
2
3
#pragma once
4
5
#include <
mos/types.h
>
6
11
typedef
bool
(*
irq_serve_t
)(
u32
irq,
void
*data);
12
13
void
interrupt_entry
(
u32
irq);
14
22
void
interrupt_handler_register
(
u32
irq,
irq_serve_t
handler,
void
*data);
irq_serve_t
bool(* irq_serve_t)(u32 irq, void *data)
Function pointer type for interrupt handlers.
Definition
interrupt.h:11
interrupt_entry
void interrupt_entry(u32 irq)
Definition
interrupt.c:24
interrupt_handler_register
void interrupt_handler_register(u32 irq, irq_serve_t handler, void *data)
Register an interrupt handler.
Definition
interrupt.c:38
bool
int bool
Definition
pb_syshdr.h:57
types.h
u32
unsigned int u32
Definition
types.h:21
kernel
include
private
mos
interrupt
interrupt.h
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0