|
|
| version 1.45, 2004/01/08 18:39:18 | version 1.46, 2004/03/06 19:40:23 |
|---|---|
| Line 1330 syscall2(struct trapframe frame) | Line 1330 syscall2(struct trapframe frame) |
| * results are returned. Since edx is loaded from fds[1] when the | * results are returned. Since edx is loaded from fds[1] when the |
| * system call returns we pre-set it here. | * system call returns we pre-set it here. |
| */ | */ |
| lwkt_initmsg(&args.lmsg, &td->td_msgport, code); | lwkt_initmsg_rp(&args.lmsg, &td->td_msgport, code); |
| args.sysmsg_copyout = NULL; | args.sysmsg_copyout = NULL; |
| args.sysmsg_fds[0] = 0; | args.sysmsg_fds[0] = 0; |
| args.sysmsg_fds[1] = frame.tf_edx; | args.sysmsg_fds[1] = frame.tf_edx; |
| Line 1582 sendsys2(struct trapframe frame) | Line 1582 sendsys2(struct trapframe frame) |
| * Initialize the kernel message from the copied-in data and | * Initialize the kernel message from the copied-in data and |
| * pull in appropriate flags from the userland message. | * pull in appropriate flags from the userland message. |
| */ | */ |
| lwkt_initmsg(&sysun->lmsg, &td->td_msgport, | lwkt_initmsg_rp(&sysun->lmsg, &td->td_msgport, |
| sysun->nosys.usrmsg.umsg.ms_cmd); | sysun->nosys.usrmsg.umsg.ms_cmd); |
| sysun->sysmsg_copyout = NULL; | sysun->sysmsg_copyout = NULL; |
| sysun->lmsg.opaque.ms_umsg = umsg; | sysun->lmsg.opaque.ms_umsg = umsg; |