diff options
author | Michael Brown | 2015-06-29 17:43:39 +0200 |
---|---|---|
committer | Michael Brown | 2015-06-29 17:44:16 +0200 |
commit | a0f60d26f5780196f75f4b14444dfa8d020a5e00 (patch) | |
tree | 1ca4b35752cb30e03faa03e9e3ad084dbba0e57e /src/include/ipxe/gdbserial.h | |
parent | [ipoib] Attempt to generate ARPs as needed to repopulate REMAC cache (diff) | |
download | ipxe-a0f60d26f5780196f75f4b14444dfa8d020a5e00.tar.gz ipxe-a0f60d26f5780196f75f4b14444dfa8d020a5e00.tar.xz ipxe-a0f60d26f5780196f75f4b14444dfa8d020a5e00.zip |
[gdb] Allow gdbstub to be started on an arbitrary serial port
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/gdbserial.h')
-rw-r--r-- | src/include/ipxe/gdbserial.h | 8 |
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 */ |