mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-09 00:46:57 +00:00
Many of the license and Intel copyright headers include the "All rights reserved" string. It is not relevant in the context of the BSD-3-Clause license that the code is released under. This patch removes those strings throughout the code (hypervisor, devicemodel and misc). Tracked-On: #7254 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
21 lines
422 B
C
21 lines
422 B
C
/*
|
|
* Copyright (C) 2018 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 */
|