Re-organized things a slight bit.
[reactos.git] / freeldr / freeldr / comm.h
similarity index 83%
rename from freeldr/freeldr/portio.h
rename to freeldr/freeldr/comm.h
index feee621..1849870 100644 (file)
@@ -1,6 +1,8 @@
 /*
  *  FreeLoader
  *  Copyright (C) 2001  Brian Palmer  <brianp@sginet.com>
+ *  Copyright (C) 2001  Eric Kohl
+ *  Copyright (C) 2001  Emanuele Aliberti
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#ifndef __PORTIO_H
-#define __PORTIO_H
+#ifndef __RS232_H
+#define __RS232_H
+
+BOOL Rs232PortInitialize(ULONG ComPort, ULONG BaudRate);
+BOOL Rs232PortGetByte(PUCHAR ByteRecieved);
+BOOL Rs232PortPollByte(PUCHAR ByteRecieved);
+VOID Rs232PortPutByte(UCHAR ByteToSend);
+
 
 
 /*
@@ -74,4 +82,4 @@ VOID
 WRITE_PORT_USHORT (PUSHORT Port, USHORT Value);
 
 
-#endif // defined __PORTIO_H
+#endif // defined __RS232_H