Ignore:
Timestamp:
Jan 4, 2020, 7:50:46 PM (3 months ago)
Author:
G S Niteesh <gsnb.gn@…>
Branches:
master
Children:
5e7b3c65
Parents:
eca25ef
git-author:
G S Niteesh <gsnb.gn@…> (01/04/20 19:50:46)
git-committer:
Christian Mauderer <christian.mauderer@…> (01/07/20 17:21:16)
Message:

bsp/raspberrypi: Updated the console API.

Replaces the legacy termios API with new termios API (#3034)
Replaces the custom PL011 serial driver with RTEMS arm-pl011.
Update #3034

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/raspberrypi/include/bsp/fbcons.h

    reca25ef r362cf319  
    2121
    2222#include <libchip/serial.h>
     23#include <rtems/termiostypes.h>
    2324
    2425#ifdef __cplusplus
     
    3435#define FB_CONSOLE 0x50492835
    3536
    36 bool fbcons_probe( int minor );
     37bool fbcons_probe(
     38  rtems_termios_device_context *base
     39 );
     40
     41void fbcons_write_polled(
     42  rtems_termios_device_context *base,
     43  char c
     44);
     45
     46void output_char_fb(char c);
     47
     48typedef struct {
     49    rtems_termios_device_context base;
     50} rpi_fb_context ;
    3751
    3852/*
    3953 * Driver function table
    4054 */
    41 extern const console_fns fbcons_fns;
     55extern const rtems_termios_device_handler fbcons_fns;
    4256
    4357#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.