mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-24 10:17:28 +00:00
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:
committed by
Xie, Nanlin
parent
49166fc3ac
commit
7725fe3b50
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user