Implements PlatformInit in a Linux specific way.
PlatformInit Linux | Implements PlatformInit in a Linux specific way. |
Copyright | This program is free software. |
Files | |
C-kern/ | Header file PlatformInit. |
C-kern/ | Implementation file PlatformInit Linux. |
platform_t | |
static variables | |
s_platform_errtimer | Used to simulate an error in platform_t.init_platform. |
helper | |
callmain_platform | Calls the main threads main function. |
Functions | |
test |
This program is free software. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
© 2013 Jörg Seebohn
Header file PlatformInit.
Implementation file PlatformInit Linux.
static variables | |
s_platform_errtimer | Used to simulate an error in platform_t.init_platform. |
helper | |
callmain_platform | Calls the main threads main function. |
static test_errortimer_t s_platform_errtimer
Used to simulate an error in platform_t.init_platform.
Used to simulate an error in platform_t.init_platform.
static test_errortimer_t s_platform_errtimer
Initialize system context and calls main_thread.
int init_platform( mainthread_f main_thread, void * user )
Calls the main threads main function.
static void callmain_platform( void )