acrn-hypervisor/hypervisor/dm
Jian Jun Chen 74bc2f7cfb hv: asyncio: support data match of the same addr
Virtio legacy device (ver < 1.0) uses a single PIO for all virtqueues.
Notifications from different virtqueues are implemented by writing
virtqueue index to the PIO. Writing different values to the same addr
needs to be mapped to different eventfds by asyncio. This is called
data match feature of asyncio.

v3 -> v4:
 * Update the definition of `struct asyncio_desc`
   Use `struct acrn_asyncio_info` inside it, instaed of defining the duplicated
   fileds.
 * Update `add_asyncio` to use `memcpy_s` rather than assigning all the fields
   using 5 assignment statements.
 * Update `asyncio_is_conflict` for coding style
   120-character line is sufficient to write all conditions.
 * Update the checks related to `wildcard`
   Because we require every conditional clause to have a Boolean type
   in the coding guideline.

v2 -> v3:
No change

v1 -> v2:
No change

Tracked-On: #8612

Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com>
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
2024-06-05 15:23:33 +08:00
..
vpci hv: dm: refine create/destroy functions 2024-06-04 09:38:34 +08:00
io_req.c hv: asyncio: support data match of the same addr 2024-06-05 15:23:33 +08:00
mmio_dev.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vgpio.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vioapic.c doc: remove '@return None' for void functions 2023-08-03 14:56:29 -07:00
vpic.c doc: remove '@return None' for void functions 2023-08-03 14:56:29 -07:00
vrtc.c hv: vm_event: send RTC change event in hv vRTC 2024-02-01 17:01:31 +08:00
vuart.c debug: vuart: fix interrupt ID for data receiving 2024-04-25 15:00:09 +08:00