aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at/kd.h
diff options
context:
space:
mode:
authorJames Clarke <jrtc27@jrtc27.com>2015-08-29 11:15:29 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-08-30 02:12:55 +0200
commitcf99d571fb1cb77fbdf2cb84a0890835173b50af (patch)
tree0e76506a3f65f0acf37639409edc7fe935b4c659 /i386/i386at/kd.h
parent2c1cccc529737527ad9ef981952d2c14d3dd13ec (diff)
downloadgnumach-cf99d571fb1cb77fbdf2cb84a0890835173b50af.tar.gz
gnumach-cf99d571fb1cb77fbdf2cb84a0890835173b50af.tar.bz2
gnumach-cf99d571fb1cb77fbdf2cb84a0890835173b50af.zip
Fix printk not handling ANSI escape codes
* i386/i386at/kd.c (kdstart): Moved escape sequence handling to new kd_putc_esc function. (kd_putc_esc): New function with logic from kdstart. (kdcnputc): Call kd_putc_esc rather than kd_putc to allow for ANSI escape codes. * i386/i386at/kd.h (kd_putc_esc): New function.
Diffstat (limited to 'i386/i386at/kd.h')
-rw-r--r--i386/i386at/kd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h
index 0cfed695..60cee7e3 100644
--- a/i386/i386at/kd.h
+++ b/i386/i386at/kd.h
@@ -702,6 +702,7 @@ extern void kd_setleds1 (u_char);
extern void kd_setleds2 (void);
extern void cnsetleds (u_char);
extern void kdreboot (void);
+extern void kd_putc_esc (u_char);
extern void kd_putc (u_char);
extern void kd_parseesc (void);
extern void kd_down (void);