HeMPS
8.0
|
Header of kernel_master with important defines. More...
#include "../../../include/kernel_pkg.h"
Go to the source code of this file.
Macros | |
#define | TASK_DESCRIPTOR_SIZE 26 |
Size of the task descriptor into repository.txt file. | |
#define | noc_interruption (MemoryRead(IRQ_STATUS) & IRQ_NOC) |
Signals a incoming packet from NoC. | |
#define | app_req_reg (MemoryRead(REQ_APP) & 0x80000000) |
Signals a new application request from repository. | |
#define | external_app_reg (MemoryRead(REQ_APP) & 0x7fffffff) |
Used to creates the repository reading address. | |
#define | get_cluster_proc(x) ( (cluster_info[x].master_x << 8) | cluster_info[x].master_y) |
#define | net_address ( (cluster_info[clusterID].master_x << 8) | cluster_info[clusterID].master_y) |
Functions | |
void | handle_new_app (int, volatile unsigned int *, unsigned int) |
void | initialize_slaves () |
Header of kernel_master with important defines.
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
void handle_new_app | ( | int | app_ID, |
volatile unsigned int * | ref_address, | ||
unsigned int | app_descriptor_size | ||
) |
Handles a new application incoming from the global manager or by repository
app_ID | Application ID to be handled |
ref_address | Pointer to the application descriptor. It can point to a array (local manager) or the repository directly (global manager) |
app_descriptor_size | Size of the application descriptor |
void initialize_slaves | ( | ) |
Initializes all slave processor by sending a INITIALIZE_SLAVE packet to each one