mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-06 23:46:58 +00:00
Modified the copyright year range in code, and corrected "int32_tel" into "Intel" in two "hypervisor/include/debug/profiling.h" and "hypervisor/include/debug/profiling_internal.h". Tracked-On: #7559 Signed-off-by: Ziheng Li <ziheng.li@intel.com>
21 lines
427 B
C
21 lines
427 B
C
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef SOFTIRQ_H
|
|
#define SOFTIRQ_H
|
|
|
|
#define SOFTIRQ_TIMER 0U
|
|
#define SOFTIRQ_PTDEV 1U
|
|
#define NR_SOFTIRQS 2U
|
|
|
|
typedef void (*softirq_handler)(uint16_t cpu_id);
|
|
|
|
void init_softirq(void);
|
|
void register_softirq(uint16_t nr, softirq_handler handler);
|
|
void fire_softirq(uint16_t nr);
|
|
void do_softirq(void);
|
|
#endif /* SOFTIRQ_H */
|