#include <stddef.h>
#include <stdbool.h>
Go to the source code of this file.
Macros | |
Compatibility Macros | |
#define | os_initialize_args os_startup_initialize_args |
#define | os_initialize_hardware os_startup_initialize_hardware |
#define | os_initialize_hardware_early os_startup_initialize_hardware_early |
Functions | |
Startup Routines | |
void | _start (void) |
The standard C application entry point. | |
void | os_startup_create_thread_idle (void) |
Create the idle thread. | |
void | os_startup_initialize_args (int *p_argc, char ***p_argv) |
Initialise arguments. | |
void | os_startup_initialize_free_store (void *heap_address, size_t heap_size_bytes) |
Initialise free store. | |
void | os_startup_initialize_hardware (void) |
Initialise hardware. | |
void | os_startup_initialize_hardware_early (void) |
Initialise hardware early. | |
Termination Routines | |
void | os_terminate (int code) |
Terminate the application. There is no more life after this. | |
void | os_terminate_goodbye (void) |
Display statistics and say goodbye before terminating. | |
Hooks | |
void | os_rtos_application_out_of_memory_hook (void) |
Hook to handle out of memory in the application free store. | |
bool | os_rtos_idle_enter_power_saving_mode_hook (void) |
Hook to enter a power saving mode. | |
void | os_rtos_system_out_of_memory_hook (void) |
Hook to handle out of memory in the RTOS dynamic memory. | |