Lines Matching +full:indexed +full:- +full:array
1 .. SPDX-License-Identifier: GPL-2.0
12 --------------
14 For each User VM, there is a shared 4-KByte memory region used for I/O requests
16 256-byte structure buffer, which is 'struct acrn_io_request', that is filled by
18 VM. ACRN userspace in the Service VM first allocates a 4-KByte page and passes
20 used as an array of 16 I/O request slots with each I/O request slot being 256
21 bytes. This array is indexed by vCPU ID.
24 --------------
38 +------------------------------------------------------+
40 |+--------------------------------------------------+ |
41 || +----------------------------------------+ | |
43 || | +-----------------+ +------------+ | | |
44 || +----+->| acrn_io_request |<-+ default | | | |
45 || | | | +-----------------+ | I/O client | | | |
46 || | | | | ... | +------------+ | | |
47 || | | | +-----------------+ | | |
48 || | +-|--------------------------------------+ | |
49 ||---|----|-----------------------------------------| |
51 || | | +----------------------+ | |
52 || | | | +-------------+ HSM | | |
53 || | +--------------+ | | | |
56 || | | +-------------+ | | |
57 || | +----------------------+ | |
58 |+---|----------------------------------------------+ |
59 +----|-------------------------------------------------+
61 +----|-------------------------------------------------+
62 | +-+-----------+ |
64 | +-------------+ |
65 +------------------------------------------------------+
68 -------------------------------
74 FREE -> PENDING -> PROCESSING -> COMPLETE -> FREE -> ...
76 - FREE: this I/O request slot is empty
77 - PENDING: a valid I/O request is pending in this slot
78 - PROCESSING: the I/O request is being processed
79 - COMPLETE: the I/O request has been processed
85 ----------------------------------