managarm/hel
Loading...
Searching...
No Matches
Public Attributes | List of all members
HelQueue Struct Reference

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.
 

Detailed Description

In-memory kernel/user-space queue.

Member Data Documentation

◆ cqFirst

int HelQueue::cqFirst

Index of the first chunk of the completion queue.

Written by userspace and read by the kernel.

◆ kernelNotify

int HelQueue::kernelNotify

Futex that is used to wake the kernel.

Userspace sets bits using atomic OR. Kernel clears bits using atomic AND.

◆ sqFirst

int HelQueue::sqFirst

Index of the first chunk of the submission queue.

Written by the kernel and read by userspace.

◆ userNotify

int HelQueue::userNotify

Futex that is used to wake userspace.

Kernel sets bits using atomic OR. Userspace clears bits using atomic AND.


The documentation for this struct was generated from the following file: