diff options
Diffstat (limited to 'runtime/transport/control.c')
-rw-r--r-- | runtime/transport/control.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/runtime/transport/control.c b/runtime/transport/control.c index 9319b9ca..09506bb1 100644 --- a/runtime/transport/control.c +++ b/runtime/transport/control.c @@ -30,7 +30,9 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz count -= sizeof(u32); buf += sizeof(u32); + #ifdef DEBUG_TRANS + printk (KERN_INFO " control write_cmd: Got %s. len=%d\n", _stp_command_name[type], (int)count); if (type < STP_MAX_CMD) _dbug("Got %s. len=%d\n", _stp_command_name[type], (int)count); #endif @@ -56,9 +58,11 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz #else return -1; #endif + case STP_RELOCATION: + _stp_do_relocation (buf, count); + break; + case STP_READY: - /* request symbolic information */ - /* _stp_ask_for_symbols(); */ break; default: @@ -66,7 +70,7 @@ static ssize_t _stp_ctl_write_cmd(struct file *file, const char __user *buf, siz return -EINVAL; } - return count; + return count; /* Pretend that we absorbed the entire message. */ } struct _stp_buffer { |