-
Notifications
You must be signed in to change notification settings - Fork 0
Loviisa Main
Konstantin Khait edited this page Jul 22, 2026
·
1 revision
If you use Loviisa OS, you should perform at least the following calls in your main() function:
LVS_INIT() at start
LVS_RUN() at the end. This call never exits executing the scheduler loop
Instead of using these call you may define main() function indirectly using:
LVS_MAIN_BEGIN()
// Initialization and tasks launching code
LVS_MAIN_END()If the indirect main() definition is used:
- main() function doesn't need to be defined directly wherever in the program
- LVS_INIT() and LVS_RUN() aren't required