Changeset 7dd98b6 for libcfa/src
- Timestamp:
- Nov 3, 2021, 11:47:32 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- a1574e2
- Parents:
- 3eb540fb
- Location:
- libcfa/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/kernel/startup.cfa
r3eb540fb r7dd98b6 100 100 // Other Forward Declarations 101 101 extern void __wake_proc(processor *); 102 extern int cfa_main_returned; // from interpose.cfa 102 103 103 104 //----------------------------------------------------------------------------- … … 268 269 269 270 static void __kernel_shutdown(void) { 271 if(!cfa_main_returned) return; 270 272 /* paranoid */ verify( __preemption_enabled() ); 271 273 disable_interrupts(); -
libcfa/src/heap.cfa
r3eb540fb r7dd98b6 102 102 } // prtUnfreed 103 103 104 extern int cfa_main_returned; // from bootloader.cf104 extern int cfa_main_returned; // from interpose.cfa 105 105 extern "C" { 106 106 void heapAppStart() { // called by __cfaabi_appready_startup -
libcfa/src/interpose.cfa
r3eb540fb r7dd98b6 94 94 } __cabi_libc; 95 95 96 int cfa_main_returned; 97 96 98 extern "C" { 97 99 void __cfaabi_interpose_startup( void ) { 98 100 const char *version = 0p; 101 cfa_main_returned = 0; 99 102 100 103 preload_libgcc(); … … 313 316 314 317 void sigHandler_term( __CFA_SIGPARMS__ ) { 318 write( STDERR_FILENO, "Handler Term\n", sizeof("Handler Term\n") - 1 ); 315 319 abort( true, "Application interrupted by signal: %s.\n", strsignal( sig ) ); 316 320 }
Note: See TracChangeset
for help on using the changeset viewer.