17 lines
408 B
C
17 lines
408 B
C
#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
|