Ignore:
Timestamp:
2010-07-25T14:35:05Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
277cf60
Parents:
24697c3
Message:

Kernel input device for gta02 serial console. Move s3c24xx interrupt controller functionality into a separate C file.

File:
1 edited

Legend:

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

    r24697c3 rec08286  
    3838#define KERN_S3C24XX_UART_H_
    3939
     40#include <ddi/irq.h>
     41#include <console/chardev.h>
    4042#include <typedefs.h>
    41 #include <console/chardev.h>
    4243
    43 extern outdev_t *s3c24xx_uart_init(ioport8_t *);
     44typedef struct {
     45        ioport8_t *base;
     46        indev_t *indev;
     47        irq_t irq;
     48} s3c24xx_uart_instance_t;
     49
     50extern outdev_t *s3c24xx_uart_init(ioport8_t *, inr_t inr);
     51extern void s3c24xx_uart_input_wire(s3c24xx_uart_instance_t *,
     52    indev_t *);
    4453
    4554#endif
Note: See TracChangeset for help on using the changeset viewer.