Add write-after-cycles, reset handling
This commit is contained in:
29
inc/pub/libhmmmm/config.h
Normal file
29
inc/pub/libhmmmm/config.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef __HMMMM_PUB_LIB_CONFIG_H__
|
||||
#define __HMMMM_PUB_LIB_CONFIG_H__
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
typedef struct {
|
||||
char* name;
|
||||
size_t start;
|
||||
size_t len;
|
||||
uint8_t wordLen;
|
||||
uint8_t isExecutable;
|
||||
} conf_mem_seg_t;
|
||||
|
||||
typedef struct {
|
||||
conf_mem_seg_t** memSegConfs;
|
||||
} conf_mem_t;
|
||||
|
||||
typedef struct {
|
||||
char** id;
|
||||
char** clockId;
|
||||
uint64_t clockDivider;
|
||||
uint64_t clockMultipler;
|
||||
conf_mem_t* memConf;
|
||||
char* libPath;
|
||||
} conf_dev_t;
|
||||
|
||||
|
||||
#endif // ifndef __HMMMM_PUB_LIB_CONFIG_H__
|
||||
Reference in New Issue
Block a user