Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 892 → Rev 891

/kernel/trunk/arch/ia64/src/ski/ski.c
46,7 → 46,7
*/
void ski_putchar(chardev_t *d, const char ch)
{
__asm__ volatile (
__asm__ (
"mov r15=%0\n"
"mov r32=%1\n" /* r32 is in0 */
"break 0x80000\n" /* modifies r8 */
72,7 → 72,7
{
__u64 ch;
__asm__ volatile (
__asm__ (
"mov r15=%1\n"
"break 0x80000;;\n" /* modifies r8 */
"mov %0=r8;;\n"
85,19 → 85,6
return (__s32) ch;
}
 
/**
This is blocking wrap function of ski_getchar
It active waits ... for using with non-stable kernel
*/
static char ski_getchar_blocking(chardev_t *d)
{
volatile int ch;
while(!(ch=ski_getchar()));
if(ch == '\r') ch = '\n';
return (char) ch;
}
 
 
/** Ask keyboard if a key was pressed. */
void poll_keyboard(void)
{
129,8 → 116,7
static chardev_operations_t ski_ops = {
.resume = ski_kb_enable,
.suspend = ski_kb_disable,
.write = ski_putchar,
.read = ski_getchar_blocking
.write = ski_putchar
};
 
 
141,7 → 127,7
*/
void ski_init_console(void)
{
__asm__ volatile (
__asm__ (
"mov r15=%0\n"
"break 0x80000\n"
:
/kernel/trunk/test/fault/fault1/test.c
File deleted
/kernel/trunk/kernel.config
88,6 → 88,5
@ "mm/falloc2" Frame Allocation test 2
@ "mm/slab1" SLAB test1 - No CPU-cache
@ "mm/slab2" SLAB test2 - SMP CPU cache
@ "fault/fault1" Write to NULL (maybe page fault)
@ [ARCH=mips32] "debug/mips1" Mips breakpoint-debug test
! CONFIG_TEST (choice)