/*
    IOHal.c, Copyright  (c) by George Fankhauser,
    Swiss Federal Institute of Technology,
    Computer Engineering and Networks Laboratory.
 
    TOPSY -- A Teachable Operating System.
             Implementation of a tiny and simple
             micro kernel for teaching purposes.
 
    For further information, please visit http://www.tik.ee.ethz.ch/~topsy
 
    This software is provided under the terms of the GNU General Public Licence.
 
    A full copy of the GNU GPL is provided in the file COPYING found in the 
    development root of Topsy.
*/
/*
 
        File:                  $Source: /home/ruf/cvs_Topsy/cvs/Topsy/IO/unix/IOHal.c,v $
        Author(s):             George Fankhauser
        Affiliation:           ETH Zuerich, TIK
        Version:               $Revision: 2922 $
        Creation Date:         
        Last Date of Change:   $Date: 2007-03-19 17:48:52 +0100 (Mon, 19 Mär 2007) $      by: $Author: baderma $
        
        $Log: IOHal.c,v $
        Revision 1.5  2001/01/25 23:10:53  cjeker
        a big step forward, but now I go to bed
 
        Revision 1.4  1999/12/14 11:07:55  ruf
        Corrected Header File
 
        Revision 1.2  1999/05/13 17:05:34  jeker
        Initial revision
*/

#include "Topsy.h"
#include "IOHal.h"
#include "IODevice.h"

#include "Unix.h"

/*
 * Very simple console output routine. accesses hardware directly, used at 
 * startup and on catastrophic events/debugging.
 *
 * A simple write is used for the unix port.
 */
void ioConsoleInit()
{}


void ioConsolePutChar(char c)
{
  write(STDOUT_FILENO, &c, 1);
}
