mcctrl: convert send_signal to mcctrl_ihk_send_wait

Change-Id: Ibd2fc834444d83341a96579f0c9c22080a53e8fa
This commit is contained in:
Dominique Martinet
2018-06-29 19:05:58 +09:00
parent ab8fe0bbbf
commit 854bc85602
5 changed files with 33 additions and 28 deletions

View File

@ -655,10 +655,11 @@ static int syscall_packet_handler(struct ihk_ikc_channel_desc *c,
memcpy(&info, sp, sizeof(struct mcctrl_signal));
ihk_mc_unmap_virtual(sp, 1, 0);
ihk_mc_unmap_memory(NULL, pp, sizeof(struct mcctrl_signal));
pckt.msg = SCD_MSG_SEND_SIGNAL;
pckt.msg = SCD_MSG_SEND_SIGNAL_ACK;
pckt.err = 0;
pckt.ref = packet->ref;
pckt.arg = packet->arg;
pckt.reply = packet->reply;
syscall_channel_send(resp_channel, &pckt);
rc = do_kill(NULL, info.pid, info.tid, info.sig, &info.info, 0);