From dfd81f5be91be21b8bf7c364bf027531b7ec9946 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 29 Dec 2009 12:42:31 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1478 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/Win32/console.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'os/hal/platforms/Win32/console.c') diff --git a/os/hal/platforms/Win32/console.c b/os/hal/platforms/Win32/console.c index e6e9a1be8..c7b71823a 100644 --- a/os/hal/platforms/Win32/console.c +++ b/os/hal/platforms/Win32/console.c @@ -28,11 +28,23 @@ #include "ch.h" #include "console.h" +/*===========================================================================*/ +/* Driver exported variables. */ +/*===========================================================================*/ + /** * @brief Console driver 1. */ BaseChannel CD1; +/*===========================================================================*/ +/* Driver local variables. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Driver local functions. */ +/*===========================================================================*/ + static bool_t putwouldblock(void *ip) { (void)ip; @@ -65,6 +77,14 @@ static const struct BaseChannelVMT vmt = { {putwouldblock, getwouldblock, put, get} }; +/*===========================================================================*/ +/* Driver interrupt handlers. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Driver exported functions. */ +/*===========================================================================*/ + void conInit(void) { CD1.vmt = &vmt; -- cgit v1.2.3