From dcd8ad63316eac672492bc18112bbbb52811c3fc Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 24 Apr 2015 05:35:48 +0200 Subject: More structural changes to get ready for stand-alone event engines --- pcilib/model.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 pcilib/model.h (limited to 'pcilib/model.h') diff --git a/pcilib/model.h b/pcilib/model.h new file mode 100644 index 0000000..0b18c59 --- /dev/null +++ b/pcilib/model.h @@ -0,0 +1,29 @@ +#ifndef _PCILIB_MODEL_H +#define _PCILIB_MODEL_H + +#include +#include +#include +#include +#include + +typedef struct { + const pcilib_event_api_description_t *api; + const pcilib_dma_description_t *dma; + + const pcilib_register_description_t *registers; + const pcilib_register_bank_description_t *banks; + const pcilib_register_protocol_description_t *protocols; + const pcilib_register_range_t *ranges; + + const pcilib_event_description_t *events; + const pcilib_event_data_type_description_t *data_types; + + const char *name; + const char *description; +} pcilib_model_description_t; + + +const pcilib_model_description_t *pcilib_get_model_description(pcilib_t *ctx); + +#endif /* _PCILIB_MODEL_H */ -- cgit v1.2.3