libmetal
Loading...
Searching...
No Matches
softirq.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019, Xilinx Inc. and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7/*
8 * @file softirq.h
9 * @brief Soft Interrupt handling primitives for libmetal.
10 */
11
12#ifndef __METAL_SOFTIRQ__H__
13#define __METAL_SOFTIRQ__H__
14
15#include <metal/irq.h>
16
17#ifdef __cplusplus
18extern "C" {
19#endif
20
32int metal_softirq_init(void);
33
39void metal_softirq_dispatch(void);
40
52int metal_softirq_allocate(int num);
53
61void metal_softirq_set(int irq);
62
65#ifdef __cplusplus
66}
67#endif
68
69#endif /* __METAL_SOFTIRQ__H__ */
int metal_softirq_allocate(int num)
metal_softirq_allocate
Definition softirq.c:70
int metal_softirq_init(void)
metal_softirq_init
Definition softirq.c:65
void metal_softirq_dispatch(void)
metal_softirq_dispatch
Definition softirq.c:84
void metal_softirq_set(int irq)
metal_softirq_set
Definition softirq.c:50