Mechanism for boot loading the system.
More...
oC_Boot_Level_t oC_Boot_GetCurrentBootLevel |
( |
void |
| ) |
|
Returns current level of system boot
Definition at line 131 of file oc_boot.c.
oC_Boot_Reason_t oC_Boot_GetLastShutdownReason |
( |
void |
| ) |
|
The function returns reason of last shutting down the system
- Returns
- reason of last shutdown operation
oC_User_t oC_Boot_GetLastShutdownUser |
( |
void |
| ) |
|
The function is for reading the user, that cause shutdown operation for last time.
- Returns
- user that caused shutdown operation
void oC_Boot_Main |
( |
void |
| ) |
|
The function is the main function of the system. It is called after the system starts.
Definition at line 111 of file oc_boot.c.
void oC_Boot_Restart |
( |
oC_Boot_Reason_t |
Reason, |
|
|
oC_User_t |
User |
|
) |
| |
The function is for restarting the system
- Parameters
-
Reason | The parameter is for saving the reason why the system was restarted |
User | This holds user, that calls restarting the system |
Definition at line 145 of file oc_boot.c.
void oC_Boot_Shutdown |
( |
oC_Boot_Reason_t |
Reason, |
|
|
oC_User_t |
User |
|
) |
| |
The function is for shutting down the system.
- Parameters
-
Reason | The parameter is for saving the reason why the system was turned off |
User | This holds user, that calls the function |