Ignore:
Timestamp:
Jun 27, 2017, 2:38:47 PM (7 years ago)
Author:
max@…
Message:

Start hiding the architecture-specific drivers behind the
hal_drivers_xx interface.

File:
1 edited

Legend:

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

    r49 r77  
    2525#include <hal_special.h>
    2626#include <hal_remote.h>
    27 #include <soclib_tty.h>
     27#include <hal_drivers.h>
    2828#include <thread.h>
    2929#include <rpc.h>
     
    5757    if( impl == IMPL_TXT_TTY )
    5858    {
    59         chdev->cmd = &soclib_tty_cmd;
    60         chdev->isr = &soclib_tty_isr;
    61         soclib_tty_init( chdev );
     59        hal_drivers_txt_init( chdev );
    6260    }
    6361    else
Note: See TracChangeset for help on using the changeset viewer.