|
FreeNOS
|
#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 |
| C int __aeabi_atexit | ( | ) |
Definition at line 68 of file Runtime.cpp.
| C void __aeabi_unwind_cpp_pr0 | ( | ) |
Definition at line 42 of file Runtime.cpp.
| C int __cxa_atexit | ( | void(*)(void *) | func, |
| void * | arg, | ||
| void * | dso_handle | ||
| ) |
Definition at line 62 of file Runtime.cpp.
Definition at line 46 of file Runtime.cpp.
Definition at line 54 of file Runtime.cpp.
| C void __stack_chk_fail | ( | void | ) |
Definition at line 77 of file Runtime.cpp.
| C int raise | ( | int | sig | ) |
Definition at line 81 of file Runtime.cpp.
| void runConstructors | ( | ) |
| void runDestructors | ( | ) |
| C void SECTION | ( | ".entry" | ) |
Definition at line 171 of file Runtime.cpp.
References ARGV_COUNT, ARGV_SIZE, clearBSS(), KillPID, main(), ProcessCtl(), MemoryMap::range(), runConstructors(), runDestructors(), SELF, setupHeap(), setupMappings(), setupRandomizer(), MemoryMap::UserArgs, and Memory::Range::virt.
| void setupHeap | ( | ) |
Definition at line 102 of file Runtime.cpp.
References Memory::Range::access, KillPID, MapContiguous, PAGESIZE, Memory::Range::phys, PrivExec(), ProcessCtl(), MemoryMap::range(), Memory::Readable, SELF, Allocator::setDefault(), Memory::Range::size, API::Success, Memory::User, MemoryMap::UserHeap, Memory::Range::virt, VMCtl(), Memory::Writable, WriteConsole, and ZERO.
Referenced by SECTION().
| void setupMappings | ( | ) |
Definition at line 131 of file Runtime.cpp.
References FileDescriptor::getArray(), GetParent, StrictSingleton< FileDescriptor >::instance(), PAGESIZE, ProcessCtl(), MemoryMap::range(), SELF, MemoryBlock::set(), FileDescriptor::setArray(), FileSystemClient::setCurrentDirectory(), Memory::Range::size, MemoryMap::UserArgs, and Memory::Range::virt.
Referenced by SECTION().
| void setupRandomizer | ( | ) |
Definition at line 159 of file Runtime.cpp.
References ProcessClient::getProcessID(), InfoTimer, ProcessCtl(), Randomizer::seed(), and SELF.
Referenced by SECTION().
| void* __dso_handle = 0 |
Definition at line 40 of file Runtime.cpp.
| void(* CTOR_LIST) () |
List of constructors.
Referenced by constructors(), and runConstructors().
| void(* DTOR_LIST) () |
List of destructors.
Referenced by destructors(), and runDestructors().
1.8.17