libmetal
lib
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
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
23
#include <metal/irq.h>
24
32
int
metal_softirq_init
(
void
);
33
39
void
metal_softirq_dispatch
(
void
);
40
52
int
metal_softirq_allocate
(
int
num);
53
61
void
metal_softirq_set
(
int
irq);
62
65
#ifdef __cplusplus
66
}
67
#endif
68
69
#endif
/* __METAL_SOFTIRQ__H__ */
metal_softirq_allocate
int metal_softirq_allocate(int num)
metal_softirq_allocate
Definition:
softirq.c:70
metal_softirq_dispatch
void metal_softirq_dispatch(void)
metal_softirq_dispatch
Definition:
softirq.c:85
metal_softirq_set
void metal_softirq_set(int irq)
metal_softirq_set
Definition:
softirq.c:50
metal_softirq_init
int metal_softirq_init(void)
metal_softirq_init
Definition:
softirq.c:65
Generated on Sat Aug 1 2020 00:00:00 for libmetal by
1.8.18