Changeset 252 for trunk/kernel


Ignore:
Timestamp:
Jul 20, 2017, 1:30:05 PM (7 years ago)
Author:
max@…
Message:

Hide IMPL_PIC_.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_pic.c

    r206 r252  
    4545    strcpy( pic->name , "pic" );
    4646
    47     // call the relevant driver init function,
    48     // and register commands in PIC device extension
    49     if( impl == IMPL_PIC_SCL )
    50     {
    51         // call the implementation-specific PIC driver
    52         hal_drivers_pic_init(pic);
    53     }
    54     else if( impl == IMPL_PIC_I86 )
    55     {
    56         assert( false , __FUNCTION__ , "missing implementation for X86\n" );
    57     }
    58     else
    59     {
    60         assert( false , __FUNCTION__ , "undefined PIC device implementation" );
    61     }
    62 } // end dev_pic_init()
     47    // call the implementation-specific PIC driver
     48    hal_drivers_pic_init(pic, impl);
     49}
    6350
    6451/////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.