adding base command buffer submit and some buffer commands in phi
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#ifndef APE_PHI_COMMAND_BUFFER_H
|
||||
#define APE_PHI_COMMAND_BUFFER_H
|
||||
|
||||
#include <Daemon.h>
|
||||
|
||||
typedef struct PhiCommandReader
|
||||
{
|
||||
scif_epd_t endpoint;
|
||||
uint64_t remaining;
|
||||
} PhiCommandReader;
|
||||
|
||||
int HandleWorkExecution(scif_epd_t endpoint, const PhiMessageHeader* header);
|
||||
int PhiDrainCommandReader(PhiCommandReader* reader);
|
||||
PhiStatus PhiReadCommandData(PhiCommandReader* reader, void* data, uint64_t size);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user