Skip to content

Commit

Permalink
adding overview figure
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvatore committed Apr 23, 2021
1 parent f9627f4 commit abaf870
Show file tree
Hide file tree
Showing 37 changed files with 1,633 additions and 61,974 deletions.
2 changes: 1 addition & 1 deletion hw/verilator_model/include/spin.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ typedef uint32_t spin_nic_addr_t;

int spin_nicmem_write(spin_nic_addr_t addr, void *data, size_t size, void* user_ptr);
int spin_nicmem_read(spin_nic_addr_t addr, void *data, size_t size, void* user_ptr);
int spin_find_handler_by_name(char *binfile, char* handler_name, spin_nic_addr_t *handler_addr, size_t *handler_size);
int spin_find_handler_by_name(const char *binfile, const char* handler_name, spin_nic_addr_t *handler_addr, size_t *handler_size);

#ifdef __cplusplus
} // extern "C"
Expand Down
2 changes: 1 addition & 1 deletion hw/verilator_model/src/pspinsim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ int spin_nicmem_read(spin_nic_addr_t addr, void *data, size_t size, void* user_p


// this will be swapped with Timo's stuff
int spin_find_handler_by_name(char *binfile, char* handler_name, spin_nic_addr_t *handler_addr, size_t *handler_size)
int spin_find_handler_by_name(const char *binfile, const char* handler_name, spin_nic_addr_t *handler_addr, size_t *handler_size)
{
struct stat sb;
FILE *f = fopen(binfile, "rb");
Expand Down
Loading

0 comments on commit abaf870

Please sign in to comment.