hv: pirq: add a header for common data struct and APIs

- add a commont head file include/common/irq.h, to include the common data
  structure and APIs;
- move the common data struct and APIs from arch/x86/irq.h to the common header.

Signed-off-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Yan, Like
2018-06-20 16:30:55 +08:00
committed by Xie, nanlin
parent d5912a4d16
commit f74675ce21
4 changed files with 97 additions and 93 deletions

View File

@@ -4,7 +4,8 @@
#include <bsp_extern.h>
#include <schedule.h>
#include <version.h>
#include <irq.h>
#include <common/irq.h>
#include <arch/x86/irq.h>
#include <sbuf.h>
#include <gdt.h>
#include <timer.h>