![]() |
xilplmi
Vitis Drivers API Documentation
|
This file contains code related to scheduler.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 rm 06/02/2019 Initial release 1.01 kc 02/10/2020 Updated scheduler to add/remove tasks kc 02/17/2020 Added configurable priority for scheduler tasks bsv 04/04/2020 Code clean up 1.02 kc 07/28/2020 Wdt handler added for every scheduler tick td 08/19/2020 Fixed MISRA C violations Rule 10.3 bm 10/14/2020 Code clean up td 10/19/2020 MISRA C Fixes 1.03 skd 03/31/2021 Adding non periodic tasks even if a task with the same handler exists, to ensure no interrupt task handlers get missed bm 04/03/2021 Move task creation out of interrupt context bm 04/10/2021 Updated scheduler to support private data pointer and also delay in non-periodic tasks 1.04 td 07/08/2021 Fix doxygen warnings ma 07/12/2021 Added error handler for each scheduler task to handle cases when a scheduled task does not get executed in allotted time bsv 07/16/2021 Fix doxygen warnings bsv 08/02/2021 Removed unnecessary initializations to reduce code size bsv 08/15/2021 Removed unwanted goto statements 1.05 bsv 03/05/2022 Fixed exception while deleting two consecutive tasks of same priority bsv 04/03/2022 Updated logic in XPlmi_SchedulerAddTask to fix subsystem restart issue 1.06 skg 06/20/2022 Misra-C violation Rule 10.4 fixed sk 06/27/2022 Updated logic in XPlmi_SchedulerAddTask to fix task creation error 1.07 ng 11/11/2022 Updated doxygen comments ng 03/30/2023 Updated algorithm and return values in doxygen comments 1.08 nb 06/28/2023 Move XPLMI_SCHED_TICK to header dd 09/12/2023 MISRA-C violation Rule 13.4 fixed 2.00 ng 12/27/2023 Reduced log level for less frequent prints ng 01/28/2024 optimized u8 variables pre 03/02/2025 Added timeout handling for AES and SHA resources pre 05/10/2025 Added AES and SHA events queuing mechanism under XPLMI_IPI_DEVICE_ID macro
Functions | |
| void | XPlmi_SchedulerInit (void) |
| The function initializes scheduler and returns the initialization status. More... | |
| void | XPlmi_SchedulerHandler (void *Data) |
| The function is scheduler handler and it is called at regular intervals based on configured interval. More... | |
| int | XPlmi_SchedulerAddTask (u32 OwnerId, XPlmi_Callback_t CallbackFn, XPlmi_ErrorFunc_t ErrorFunc, u32 MilliSeconds, TaskPriority_t Priority, void *Data, u8 TaskType) |
| The function adds user periodic task to scheduler queue. More... | |
| int | XPlmi_SchedulerRemoveTask (u32 OwnerId, XPlmi_Callback_t CallbackFn, u32 MilliSeconds, const void *Data) |
| The function removes scheduler task from scheduler queue. More... | |