Add write-after-cycles, reset handling
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#ifndef __HMMMMM__
|
||||
#define __HMMMMM__
|
||||
#include "libhmmmm.h"
|
||||
#include "pub/libhmmmm/device.h"
|
||||
#include "config.h"
|
||||
|
||||
typedef struct {
|
||||
@@ -25,6 +25,7 @@ typedef struct {
|
||||
void (*freeDevMem)(device_mem_t* mem);
|
||||
void (*fillSmartReadSpecs)(void* specs, smart_read_spec_t* smartReadSpecs, uint64_t smartReadSpecsCount);
|
||||
void (*fillSmartWriteSpecs)(void* specs, smart_write_spec_t* smartWriteSpecs, uint64_t smartWriteSpecsCount);
|
||||
void (*reset)(void* specs, device_public_context_t* devInfo);
|
||||
} device_lib_t;
|
||||
|
||||
device_lib_t* loadDeviceLib(const char *libpath, char* errbuf);
|
||||
|
||||
Reference in New Issue
Block a user