hvm/params: add a new delivery type for event-channel in HVM_PARAM_CALLBACK_IRQ
authorShannon Zhao <shannon.zhao@linaro.org>
Tue, 29 Mar 2016 12:26:57 +0000 (14:26 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Mar 2016 12:26:57 +0000 (14:26 +0200)
commita43f1e9b9d44eda4dd0338904ab422b4542bd031
treec60b64d2e58f5b56656ba824123be7393da7f050
parentb93687291574ee64b8244e15455a71d663787962
hvm/params: add a new delivery type for event-channel in HVM_PARAM_CALLBACK_IRQ

This new delivery type which is for ARM shares the same value with
HVM_PARAM_CALLBACK_TYPE_VECTOR which is for x86.

val[15:8] is flag: val[7:0] is a PPI.
To the flag, bit 8 stands the interrupt mode is edge(1) or level(0) and
bit 9 stands the interrupt polarity is active low(1) or high(0).

Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/public/hvm/params.h