From 9cf365c988f71229f6132c60287b272ddfd2f294 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 9 Jul 2016 03:13:18 -0400 Subject: debug: ptyc_dbg_cat(): implementation and integration. --- src/console/ptyc_console_alloc.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/console') diff --git a/src/console/ptyc_console_alloc.c b/src/console/ptyc_console_alloc.c index 16d1f80..16fb139 100644 --- a/src/console/ptyc_console_alloc.c +++ b/src/console/ptyc_console_alloc.c @@ -19,10 +19,12 @@ int ptyc_console_reader(void *); int ptyc_console_writer(void *);; int ptyc_console_poller(void *); +int ptyc_dbg_cat(struct ptyc_driver_ctx *); int ptyc_dbg_event(void *); int ptyc_dbg_oven(void *); int ptyc_dbg_raw(void *); + struct ptyc_loop_thread_ctx { nt_thread_start_routine * entry; struct ptyc_driver_ctx_impl * ictx; @@ -192,6 +194,9 @@ int ptyc_alloc_console(struct ptyc_driver_ctx * dctx) ictx,ptyc_dbg_raw))) return ptyc_set_status(dctx,status); + if ((status = ptyc_dbg_cat(dctx))) + return ptyc_set_status(dctx,status); + return ptyc_set_status(dctx,NT_STATUS_SUCCESS); } -- cgit v1.2.3