mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-13 13:56:19 +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:
parent
dec24a9f9f
commit
073583cc41
@ -115,7 +115,6 @@ C_SRCS += arch/x86/ioapic.c
|
|||||||
C_SRCS += arch/x86/lapic.c
|
C_SRCS += arch/x86/lapic.c
|
||||||
S_SRCS += arch/x86/trampoline.S
|
S_SRCS += arch/x86/trampoline.S
|
||||||
C_SRCS += arch/x86/cpu.c
|
C_SRCS += arch/x86/cpu.c
|
||||||
C_SRCS += arch/x86/softirq.c
|
|
||||||
C_SRCS += arch/x86/cpuid.c
|
C_SRCS += arch/x86/cpuid.c
|
||||||
C_SRCS += arch/x86/mmu.c
|
C_SRCS += arch/x86/mmu.c
|
||||||
C_SRCS += arch/x86/pagetable.c
|
C_SRCS += arch/x86/pagetable.c
|
||||||
@ -160,6 +159,7 @@ C_SRCS += lib/string.c
|
|||||||
C_SRCS += lib/memory.c
|
C_SRCS += lib/memory.c
|
||||||
C_SRCS += lib/crypto/hkdf.c
|
C_SRCS += lib/crypto/hkdf.c
|
||||||
C_SRCS += lib/sprintf.c
|
C_SRCS += lib/sprintf.c
|
||||||
|
C_SRCS += common/softirq.c
|
||||||
C_SRCS += common/hv_main.c
|
C_SRCS += common/hv_main.c
|
||||||
C_SRCS += common/hypercall.c
|
C_SRCS += common/hypercall.c
|
||||||
C_SRCS += common/trusty_hypercall.c
|
C_SRCS += common/trusty_hypercall.c
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <hypervisor.h>
|
#include <hypervisor.h>
|
||||||
|
#include <softirq.h>
|
||||||
|
|
||||||
#define MAX_TIMER_ACTIONS 32U
|
#define MAX_TIMER_ACTIONS 32U
|
||||||
#define TIMER_IRQ (NR_IRQS - 1U)
|
#define TIMER_IRQ (NR_IRQS - 1U)
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <hypervisor.h>
|
#include <hypervisor.h>
|
||||||
|
#include <softirq.h>
|
||||||
#include <ptdev.h>
|
#include <ptdev.h>
|
||||||
|
|
||||||
/* SOFTIRQ_DEV_ASSIGN list for all CPUs */
|
/* SOFTIRQ_DEV_ASSIGN list for all CPUs */
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <hypervisor.h>
|
#include <hypervisor.h>
|
||||||
|
#include <softirq.h>
|
||||||
|
|
||||||
void disable_softirq(uint16_t cpu_id)
|
void disable_softirq(uint16_t cpu_id)
|
||||||
{
|
{
|
@ -28,7 +28,6 @@
|
|||||||
#include <pgtable.h>
|
#include <pgtable.h>
|
||||||
#include <irq.h>
|
#include <irq.h>
|
||||||
#include <timer.h>
|
#include <timer.h>
|
||||||
#include <softirq.h>
|
|
||||||
#include <vmx.h>
|
#include <vmx.h>
|
||||||
#include <assign.h>
|
#include <assign.h>
|
||||||
#include <vtd.h>
|
#include <vtd.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user