mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-09 20:59:03 +00:00
ptdev: assert/deassert interrupt according to polarity
add active_polarity to decide what signal to call: GSI_SET_LOW, GSI_SET_HIGH, GSI_FALLING_PULSE or GSI_RAISING_PULSE. Tracked-On: #1269 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
committed by
Xie, Nanlin
parent
e49233ba9b
commit
099203c15a
@@ -58,6 +58,7 @@ struct ptdev_remapping_info {
|
||||
struct vm *vm;
|
||||
uint32_t active; /* 1=active, 0=inactive and to free*/
|
||||
uint32_t allocated_pirq;
|
||||
uint32_t polarity; /* 0=active high, 1=active low*/
|
||||
struct list_head softirq_node;
|
||||
struct list_head entry_node;
|
||||
struct ptdev_msi_info msi;
|
||||
|
Reference in New Issue
Block a user