Kernel - Added serial port 'driver' (wraps PTY)
[tpg/acess2.git] / KernelLand / Kernel / include / drv_serial.h
1 /*
2  * Acess2 Kernel
3  * - By John Hodge (thePowersGang)
4  *
5  * drv/serial.c
6  * - Common serial port code
7  */
8 #ifndef _DRV_SERIAL_H_
9 #define _DRV_SERIAL_H_
10
11 typedef void    (*tSerial_OutFcn)(void *Handle, char Ch);
12 typedef struct sSerialPort      tSerialPort;
13
14 extern tSerialPort      *gSerial_KernelDebugPort;
15
16 extern tSerialPort      *Serial_CreatePort( tSerial_OutFcn output, void *handle );
17 extern void     Serial_ByteReceived(tSerialPort *Port, char Ch);
18
19 #endif
20

UCC git Repository :: git.ucc.asn.au