acrn-hypervisor/devicemodel/include
Yin Fengwei 64d9c59aa1 dm: enhence the mevent API
There is one race issue between mevent callback (which is called
in mevent_dispatch thread) and mevent_delete (which could be called
in dev thread). And the callback is called after mevent_delete.

libevent have the exactly same issue. The issue is decripted here:
https://github.com/libevent/libevent/blob/master/whatsnew-2.1.txt

The fixing is:
We introduce a teardown callback to mevent and make sure there is
no race issue between callback and teardown call.

This patch updates the mevent API and the caller as well.

Tracked-On: #1877
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com>
2018-12-07 20:21:33 +08:00
..
public hv: Add IO request completion polling feature 2018-11-21 14:35:12 +08:00
acpi.h DM: Add funciton to update PM_WAK_STS 2018-08-02 13:14:03 +08:00
ahci.h
ata.h
atkbdc.h
atomic.h DM: add wrappers to gcc built-in atomic operations 2018-08-08 15:53:07 +08:00
block_if.h dm: storage: support cache mode toggling 2018-08-10 10:33:21 +08:00
console.h
cpuset.h
dm_string.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
dm.h doc: update virtio related functions doc comments 2018-11-04 20:32:50 -08:00
gc.h
i8253reg.h dm: vpit: add PIT-related header files 2018-10-09 13:24:47 +08:00
inout.h dm: cmdline: remove unused parameters 2018-10-26 13:37:47 +08:00
ioapic.h DM: increase vioapic pin count 2018-05-16 15:09:48 +08:00
ioc.h IOC mediator: add RTC feature 2018-09-12 09:18:44 +08:00
iodev.h
irq.h
lpc.h
macros.h dm: vpit: add vPIT support 2018-10-09 13:24:47 +08:00
mc146818rtc.h
mei.h dm: mei: add mei hbm protocol definitions header. 2018-10-23 11:40:15 +08:00
mem.h dm: fix the issue when guest tries to disable memory range access 2018-10-08 12:57:00 +08:00
mevent.h dm: enhence the mevent API 2018-12-07 20:21:33 +08:00
monitor.h DM: add interface to set intr storm monitor params 2018-11-08 14:43:05 +08:00
mptable.h
mptbl.h
netmap_user.h
netmap.h
npk.h DM: implement emulated npk pci device 2018-06-07 16:11:49 +08:00
ns16550.h
pci_core.h doc: always use 'None' for functions not returning a value 2018-11-30 14:55:17 +08:00
pciio.h
pcireg.h dm: Disable stolen memory for passthru graphics 2018-06-29 00:50:01 +08:00
pit.h dm: vpit: add PIT-related header files 2018-10-09 13:24:47 +08:00
pm.h DM: register pm ops to monitor 2018-08-02 13:14:03 +08:00
ps2kbd.h
ps2mouse.h
rpmb_backend.h DM: RPMB virtualization 2018-05-25 10:45:24 +08:00
rpmb_sim.h dm: inline functions defined in header must be static 2018-10-11 19:04:18 +08:00
rpmb.h dm: rpmb: DM customized changes for RPMB mux kernel module 2018-10-19 22:31:28 +08:00
rtc.h dm: vrtc: add memory configuration in RTC CMOS 2018-10-05 00:33:17 +08:00
segments.h
smbiostbl.h
specialreg.h
sw_load.h dm: add elf loader to dm 2018-10-17 14:32:33 +08:00
timer.h DM: add acrn_timer api for timer emulation 2018-10-17 14:31:09 +08:00
tpm.h DM: Add support for virtual TPM enabling 2018-11-29 09:19:16 +08:00
tree.h
types.h dm: types: add container_of macro 2018-10-23 11:40:15 +08:00
uart_core.h
usb_core.h DM USB: xHCI: workaround for Stop Endpoint Command handling 2018-10-19 22:39:50 +08:00
usb_pmapper.h DM USB: xHCI: support multiple hubs in single layer 2018-10-19 22:39:50 +08:00
usb.h DM USB: move the UREQ macro into common header 2018-05-29 10:35:05 +08:00
usbdi.h
vbs_common_if.h dm: virtio: add support for VBS-K device reset 2018-08-16 16:22:43 +08:00
vhost.h doc: update virtio related functions doc comments 2018-11-04 20:32:50 -08:00
virtio_kernel.h doc: update virtio related functions doc comments 2018-11-04 20:32:50 -08:00
virtio.h dm: virtio poll mode support for RT 2018-12-04 18:27:53 +08:00
vmcfg.h DM: VMcfg: support --dump options 2018-10-22 16:57:23 +08:00
vmm.h DM: adapt to the new VHM request state transitions 2018-08-08 15:53:07 +08:00
vmmapi.h DM: Support TPM2 CRB device virtualization 2018-11-29 09:19:16 +08:00
vrpmb.h DM: Generate vRPMB key when creating UOS 2018-05-25 10:45:24 +08:00
xhci.h DM USB: add some preparing time for xHCI emulation before resuming. 2018-12-04 19:59:00 +08:00
xhcireg.h DM USB: xHCI: Update the native DRD interfaces. 2018-07-10 13:42:17 +08:00