index d54fa50da8da245bdd3a0846a8dffb8b78b3fbcd..19d72b8e2b86579eb9f341378661c6fba3bda39e 100644 (file)
#include <stdlib.h>
/* IPC Headers */
-#include <Std.h>
+#include <ti/ipc/Std.h>
#include <ti/ipc/Ipc.h>
#include <ti/ipc/MessageQ.h>
printf("\tDefaults: ProcId: %d\n", PROC_ID_DEFAULT);
exit(0);
}
+
+ status = Ipc_start();
+
if (procId >= MultiProc_getNumProcessors()) {
printf("ProcId must be less than %d\n", MultiProc_getNumProcessors());
+ Ipc_stop();
exit(0);
}
printf("Using procId : %d\n", procId);
- status = Ipc_start();
-
if (status >= 0) {
rmServerExchange_execute(procId);
Ipc_stop();