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:
Li, Fei1 2018-07-30 15:56:59 +08:00 committed by lijinxia
parent dec24a9f9f
commit 073583cc41
6 changed files with 4 additions and 2 deletions

View File

@ -115,7 +115,6 @@ C_SRCS += arch/x86/ioapic.c
C_SRCS += arch/x86/lapic.c
S_SRCS += arch/x86/trampoline.S
C_SRCS += arch/x86/cpu.c
C_SRCS += arch/x86/softirq.c
C_SRCS += arch/x86/cpuid.c
C_SRCS += arch/x86/mmu.c
C_SRCS += arch/x86/pagetable.c
@ -160,6 +159,7 @@ C_SRCS += lib/string.c
C_SRCS += lib/memory.c
C_SRCS += lib/crypto/hkdf.c
C_SRCS += lib/sprintf.c
C_SRCS += common/softirq.c
C_SRCS += common/hv_main.c
C_SRCS += common/hypercall.c
C_SRCS += common/trusty_hypercall.c

View File

@ -5,6 +5,7 @@
*/
#include <hypervisor.h>
#include <softirq.h>
#define MAX_TIMER_ACTIONS 32U
#define TIMER_IRQ (NR_IRQS - 1U)

View File

@ -5,6 +5,7 @@
*/
#include <hypervisor.h>
#include <softirq.h>
#include <ptdev.h>
/* SOFTIRQ_DEV_ASSIGN list for all CPUs */

View File

@ -5,6 +5,7 @@
*/
#include <hypervisor.h>
#include <softirq.h>
void disable_softirq(uint16_t cpu_id)
{

View File

@ -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>