From 62791499ebf0a6161e1541eb7587c57d88407f8b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 8 Oct 2014 16:04:56 -0500 Subject: Add console-polled.h and update all BSPs that should use it. The file console-polled.h provides the prototypes for the three required methods when implementing a single port polled console driver. This paradigm is common on simulators and simple hardware. + Updated the BSPs Makefile.am to make console-polled.h available. + Regenerated the BSPs preinstall.sm. + Updated console support files to include . + Updated console support files to make printk() support method static. --- c/src/lib/libbsp/sh/shsim/console/console-io.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/sh/shsim/console') diff --git a/c/src/lib/libbsp/sh/shsim/console/console-io.c b/c/src/lib/libbsp/sh/shsim/console/console-io.c index b327192d5d..7f5794e784 100644 --- a/c/src/lib/libbsp/sh/shsim/console/console-io.c +++ b/c/src/lib/libbsp/sh/shsim/console/console-io.c @@ -1,9 +1,9 @@ /* * This file contains the hardware specific portions of the TTY driver * for the simulators stdin/out. - * - * Logic based on newlib-1.8.2/newlib/libc/sys/sh/syscalls.c - * + */ + +/* * COPYRIGHT (c) 1989-2011. * On-Line Applications Research Corporation (OAR). * @@ -13,6 +13,7 @@ */ #include +#include #include #include #include -- cgit v1.2.3