Subversion Repositories HelenOS-historic

Rev

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

Rev 1453 Rev 1465
Line 413... Line 413...
413
        printf("Rc: %d, Secs: %d, Usecs: %d\n", rc, tv.tv_sec,
413
        printf("Rc: %d, Secs: %d, Usecs: %d\n", rc, tv.tv_sec,
414
               tv.tv_usec);
414
               tv.tv_usec);
415
    }
415
    }
416
}
416
}
417
 
417
 
-
 
418
static void test_console(void)
-
 
419
{
-
 
420
    int c;
-
 
421
 
-
 
422
    while ((c = getchar()) != EOF)
-
 
423
        putchar(c);
-
 
424
}
-
 
425
 
-
 
426
 
418
int main(int argc, char *argv[])
427
int main(int argc, char *argv[])
419
{
428
{
420
    pstid_t ptid;
429
    pstid_t ptid;
421
    int tid;
430
    int tid;
422
   
431
   
423
//  version_print();
432
//  version_print();
424
 
433
 
-
 
434
    printf("Hello\nThis is Init\n");
-
 
435
   
425
//  test_printf();
436
//  test_printf();
426
//  test_printf2();
437
//  test_printf2();
427
//  test_ping();
438
//  test_ping();
428
//  test_async_ipc();
439
//  test_async_ipc();
429
//  test_advanced_ipc();
440
//  test_advanced_ipc();
Line 434... Line 445...
434
//  test_pci();
445
//  test_pci();
435
//  test_kbd();
446
//  test_kbd();
436
//  test_time();
447
//  test_time();
437
//  test_async_kbd();
448
//  test_async_kbd();
438
//  test_fb();
449
//  test_fb();
-
 
450
    test_console();
439
 
451
 
440
    printf("Hello\nThis is Init\n\nBye.");
452
    printf("\nBye.\n");
441
   
-
 
442
 
453
 
443
/* 
454
/* 
444
    printf("Userspace task, taskid=%llX\n", task_get_id());
455
    printf("Userspace task, taskid=%llX\n", task_get_id());
445
 
456
 
446
    futex_initialize(&ftx, 1);
457
    futex_initialize(&ftx, 1);