Changeset 255


Ignore:
Timestamp:
Jul 20, 2017, 2:35:44 PM (7 years ago)
Author:
max@…
Message:

Don't route the IRQ for IMPL_TXT_RS2, it is multiplexed in software.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_init.c

    r254 r255  
    217217        dev->base = 0;
    218218        dev->type = (DEV_FUNC_TXT << 16) | IMPL_TXT_RS2;
    219         dev->channels = 1;
     219        dev->channels = 4;
    220220        dev->param0 = 0;
    221221        dev->param1 = 0;
  • trunk/kernel/devices/dev_txt.c

    r245 r255  
    5757    hal_drivers_txt_init(txt, impl);
    5858
    59     // no server thread and no IRQ routing for TXT0
    60     if( channel != 0 )
     59    // no server thread and no IRQ routing for TXT0 and IMPL_TXT_RS2 (multiplexed
     60    // in software, not hardware)
     61    if( channel != 0 && impl != IMPL_TXT_RS2 )
    6162    {
    6263        // select a core to execute the TXT server thread
Note: See TracChangeset for help on using the changeset viewer.