|
libocxl
|
An OCXL event. More...
#include <libocxl.h>
Data Fields | |
| ocxl_event_type | type |
| union { | |
| ocxl_event_irq | irq |
| Usable only when the type is OCXL_EVENT_IRQ. | |
| ocxl_event_translation_fault | translation_fault |
| Usable only when the type is OCXL_OCXL_EVENT_TRANSLATION_FAULT. | |
| uint64_t | padding [16] |
| }; | |
An OCXL event.
This may be an AFU interrupt, or a translation error, as determined by ocxl_event.type.
Once the type in known, the appropriate member of the anonymous union may be accessed.
| union { ... } |
| ocxl_event_type type |