Subversion Repositories HelenOS

Rev

Rev 4343 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4343 Rev 4345
Line 113... Line 113...
113
void klog_update(void)
113
void klog_update(void)
114
{
114
{
115
    (void) __SYSCALL3(SYS_KLOG, 1, NULL, 0);
115
    (void) __SYSCALL3(SYS_KLOG, 1, NULL, 0);
116
}
116
}
117
 
117
 
118
int get_cons_phone(void)
118
int get_console_phone(void)
119
{
119
{
120
    open_console();
120
    if (console_phone < 0)
-
 
121
        console_phone = ipc_connect_me_to_blocking(PHONE_NS, SERVICE_CONSOLE, 0, 0);
-
 
122
   
121
    return console_phone;
123
    return console_phone;
122
}
124
}
123
 
125
 
-
 
126
void console_wait(void)
-
 
127
{
-
 
128
    while (console_phone < 0)
-
 
129
        get_console_phone();
-
 
130
}
-
 
131
 
124
/** @}
132
/** @}
125
 */
133
 */