HeMPS
8.0
|
This module implements function relative a FIFO of the incomming packets (ServiceHeader FIFO) received by slave and that cannot be immediately handled. This modules is used only by the slave kernel. More...
Functions | |
unsigned char | add_pending_service (ServiceHeader *pending_service) |
ServiceHeader * | get_next_pending_service () |
Variables | |
ServiceHeader | pending_services_FIFO [PENDING_SERVICE_TAM] |
pending services array declaration | |
unsigned int | pending_service_first = 0 |
first valid array index | |
unsigned int | pending_service_last = 0 |
last valid array index | |
unsigned char | add_fifo = 0 |
Keeps the last operation: 1 - last operation was add. 0 - last operation was remove. | |
This module implements function relative a FIFO of the incomming packets (ServiceHeader FIFO) received by slave and that cannot be immediately handled. This modules is used only by the slave kernel.
HEMPS VERSION - 8.0 - support for RT applications
Distribution: June 2016
Created by: Marcelo Ruaro - contact: marce lo.r uaro@ acad .pucr s.br
Research group: GAPH-PUCRS - contact: ferna ndo. morae s@pu crs.b r
unsigned char add_pending_service | ( | ServiceHeader * | pending_service | ) |
Add a new pending service. A pending service is a incoming service that cannot be handled immediately by kernel
pending_service | Incoming ServiceHeader pointer |
ServiceHeader* get_next_pending_service | ( | ) |
Searches by the next pending service, remove then, and return