index 8ea1c6deac38496d223fe5beb94cae06df9a4074..74e064daa0e63b69dc1b858d98ef17c1a4d4c582 100644 (file)
#include <ti/drv/rm/rm_transport.h>
/* RM internal includes */
-#include <ti/drv/rm/include/rm_loc.h>
+#include <ti/drv/rm/include/rm_internal.h>
/* This macro generates compilier error if postulate is false, so
* allows 0 overhead compile time size check. This "works" when
Rm_AppTransportHandle appTransportHandle;
/* Remote RM instance type */
Rm_InstType remoteInstType;
- /* Remote RM instance name */
- char remoteInstName[RM_NAME_MAX_CHARS];
+ /* Transport callout functions provided by application during transport
+ * registration */
+ Rm_TransportCallouts callouts;
/* Link to next transport node */
struct Rm_Transport_s *nextTransport;
} Rm_Transport;
Rm_resReqPktType_ALLOCATE_INIT = 0,
/* Resource allocate for use request */
Rm_resReqPktType_ALLOCATE_USE,
+ /* Resource status request */
+ Rm_resReqPktType_GET_STATUS,
/* Free resource */
Rm_resReqPktType_FREE,
/* Get name resource */
int32_t requestState;
} Rm_NsResponsePkt;
-Rm_Transport *rmTransportFindRemoteName(Rm_Transport *transports, char *remoteName);
Rm_Transport *rmTransportFindRemoteInstType(Rm_Transport *transports, Rm_InstType remoteInstType);
-Rm_PacketHandle rmTransportCreateResourceReqPkt(Rm_Inst *rmInst, Rm_AppTransportHandle appTransport,
- Rm_Transaction *transaction);
-Rm_PacketHandle rmTransportCreateResourceResponsePkt(Rm_Inst *rmInst, Rm_AppTransportHandle appTransport,
- Rm_Transaction *transaction);
-Rm_PacketHandle rmTransportCreateNsRequestPkt(Rm_Inst *rmInst, Rm_AppTransportHandle appTransport,
- Rm_Transaction *transaction);
-Rm_PacketHandle rmTransportCreateNsResponsePkt(Rm_Inst *rmInst, Rm_AppTransportHandle appTransport,
- Rm_Transaction *transaction);
#ifdef __cplusplus
}