export.c 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. #define _PCILIB_EXPORT_C
  2. #include <stdio.h>
  3. #include "export.h"
  4. const char *pcilib_data_types[] = { "default", "string", "double", "long" };
  5. #include "protocols/default.h"
  6. #include "protocols/software.h"
  7. const pcilib_register_protocol_description_t pcilib_protocols[] = {
  8. { PCILIB_REGISTER_PROTOCOL_DEFAULT, &pcilib_default_protocol_api, NULL, NULL, "default", "" },
  9. { PCILIB_REGISTER_PROTOCOL_SOFTWARE, &pcilib_register_software_protocol_api, NULL, NULL, "software_registers", "" },
  10. { 0 }
  11. };
  12. #include "dma/nwl.h"
  13. #include "dma/ipe.h"
  14. const pcilib_dma_description_t pcilib_ipedma =
  15. { &ipe_dma_api, ipe_dma_banks, ipe_dma_registers, ipe_dma_engines, NULL, NULL, "ipedma", "DMA engine developed by M. Caselle" };
  16. const pcilib_dma_description_t pcilib_nwldma =
  17. { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, NULL, NULL, "nwldma", "North West Logic DMA Engine" };
  18. const pcilib_dma_description_t pcilib_dma[] = {
  19. { &ipe_dma_api, ipe_dma_banks, ipe_dma_registers, ipe_dma_engines, NULL, NULL, "ipedma", "DMA engine developed by M. Caselle" },
  20. { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, NULL, NULL, "nwldma", "North West Logic DMA Engine" },
  21. { &nwl_dma_api, nwl_dma_banks, nwl_dma_registers, NULL, "ipecamera", NULL, "nwldma-ipe", "North West Logic DMA Engine" },
  22. { 0 }
  23. };