diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 12:39:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-12-29 12:39:12 +0000 |
commit | 8f1f3036d2d71ae78f523e8ede33548c260034f3 (patch) | |
tree | af52a38c66b24a03737c1cdaefeb03a0dc0d33b6 /os/hal/platforms/Linux/console.c | |
parent | 58d50c17cd4d54b8323e80f2ee188963aa16010b (diff) | |
download | ChibiOS-8f1f3036d2d71ae78f523e8ede33548c260034f3.tar.gz ChibiOS-8f1f3036d2d71ae78f523e8ede33548c260034f3.tar.bz2 ChibiOS-8f1f3036d2d71ae78f523e8ede33548c260034f3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1477 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/Linux/console.c')
-rw-r--r-- | os/hal/platforms/Linux/console.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/os/hal/platforms/Linux/console.c b/os/hal/platforms/Linux/console.c index e6e9a1be8..c7b71823a 100644 --- a/os/hal/platforms/Linux/console.c +++ b/os/hal/platforms/Linux/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;
|