hv: shell & vuart: Change interrupt pin to uint32_t

Change the type from uint8_t to uint32_t for shell and vuart

Tracked-On: #861
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
Mingqiang Chi
2019-01-10 11:15:11 +08:00
committed by Xie, Nanlin
parent 49166fc3ac
commit 7725fe3b50
4 changed files with 8 additions and 8 deletions

View File

@@ -33,7 +33,7 @@
#include "uart16550.h"
static uint8_t vuart_com_irq = CONFIG_COM_IRQ;
static uint32_t vuart_com_irq = CONFIG_COM_IRQ;
static uint16_t vuart_com_base = CONFIG_COM_BASE;
#ifndef CONFIG_PARTITION_MODE
@@ -407,7 +407,7 @@ void vuart_init(struct acrn_vm *vm)
vuart_register_io_handler(vm);
}
bool hv_used_dbg_intx(uint8_t intx_pin)
bool hv_used_dbg_intx(uint32_t intx_pin)
{
return is_dbg_uart_enabled() && (intx_pin == vuart_com_irq);
}