FreeNOS
Functions | Variables
Runtime.cpp File Reference
#include <FreeNOS/System.h>
#include <Types.h>
#include <Macros.h>
#include <Array.h>
#include <FileSystemClient.h>
#include <PoolAllocator.h>
#include <FileSystemMount.h>
#include <FileDescriptor.h>
#include <MemoryMap.h>
#include <Memory.h>
#include <Randomizer.h>
#include "ProcessClient.h"
#include "PageAllocator.h"
#include "KernelLog.h"
#include "Runtime.h"

Go to the source code of this file.

Functions

C void __aeabi_unwind_cpp_pr0 ()
 
C int __cxa_guard_acquire (u32 *guard)
 
C void __cxa_guard_release (u32 *guard)
 
C int __cxa_atexit (void(*func)(void *), void *arg, void *dso_handle)
 
C int __aeabi_atexit ()
 
C void __cxa_pure_virtual ()
 Unknown function, required by g++. More...
 
C void __stack_chk_fail (void)
 
C int raise (int sig)
 
void runConstructors ()
 
void runDestructors ()
 
void setupHeap ()
 
void setupMappings ()
 
void setupRandomizer ()
 
C void SECTION (".entry") _entry()
 

Variables

void(* CTOR_LIST )()
 List of constructors. More...
 
void(* DTOR_LIST )()
 List of destructors. More...
 
void * __dso_handle = 0
 

Function Documentation

◆ __aeabi_atexit()

C int __aeabi_atexit ( )

Definition at line 68 of file Runtime.cpp.

◆ __aeabi_unwind_cpp_pr0()

C void __aeabi_unwind_cpp_pr0 ( )

Definition at line 42 of file Runtime.cpp.

◆ __cxa_atexit()

C int __cxa_atexit ( void(*)(void *)  func,
void *  arg,
void *  dso_handle 
)
Todo:
Actually invoke the list of static destructors

Definition at line 62 of file Runtime.cpp.

◆ __cxa_guard_acquire()

C int __cxa_guard_acquire ( u32 guard)

Definition at line 46 of file Runtime.cpp.

◆ __cxa_guard_release()

C void __cxa_guard_release ( u32 guard)

Definition at line 54 of file Runtime.cpp.

◆ __stack_chk_fail()

C void __stack_chk_fail ( void  )

Definition at line 77 of file Runtime.cpp.

◆ raise()

C int raise ( int  sig)

Definition at line 81 of file Runtime.cpp.

◆ runConstructors()

void runConstructors ( )

Definition at line 86 of file Runtime.cpp.

References CTOR_LIST.

Referenced by SECTION().

◆ runDestructors()

void runDestructors ( )

Definition at line 94 of file Runtime.cpp.

References DTOR_LIST.

Referenced by SECTION().

◆ SECTION()

C void SECTION ( ".entry"  )

◆ setupHeap()

void setupHeap ( )

◆ setupMappings()

void setupMappings ( )

◆ setupRandomizer()

void setupRandomizer ( )

Definition at line 159 of file Runtime.cpp.

References ProcessClient::getProcessID(), InfoTimer, ProcessCtl(), Randomizer::seed(), and SELF.

Referenced by SECTION().

Variable Documentation

◆ __dso_handle

void* __dso_handle = 0

Definition at line 40 of file Runtime.cpp.

◆ CTOR_LIST

void(* CTOR_LIST) ()

List of constructors.

Referenced by constructors(), and runConstructors().

◆ DTOR_LIST

void(* DTOR_LIST) ()

List of destructors.

Referenced by destructors(), and runDestructors().