execution.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *  $Id: hardware.h 150 2008-06-16 20:17:25Z merdmann $
00003  *
00004  *  Fri Dec  7 21:19:36 2007
00005  *  Copyright  2007  Michael Erdmann
00006  *  Email: michael.erdmann@snafu.de
00007  ****************************************************************************/
00008 /*
00009  *  This program is free software; you can redistribute it and/or modify
00010  *  it under the terms of the GNU General Public License as published by
00011  *  the Free Software Foundation; either version 2 of the License, or
00012  *  (at your option) any later version.
00013  *
00014  *  This program is distributed in the hope that it will be useful,
00015  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00016  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017  *  GNU General Public License for more details.
00018  *
00019  *  You should have received a copy of the GNU General Public License
00020  *  along with this program; if not, write to the Free Software
00021  *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00022  */
00023 
00029 #include "typedefs.h"
00030 #include "dev.h"
00031 
00032 
00033 #ifndef _EXECUTION_H_
00034 #define _EXECUTION_H_
00035 
00045 void StartOS(AppModeType mode);
00046 
00066 void ShutdownOS( StatusType error);
00067 
00074 AppModeType GetActiveApplicationMode ( void );
00075 
00076 /*
00077  * This method is generated by the system generator and contains the
00078  * application mode specific init code.
00079  */
00080 extern void     _oil_init_application_mode(AppModeType mode);
00081 
00088 extern void StartupHook(void);
00089 
00090 #endif
00091 /* _EXECUTION_H_ */

Generated on Mon Sep 29 19:56:47 2008 for mKernel by  doxygen 1.4.6