HeMPS
8.0
|
This module defines function relative to task migration. More...
Go to the source code of this file.
Functions | |
int | handle_migration (volatile ServiceHeader *, unsigned int) |
void | migrate_dynamic_memory (TCB *) |
This module defines function relative to task migration.
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
int handle_migration | ( | volatile ServiceHeader * | p, |
unsigned int | master_address | ||
) |
Handles all task migration packets, calling the appropriated sub-function.
p | ServiceHeader pointer of the packet a generic task migration packet |
master_address | Address of the kernel master of the slave processor |
void migrate_dynamic_memory | ( | TCB * | tcb_aux | ) |
This function os the core of task migration. It is called by the source processor (the older processor) Its job is to migrate to the new processor the dynamic data section that can change during task execution.
tcb_aux | The TCB pointer of the task to be migrated |