acrn-hypervisor/devicemodel/include/pm_vuart.h
Minggui Cao eb5a57b780 DM: add guest vm power manager by vuart
vuart can be used as communication channel between VMs;
here vuart used to control vm's power off flow; control command
is from SOS to UOS

Tracked-On: #3564
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
2019-09-11 16:43:22 +08:00

19 lines
335 B
C

/*
* Project Acrn
* Acrn-dm: pm-vuart
*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*
*/
#ifndef __PM_VUART__
#define __PM_VUART__
int parse_pm_by_vuart(const char *opts);
void pm_by_vuart_init(struct vmctx *ctx);
void pm_by_vuart_deinit(struct vmctx *ctx);
#endif