summaryrefslogtreecommitdiff
path: root/include/xilinx.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xilinx.h')
-rw-r--r--include/xilinx.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/xilinx.h b/include/xilinx.h
index b72aece7c9..9801267c59 100644
--- a/include/xilinx.h
+++ b/include/xilinx.h
@@ -40,9 +40,16 @@ typedef struct { /* typedef xilinx_desc */
size_t size; /* bytes of data part can accept */
void *iface_fns; /* interface function table */
int cookie; /* implementation specific cookie */
+ struct xilinx_fpga_op *operations; /* operations */
char *name; /* device name in bitstream */
} xilinx_desc; /* end, typedef xilinx_desc */
+struct xilinx_fpga_op {
+ int (*load)(xilinx_desc *, const void *, size_t);
+ int (*dump)(xilinx_desc *, const void *, size_t);
+ int (*info)(xilinx_desc *);
+};
+
/* Generic Xilinx Functions
*********************************************************************/
int xilinx_load(xilinx_desc *desc, const void *image, size_t size);