Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/drivers/s3c24xx_uart/s3c24xx_uart.h

    r277cf60 rf1fc83a  
    3838#define KERN_S3C24XX_UART_H_
    3939
    40 #include <ddi/irq.h>
     40#include <typedefs.h>
    4141#include <console/chardev.h>
    42 #include <typedefs.h>
    4342
    44 /** S3C24xx UART I/O */
    45 typedef struct {
    46         uint32_t ulcon;
    47         uint32_t ucon;
    48         uint32_t ufcon;
    49         uint32_t umcon;
    50 
    51         uint32_t utrstat;
    52         uint32_t uerstat;
    53         uint32_t ufstat;
    54         uint32_t umstat;
    55 
    56         uint32_t utxh;
    57         uint32_t urxh;
    58 
    59         uint32_t ubrdiv;
    60 } s3c24xx_uart_io_t;
    61 
    62 /** S3C24xx UART instance */
    63 typedef struct {
    64         s3c24xx_uart_io_t *io;
    65         indev_t *indev;
    66         irq_t irq;
    67 } s3c24xx_uart_t;
    68 
    69 extern outdev_t *s3c24xx_uart_init(s3c24xx_uart_io_t *, inr_t inr);
    70 extern void s3c24xx_uart_input_wire(s3c24xx_uart_t *,
    71     indev_t *);
     43extern outdev_t *s3c24xx_uart_init(ioport8_t *);
    7244
    7345#endif
Note: See TracChangeset for help on using the changeset viewer.