driver-bitfury.h 560 B

1234567891011121314151617181920
  1. #ifndef BFG_DRIVER_BITFURY_H
  2. #define BFG_DRIVER_BITFURY_H
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include "miner.h"
  6. extern bool bitfury_prepare(struct thr_info *);
  7. extern bool bitfury_init_oldbuf(struct cgpu_info *);
  8. extern int64_t bitfury_scanHash(struct thr_info *);
  9. extern bool bitfury_job_prepare(struct thr_info *, struct work *, uint64_t max_nonce);
  10. extern void bitfury_do_io(struct thr_info *);
  11. extern int64_t bitfury_job_process_results(struct thr_info *, struct work *, bool stopping);
  12. extern void bitfury_shutdown(struct thr_info *);
  13. #endif