opae_sim buffer index allocation bug fix

This commit is contained in:
Blaise Tine
2021-06-11 15:20:02 -07:00
parent 78a452ea6e
commit a315d0087d
5 changed files with 30 additions and 48 deletions

View File

@@ -79,16 +79,6 @@ extern fpga_result fpgaReadMMIO64(fpga_handle handle, uint32_t mmio_num, uint64_
return FPGA_OK;
}
extern fpga_result fpgaFlush(fpga_handle handle) {
if (NULL == handle)
return FPGA_INVALID_PARAM;
auto sim = reinterpret_cast<opae_sim*>(handle);
sim->flush();
return FPGA_OK;
}
extern const char *fpgaErrStr(fpga_result e) {
return "";
}