DM: separate pty vuart operation from IOC

for pty vuart operation will be commonly used by other module,
like pm-vuart: control UOS power off through vuart.

Tracked-On: #3564
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
Minggui Cao
2019-09-04 14:01:48 +08:00
committed by ACRN System Integration
parent d188afbc59
commit 00401a1e78
4 changed files with 119 additions and 82 deletions

View File

@@ -0,0 +1,16 @@
/*
* Project Acrn
* Acrn-dm-pty
*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef __PTY_H__
#define __PTY_H__
int pty_open_virtual_uart(const char *dev_name);
#endif