summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f02baa)
raw | patch | inline | side by side (parent: 3f02baa)
author | vwan@ti.com <vwan@ti.com> | |
Mon, 13 Oct 2014 22:53:01 +0000 (15:53 -0700) | ||
committer | Robert Tivy <rtivy@ti.com> | |
Tue, 14 Oct 2014 20:43:42 +0000 (13:43 -0700) |
This commit allows the resource manager to be launched without specifying
any core in its core list. This is useful now that cores can be started
at a subsequent time.
Signed-off-by: VW <vwan@ti.com>
any core in its core list. This is useful now that cores can be started
at a subsequent time.
Signed-off-by: VW <vwan@ti.com>
qnx/src/ipc3x_dev/ti/syslink/build/Qnx/resmgr/syslink_main.c | patch | blob | history |
diff --git a/qnx/src/ipc3x_dev/ti/syslink/build/Qnx/resmgr/syslink_main.c b/qnx/src/ipc3x_dev/ti/syslink/build/Qnx/resmgr/syslink_main.c
index 4aaf595bca427c714830407b93ee5cfa6872ec13..438aca78515014877893e904ac75bb0f40721645 100644 (file)
if (status < 0) {
GT_setFailureReason(curTrace,
GT_4CLASS,
- "init_ipc",
+ "runSlave",
status,
"ProcMgr_attach failed!");
goto procmgrattach_fail;
if (status < 0) {
GT_setFailureReason(curTrace,
GT_4CLASS,
- "init_ipc",
+ "runSlave",
status,
"ProcMgr_load failed!");
goto procmgrload_fail;
if (status < 0) {
GT_setFailureReason(curTrace,
GT_4CLASS,
- "init_ipc",
+ "runSlave",
status,
"Ipc_attach failed!");
goto ipcattach_fail;
if (status < 0) {
GT_setFailureReason(curTrace,
GT_4CLASS,
- "init_ipc",
+ "runSlave",
status,
"ProcMgr_start failed!");
goto procmgrstart_fail;
@@ -1275,7 +1275,6 @@ int init_ipc(syslink_dev_t * dev, syslink_firmware_info * firmware, bool recover
int status = 0;
Ipc_Config iCfg;
OsalThread_Params threadParams;
- ProcMgr_AttachParams attachParams;
UInt16 procId;
int i;
syslink_firmware[syslink_num_cores++].firmware = argv [optind+1];
}
- /* Get the name of the binary from the input args */
- if (!syslink_num_cores) {
- fprintf(stderr, "At least one core_id and executable must be "\
- "specified");
- printUsage(argv[0]);
- return (error);
- }
-
/* Validate hib_enable args */
if (hib_enable == -1) {
fprintf (stderr, "invalid hibernation enable value\n");