summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 783f5e5)
raw | patch | inline | side by side (parent: 783f5e5)
author | Justin Sobota <jsobota@ti.com> | |
Thu, 30 May 2013 17:37:34 +0000 (13:37 -0400) | ||
committer | Justin Sobota <jsobota@ti.com> | |
Thu, 30 May 2013 17:37:34 +0000 (13:37 -0400) |
test/k2h/armv7/linux/rm_dsp_client_test.c | patch | blob | history | |
test/k2k/armv7/linux/rm_dsp_client_test.c | patch | blob | history |
index 4094064451b27ad55b3aebdb123d7b72409ddb6d..19d72b8e2b86579eb9f341378661c6fba3bda39e 100644 (file)
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();
index 4094064451b27ad55b3aebdb123d7b72409ddb6d..19d72b8e2b86579eb9f341378661c6fba3bda39e 100644 (file)
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();