HV: vuart: move the vuart code to dm directory
As there is a requirement for conmunication between VMs on uart port, but for Pre-launched VM, the only way is to create vuart for each VM and connect them at hypervisor side. So, the vuart code should be moved from /debug to /dm so that they can also be used in release version. For the console related code, as no need to support in release version, so leave them at debug directory. Tracked-On: #2987 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
00ebe8630f
commit
513c9f8744
|
@ -225,6 +225,7 @@ C_SRCS += hw/pci.c
|
|||
C_SRCS += dm/vpic.c
|
||||
C_SRCS += dm/vrtc.c
|
||||
C_SRCS += dm/vioapic.c
|
||||
C_SRCS += dm/vuart.c
|
||||
C_SRCS += dm/io_req.c
|
||||
C_SRCS += dm/vpci/vdev.c
|
||||
C_SRCS += dm/vpci/vpci.c
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2018 Intel Corporation. All rights reserved.
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-3-Clause
|
||||
*/
|
||||
|
||||
#include <types.h>
|
||||
#include <vm.h>
|
||||
|
||||
void vuart_init(__unused struct acrn_vm *vm, __unused struct vuart_config *vu_config) {}
|
||||
void vuart_deinit(__unused struct acrn_vm *vm) {}
|
||||
struct acrn_vuart *vuart_console_active(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void vuart_console_tx_chars(__unused struct acrn_vuart *vu) {}
|
||||
void vuart_console_rx_chars(__unused struct acrn_vuart *vu) {}
|
||||
|
||||
bool is_vuart_intx(__unused struct acrn_vm *vm, __unused uint32_t intx_pin)
|
||||
{
|
||||
return false;
|
||||
}
|
Loading…
Reference in New Issue