aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gdbstub/serial.h
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@gmail.com>2008-08-29 15:08:26 +0100
committerStefan Hajnoczi <stefanha@gmail.com>2008-08-29 15:08:26 +0100
commit77950e64a458e753900ff4ff6119bea15d1a4533 (patch)
tree3d00561537edc658061392b2e8400f21ececdd85 /com32/gdbstub/serial.h
parent968a89b1417d24e3247c96950b434de1971b0d4e (diff)
downloadsyslinux.git-77950e64a458e753900ff4ff6119bea15d1a4533.tar.gz
syslinux.git-77950e64a458e753900ff4ff6119bea15d1a4533.tar.xz
syslinux.git-77950e64a458e753900ff4ff6119bea15d1a4533.zip
Add GDB stub
Diffstat (limited to 'com32/gdbstub/serial.h')
-rw-r--r--com32/gdbstub/serial.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/com32/gdbstub/serial.h b/com32/gdbstub/serial.h
new file mode 100644
index 00000000..c78a5757
--- /dev/null
+++ b/com32/gdbstub/serial.h
@@ -0,0 +1,14 @@
+#ifndef _GPXE_SERIAL_H
+#define _GPXE_SERIAL_H
+
+/** @file
+ *
+ * Serial driver functions
+ *
+ */
+
+extern void serial_putc ( int ch );
+extern int serial_getc ( void );
+extern void serial_init ( void );
+
+#endif /* _GPXE_SERIAL_H */