mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
The vuart_read()/vuart_write() are coupled with PIO vuart type. Move the non-type related code into vuart_read_reg()/vuart_write_reg(), so that we can re-use them to handle MMIO request of pci-vuart type. Tracked-On: #5394 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Reviewed-by: Wang, Yu1 <yu1.wang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>