aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-06-29 16:43:39 +0100
committerMichael Brown <mcb30@ipxe.org>2015-06-29 16:44:16 +0100
commita0f60d26f5780196f75f4b14444dfa8d020a5e00 (patch)
tree1ca4b35752cb30e03faa03e9e3ad084dbba0e57e /src/include
parent8829634bd7188bdfa5528421a8bbecf39c498f40 (diff)
downloadipxe-a0f60d26f5780196f75f4b14444dfa8d020a5e00.tar.gz
[gdb] Allow gdbstub to be started on an arbitrary serial port
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/gdbserial.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/ipxe/gdbserial.h b/src/include/ipxe/gdbserial.h
index db9cb156..e1040c94 100644
--- a/src/include/ipxe/gdbserial.h
+++ b/src/include/ipxe/gdbserial.h
@@ -9,4 +9,12 @@
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
+#include <stdint.h>
+
+struct gdb_transport;
+
+extern struct gdb_transport * gdbserial_configure ( unsigned int port,
+ unsigned int baud,
+ uint8_t lcr );
+
#endif /* _IPXE_GDBSERIAL_H */