/[rtmk]/rtmk/host.c
ViewVC logotype

Diff of /rtmk/host.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by jrydberg, Wed Mar 6 00:55:01 2002 UTC revision 1.6 by jrydberg, Wed Mar 27 00:13:45 2002 UTC
# Line 83  syscall_host_self (void) Line 83  syscall_host_self (void)
83    
84    /* Insert right into tasks IPC object.  */    /* Insert right into tasks IPC object.  */
85    ipc_object_lock (THREAD_CURRENT()->task->ipc_object);    ipc_object_lock (THREAD_CURRENT()->task->ipc_object);
86    kr = ipc_object_copyout (THREAD_CURRENT()->task->ipc_object, host_port,    kr = ipc_object_copyout (THREAD_CURRENT()->task->ipc_object,
87                               ipc_port_copy_send (host_port),
88                             RTMK_MSG_TYPE_MAKE_SEND, & host_name);                             RTMK_MSG_TYPE_MAKE_SEND, & host_name);
89    ipc_object_unlock (THREAD_CURRENT()->task->ipc_object);    ipc_object_unlock (THREAD_CURRENT()->task->ipc_object);
90    assert (kr == KERN_SUCCESS);    assert (kr == KERN_SUCCESS);
# Line 136  host_attach_interrupt (struct ipc_port * Line 137  host_attach_interrupt (struct ipc_port *
137  /* Get information about HOST.  HOST must not be the  /* Get information about HOST.  HOST must not be the
138     systems priviledged host port.  Info is but in BUF.  */     systems priviledged host port.  Info is but in BUF.  */
139  kern_return_t  kern_return_t
140  host_info (struct ipc_port *host, int flavor, char *buf,  host_info (struct ipc_port *host, int flavor, void *buf,
141             int *data_len)             int *data_len)
142  {  {
143    int i, size;    int i, size;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26