|
managarm/hel
|
In-memory kernel/user-space queue. More...
#include <hel.h>
Public Attributes | |
| int | userNotify |
| Futex that is used to wake userspace. | |
| int | kernelNotify |
| Futex that is used to wake the kernel. | |
| int | cqFirst |
| Index of the first chunk of the completion queue. | |
| int | sqFirst |
| Index of the first chunk of the submission queue. | |
In-memory kernel/user-space queue.
| int HelQueue::cqFirst |
Index of the first chunk of the completion queue.
Written by userspace and read by the kernel.
| int HelQueue::kernelNotify |
Futex that is used to wake the kernel.
Userspace sets bits using atomic OR. Kernel clears bits using atomic AND.
| int HelQueue::sqFirst |
Index of the first chunk of the submission queue.
Written by the kernel and read by userspace.
| int HelQueue::userNotify |
Futex that is used to wake userspace.
Kernel sets bits using atomic OR. Userspace clears bits using atomic AND.