Subversion Repositories HelenOS

Rev

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

Rev 4173 Rev 4180
Line 53... Line 53...
53
#include <macros.h>
53
#include <macros.h>
54
#include <sysinfo/sysinfo.h>
54
#include <sysinfo/sysinfo.h>
55
#include <ddi/device.h>
55
#include <ddi/device.h>
56
#include <symtab.h>
56
#include <symtab.h>
57
#include <errno.h>
57
#include <errno.h>
-
 
58
#include <putchar.h>
58
 
59
 
59
/** Simple kernel console.
60
/** Simple kernel console.
60
 *
61
 *
61
 * The console is realized by kernel thread kconsole.
62
 * The console is realized by kernel thread kconsole.
62
 * It doesn't understand any useful command on its own,
63
 * It doesn't understand any useful command on its own,
Line 157... Line 158...
157
    spinlock_unlock(&cmd_lock);
158
    spinlock_unlock(&cmd_lock);
158
    return 1;
159
    return 1;
159
}
160
}
160
 
161
 
161
/** Print count times a character */
162
/** Print count times a character */
162
static void rdln_print_c(char ch, int count)
163
static void rdln_print_c(wchar_t ch, count_t count)
163
{
164
{
164
    int i;
165
    count_t i;
165
    for (i = 0; i < count; i++)
166
    for (i = 0; i < count; i++)
166
        putchar(ch);
167
        putchar(ch);
167
}
168
}
168
 
169
 
169
/** Insert character to string */
170
/** Insert character to string */