/** * Native CPU interface * * Copyright (C) 2013 Ludwig Ortmann * * This file subject to the terms and conditions of the GNU General Public * License. See the file LICENSE in the top level directory for more details. * * @ingroup arch * @{ * @file * @author Ludwig Ortmann * @} */ #ifndef _CPU_H #define _CPU_H #include #include "kernel_intern.h" #include "sched.h" #include "debug.h" #include "cpu-conf.h" /* TODO: choose better value? */ #define F_CPU 1000000 void dINT(void); void eINT(void); int register_interrupt(int sig, void *handler); int unregister_interrupt(int sig); void thread_yield(void); #endif //_CPU_H