Ignore:
Timestamp:
Jan 24, 2010, 10:58:17 PM (10 years ago)
Author:
Sam Hocevar
Message:

Fix the source code to reduce testsuite errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/kernel/kernel.c

    r4160 r4300  
    11/*
    2  *  libcaca       
     2 *  libcaca
    33 *  libcaca       Colour ASCII-Art library
    44 *  Copyright (c) 2006 Sam Hocevar <sam@hocevar.net>
     
    3535    struct processor_info processor_info;
    3636    struct floppy_info    floppy_info;
    37    
     37
    3838    printf("_start at 0x%x\n", _start);
    3939    printf("kmain() at 0x%x\n", kmain);
    4040    printf("Types : char[%d] short[%d] int[%d] unsigned long long[%d]\n", sizeof(char), sizeof(short), sizeof(int), sizeof(unsigned long long));
    41    
     41
    4242    enable_interrupt(1);  // Enable Keyboard Interrupt (IRQ1)
    4343    enable_interrupt(0);  // Enable IRQ0 (timer)
    4444    enable_interrupt(13);
    4545    timer_phase(100);     // Fire IRQ0 each 1/100s
    46    
    47    
     46
     47
    4848    processor_get_info(&processor_info);
    4949    processor_print_info(&processor_info);
     
    5454    /* Caca is delicious */
    5555    printf("Filling memory with 0xCACA, starting from 0x%x\n", end);
    56    
     56
    5757    char *ptr = end;
    5858    while (1)
Note: See TracChangeset for help on using the changeset viewer.