Skip to content

Commit

Permalink
Merge pull request #7 from schumilo/main
Browse files Browse the repository at this point in the history
update host_config_t & NYX_HOST_VERSION
  • Loading branch information
schumilo authored Apr 7, 2022
2 parents 5d143ee + 9c6a385 commit 9d3597a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nyx.h
Original file line number Diff line number Diff line change
Expand Up @@ -295,15 +295,16 @@ static void habort(char* msg){
#define NYX_HOST_MAGIC 0x4878794e
#define NYX_AGENT_MAGIC 0x4178794e

#define NYX_HOST_VERSION 1
#define NYX_HOST_VERSION 2
#define NYX_AGENT_VERSION 1

typedef struct host_config_s{
uint32_t host_magic;
uint32_t host_version;
uint32_t bitmap_size;
uint32_t ijon_bitmap_size;
uint32_t payload_buffer_size;
uint32_t payload_buffer_size;
uint32_t worker_id;
/* more to come */
} __attribute__((packed)) host_config_t;

Expand Down

0 comments on commit 9d3597a

Please sign in to comment.