mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 19:35:28 +00:00
In the uart module, the following functions are implemented: - init_uart_dev Allocate UART device instance and initialize UART device according to device name. - deinit_uart_dev Close UART devcie and free UART device instance. - send_message_by_uart Set handler to handle received message. - receive_message_by_uart Receive message and retry RETRY_RECV_TIMES time to avoid miss message in some cases. - get_uart_dev_fd Get the file descriptor of a UART device - get_uart_dev_path Get the name of a UART device v1-->v2: Update sync logic between uart in service VM and uart in user VM, lifecycle manager will not depend on VM boot order. Add code comments. v2-->v3: This module only includes UART device operations, move other logic into uart channel module. v3-->v4: Add parameters check for interface and refine some names. v4-->v5: Refine interface parameter type, error value. v5-->v6: Update condition check format of deinit_uart_dev. Tracked-On: #6652 Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com> Reviewed-by: fei1.li@intel.com |
||
---|---|---|
.. | ||
COPYING.MinGW-w64-runtime.txt | ||
life_mngr_win.c | ||
life_mngr.c | ||
life_mngr.service | ||
Makefile | ||
s5_trigger.sh | ||
uart.c | ||
uart.h |