aboutsummaryrefslogtreecommitdiffstats
path: root/memdump/serial.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2010-02-05 18:03:14 -0800
committerH. Peter Anvin <hpa@zytor.com>2010-02-05 18:03:14 -0800
commit3dededd20d70d571268417dc41edc95f0fe6602e (patch)
treea3c64b598884588323d6f0c08c9034a30f3f9b95 /memdump/serial.c
parent88c00aca310b7bade07833d3021cae9da266eae7 (diff)
downloadsyslinux.git-3dededd20d70d571268417dc41edc95f0fe6602e.tar.gz
syslinux.git-3dededd20d70d571268417dc41edc95f0fe6602e.tar.xz
syslinux.git-3dededd20d70d571268417dc41edc95f0fe6602e.zip
memdump: allow outputting S-records
Allow outputting S-records, for users who only have the capability of passively monitoring a serial port as opposed to being able to capture the contents directly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'memdump/serial.c')
-rw-r--r--memdump/serial.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/memdump/serial.c b/memdump/serial.c
index c8330f71..1c613d17 100644
--- a/memdump/serial.c
+++ b/memdump/serial.c
@@ -1,5 +1,8 @@
+#include <stdbool.h>
+#include <stdio.h>
+
#include "mystuff.h"
-#include "ymsend.h"
+#include "file.h"
#include "io.h"
enum {