// // Cforall Version 1.0.0 Copyright (C) 2016 University of Waterloo // // The contents of this file are covered under the licence agreement in the // file "LICENCE" distributed with Cforall. // // startup.c -- // // Author : Peter A. Buhr // Created On : Tue Jul 24 16:21:57 2018 // Last Modified By : Peter A. Buhr // Last Modified On : Wed Jul 25 16:42:01 2018 // Update Count : 11 // #include "startup.h" #include extern "C" { static void __cfaabi_appready_startup( void ) __attribute__(( constructor( STARTUP_PRIORITY_APPREADY ) )); void __cfaabi_appready_startup( void ) { #ifdef __CFA_DEBUG__ extern void heapAppStart(); heapAppStart(); #endif // __CFA_DEBUG__ } // __cfaabi_appready_startup static void __cfaabi_appready_shutdown( void ) __attribute__(( destructor( STARTUP_PRIORITY_APPREADY ) )); void __cfaabi_appready_shutdown( void ) { #ifdef __CFA_DEBUG__ extern void heapAppStop(); heapAppStop(); #endif // __CFA_DEBUG__ } // __cfaabi_appready_shutdown void disable_interrupts() __attribute__(( weak )) {} void enable_interrupts_noPoll() __attribute__(( weak )) {} } // extern "C" // Local Variables: // // mode: c // // tab-width: 4 // // End: //