acrn-hypervisor/hypervisor/common
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
..
delay.c hv/mod_timer: separate delay functions from the timer module 2021-05-18 16:43:28 +08:00
efi_mmap.c HV: fix build issue on RELEASE version 2021-11-16 19:01:44 +08:00
event.c hv: support halt in hv idle 2023-09-15 11:52:40 +08:00
hv_main.c hv: sched: Add sched_params struct for thread parameters 2023-09-18 16:26:05 +08:00
hypercall.c hv: asyncio: support data match of the same addr 2024-06-05 15:23:33 +08:00
irq.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
ptdev.c ptirq: Fix ptirq hash tables 2023-04-13 12:24:57 +08:00
sbuf.c hv: add max_len for sbuf_put param 2024-02-20 11:52:02 +08:00
sched_bvt.c hv: sched: add four parameters for BVT scheduler 2023-09-18 16:26:05 +08:00
sched_iorr.c hv: sched: Add sched_params struct for thread parameters 2023-09-18 16:26:05 +08:00
sched_noop.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
sched_prio.c hv: sched: Fix scheduler priority issue 2024-05-08 14:52:23 +08:00
schedule.c hv: sched: Add sched_params struct for thread parameters 2023-09-18 16:26:05 +08:00
softirq.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
thermal.c hv: enable thermal lvt interrupt 2024-05-16 09:40:32 +08:00
ticks.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
timer.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
trusty_hypercall.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00
vm_event.c hv: add max_len for sbuf_put param 2024-02-20 11:52:02 +08:00
vm_load.c Update copyright year range in code headers 2022-07-15 11:48:35 +08:00