Changeset f4424cfb in rtems for bsps/sparc/include


Ignore:
Timestamp:
Aug 9, 2018, 7:20:33 AM (19 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
0e6f7dc4
Parents:
aac36d15
git-author:
Sebastian Huber <sebastian.huber@…> (08/09/18 07:20:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/10/18 05:14:43)
Message:

bsps/sparc: Move polled APBUART functions

This reduces the link-time dependencies and avoids copy-and-paste.

Location:
bsps/sparc/include/bsp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bsps/sparc/include/bsp/apbuart.h

    raac36d15 rf4424cfb  
    2121
    2222#include <ambapp.h>
     23#include <grlib.h>
    2324
    2425#ifdef __cplusplus
     
    5455#define APBUART_STATUS_RF 0x400
    5556
     57void apbuart_outbyte_polled(
     58  struct apbuart_regs *regs,
     59  unsigned char ch,
     60  int do_cr_on_newline,
     61  int wait_sent
     62);
     63
     64int apbuart_inbyte_nonblocking(struct apbuart_regs *regs);
     65
    5666#ifdef __cplusplus
    5767}
  • bsps/sparc/include/bsp/apbuart_termios.h

    raac36d15 rf4424cfb  
    3535const rtems_termios_device_handler apbuart_handler_polled;
    3636
    37 /*
    38  *  apbuart_outbyte_polled
    39  *
    40  *  This routine transmits a character using polling.
    41  */
    42 void apbuart_outbyte_polled(
    43   struct apbuart_regs *regs,
    44   unsigned char ch,
    45   int do_cr_on_newline,
    46   int wait_sent
    47 );
    48 
    49 /*
    50  *  apbuart_inbyte_nonblocking
    51  *
    52  *  This routine polls for a character.
    53  */
    54 int apbuart_inbyte_nonblocking(struct apbuart_regs *regs);
    55 
    5637#ifdef __cplusplus
    5738}
Note: See TracChangeset for help on using the changeset viewer.