mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 01:37:44 +00:00
hv: softirq: move softirq.c to common directory
Softirq is not x86 architectural related. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -28,7 +28,6 @@
|
||||
#include <pgtable.h>
|
||||
#include <irq.h>
|
||||
#include <timer.h>
|
||||
#include <softirq.h>
|
||||
#include <vmx.h>
|
||||
#include <assign.h>
|
||||
#include <vtd.h>
|
||||
|
@@ -1,23 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#ifndef SOFTIRQ_H
|
||||
#define SOFTIRQ_H
|
||||
|
||||
#define SOFTIRQ_TIMER 0U
|
||||
#define SOFTIRQ_DEV_ASSIGN 1U
|
||||
#define SOFTIRQ_MAX 2U
|
||||
#define SOFTIRQ_MASK ((1UL<<SOFTIRQ_MAX)-1)
|
||||
|
||||
/* used for atomic value for prevent recursive */
|
||||
#define SOFTIRQ_ATOMIC 63U
|
||||
|
||||
void enable_softirq(uint16_t cpu_id);
|
||||
void disable_softirq(uint16_t cpu_id);
|
||||
void init_softirq(void);
|
||||
void raise_softirq(uint16_t softirq_id);
|
||||
void exec_softirq(void);
|
||||
#endif /* SOFTIRQ_H */
|
Reference in New Issue
Block a user