cynix

x86 UNIX-like OS
git clone git://git.2f30.org/cynix
Log | Files | Refs | README | LICENSE

serial.h (216B)


      1 #ifndef __SERIAL_H__
      2 #define __SERIAL_H__
      3 
      4 #define COM_PORT 0x3f8
      5 
      6 extern void serial_init(void);
      7 extern int serial_dump(const char *s, ...);
      8 extern int serial_avail(void);
      9 extern int serial_putchar(int c);
     10 
     11 #endif
     12