Changeset ec944b1 in mainline


Ignore:
Timestamp:
2009-03-08T13:37:07Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
31fb9a0
Parents:
4d29d01
Message:

optional EGA support

Location:
kernel/arch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/amd64.c

    r4d29d01 rec944b1  
    151151                /* hard clock */
    152152                i8254_init();
    153                                
     153               
    154154#ifdef CONFIG_FB
    155155                if (vesa_present())
     
    157157                else
    158158#endif
    159                         ega_init(EGA_BASE, EGA_VIDEORAM);       /* video */
     159#ifdef CONFIG_EGA
     160                        ega_init(EGA_BASE, EGA_VIDEORAM);  /* video */
     161#else
     162                        {}
     163#endif
    160164               
    161165                /* Enable debugger */
  • kernel/arch/ia32/src/ia32.c

    r4d29d01 rec944b1  
    112112                /* hard clock */
    113113                i8254_init();
    114 
     114               
    115115#ifdef CONFIG_FB
    116116                if (vesa_present())
     
    118118                else
    119119#endif
    120                         ega_init(EGA_BASE, EGA_VIDEORAM);       /* video */
     120#ifdef CONFIG_EGA
     121                        ega_init(EGA_BASE, EGA_VIDEORAM);  /* video */
     122#else
     123                        {}
     124#endif
    121125               
    122126                /* Enable debugger */
Note: See TracChangeset for help on using the changeset viewer.