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:
Conghui Chen 2019-04-29 14:07:55 +08:00 committed by ACRN System Integration
parent 00ebe8630f
commit 513c9f8744
4 changed files with 1 additions and 23 deletions

View File

@ -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

View File

@ -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;
}