mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-11 05:39:45 +00:00
HV: Add vuart port base address/IRQ Kconfig options
Adding Kconfig option to define the vuart port base address/IRQ. By default, use 0x3F8/IRQ4. For MRB, use 0x3E8/IRQ6. We are experiencing problems on NUC after changing from 0x3F8/IRQ4 to 0x3E8/IRQ6. Tracked-On: #1817 Change-Id: Ie407e51a7bc25ac0bb4c61453c969f1466fa33ca Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
This commit is contained in:
@@ -69,13 +69,11 @@ struct acrn_vuart {
|
||||
extern int8_t vuart_vmid;
|
||||
#endif
|
||||
#ifdef HV_DEBUG
|
||||
#define COM1_IRQ 6U
|
||||
void vuart_init(struct acrn_vm *vm);
|
||||
struct acrn_vuart *vuart_console_active(void);
|
||||
void vuart_console_tx_chars(struct acrn_vuart *vu);
|
||||
void vuart_console_rx_chars(struct acrn_vuart *vu);
|
||||
#else
|
||||
#define COM1_IRQ 0xFFU
|
||||
static inline void vuart_init(__unused struct acrn_vm *vm)
|
||||
{
|
||||
}
|
||||
|
Reference in New Issue
Block a user