µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
startup.cpp File Reference
#include <cmsis-plus/rtos/os.h>
#include <cmsis-plus/diag/trace.h>
#include <cmsis_device.h>
#include <stdint.h>
#include <stdlib.h>
#include <sys/types.h>

Go to the source code of this file.

Macros

#define OS_BOOL_STARTUP_GUARD_CHECKS   (true)
 

Functions

void _start (void)
 The standard C application entry point.
 
int main (int argc, char *argv[])
 Default implementation of main().
 
static void os_initialize_bss (unsigned int *region_begin, unsigned int *region_end)
 
static void os_initialize_data (unsigned int *from, unsigned int *region_begin, unsigned int *region_end)
 
void os_run_fini_array (void)
 
static void os_run_init_array (void)
 
void os_startup_initialize_args (int *p_argc, char ***p_argv)
 Initialise arguments.
 

Variables

unsigned int __bss_end__
 
unsigned int __bss_start__
 
void(* __fini_array_end [])(void)
 
void(* __fini_array_start [])(void)
 
void(* __init_array_end [])(void)
 
void(* __init_array_start [])(void)
 
void(* __preinit_array_end [])(void)
 
void(* __preinit_array_start [])(void)
 
unsigned long int __stack
 
unsigned int _edata
 
unsigned int _Heap_Begin
 
unsigned long int _Heap_Limit
 
unsigned int _sdata
 
unsigned int _sidata
 

Macro Definition Documentation

◆ OS_BOOL_STARTUP_GUARD_CHECKS

#define OS_BOOL_STARTUP_GUARD_CHECKS   (true)

Definition at line 79 of file startup.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Default implementation of main().

Definition at line 119 of file os-main.cpp.

◆ os_initialize_bss()

void os_initialize_bss ( unsigned int *  region_begin,
unsigned int *  region_end 
)
inlinestatic

Definition at line 159 of file startup.cpp.

◆ os_initialize_data()

void os_initialize_data ( unsigned int *  from,
unsigned int *  region_begin,
unsigned int *  region_end 
)
inlinestatic

Definition at line 145 of file startup.cpp.

◆ os_run_fini_array()

void os_run_fini_array ( void  )

Definition at line 211 of file startup.cpp.

◆ os_run_init_array()

void os_run_init_array ( void  )
inlinestatic

Definition at line 187 of file startup.cpp.

Variable Documentation

◆ __bss_end__

unsigned int __bss_end__
extern

◆ __bss_start__

unsigned int __bss_start__
extern

◆ __fini_array_end

void(* __fini_array_end[])(void) ( void  )
extern

◆ __fini_array_start

void(* __fini_array_start[])(void) ( void  )
extern

◆ __init_array_end

void(* __init_array_end[])(void) ( void  )
extern

◆ __init_array_start

void(* __init_array_start[])(void) ( void  )
extern

◆ __preinit_array_end

void(* __preinit_array_end[])(void) ( void  )
extern

◆ __preinit_array_start

void(* __preinit_array_start[])(void) ( void  )
extern

◆ __stack

unsigned long int __stack
extern

◆ _edata

unsigned int _edata
extern

◆ _Heap_Begin

unsigned int _Heap_Begin
extern

◆ _Heap_Limit

unsigned long int _Heap_Limit
extern

◆ _sdata

unsigned int _sdata
extern

◆ _sidata

unsigned int _sidata
extern