mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
hv:Unify the MACRO name for invalid interrupt pin
There are the following definitions in hypervisor, define IOAPIC_INVALID_PIN 0xffU define VPIC_INVALID_PIN 0xffU define PTDEV_INVALID_PIN 0xffU this patch unify them to: define INVALID_INTERRUPT_PIN 0xffffffffU Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
This commit is contained in:
committed by
Xie, Nanlin
parent
7725fe3b50
commit
1fc10d514c
@@ -94,7 +94,6 @@
|
||||
|
||||
#define NR_VPIC_PINS_PER_CHIP 8U
|
||||
#define NR_VPIC_PINS_TOTAL 16U
|
||||
#define VPIC_INVALID_PIN 0xffU
|
||||
|
||||
enum vpic_trigger {
|
||||
EDGE_TRIGGER,
|
||||
|
@@ -54,6 +54,8 @@
|
||||
|
||||
#define IRQ_ALLOC_BITMAP_SIZE INT_DIV_ROUNDUP(NR_IRQS, 64U)
|
||||
|
||||
#define INVALID_INTERRUPT_PIN 0xffffffffU
|
||||
|
||||
/*
|
||||
* Definition of the stack frame layout
|
||||
*/
|
||||
|
Reference in New Issue
Block a user