Changeset dd641e3 in mainline for fb/main.c


Ignore:
Timestamp:
2006-06-04T12:22:54Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
26f48570
Parents:
67ec84b
Message:

fb make changes neaded by ega driver and console switching by function keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fb/main.c

    r67ec84b rdd641e3  
    5757        int initialized = 0;
    5858
     59#ifdef ia32
    5960        if (sysinfo_value("fb.kind") == 1) {
    6061                if (fb_init() == 0)
     
    6465                        initialized = 1;
    6566        }
     67#endif
     68
     69#ifdef amd64
     70        if (sysinfo_value("fb.kind") == 1) {
     71                if (fb_init() == 0)
     72                        initialized = 1;
     73        } else if (sysinfo_value("fb.kind") == 2) {
     74                if (ega_init() == 0)
     75                        initialized = 1;
     76        }
     77#endif
     78
     79
    6680       
    6781        if (!initialized)
Note: See TracChangeset for help on using the changeset viewer.