HeMPS
8.0
Main Page
Classes
Files
File List
File Members
software
kernel
master
kernel_master.h
Go to the documentation of this file.
1
14
#ifndef __KERNEL_MASTER_H__
15
#define __KERNEL_MASTER_H__
16
17
#include "../../../include/kernel_pkg.h"
18
19
#define TASK_DESCRIPTOR_SIZE 26
20
21
/* Useful macros */
22
#define noc_interruption (MemoryRead(IRQ_STATUS) & IRQ_NOC)
23
#define app_req_reg (MemoryRead(REQ_APP) & 0x80000000)
24
#define external_app_reg (MemoryRead(REQ_APP) & 0x7fffffff)
25
#define get_cluster_proc(x) ( (cluster_info[x].master_x << 8) | cluster_info[x].master_y)
26
#define net_address ( (cluster_info[clusterID].master_x << 8) | cluster_info[clusterID].master_y)
27
28
//These functions are externed only for remove warings into kernel_master.c code
29
void
handle_new_app
(
int
,
volatile
unsigned
int
*,
unsigned
int
);
30
void
initialize_slaves
();
31
32
#endif
handle_new_app
void handle_new_app(int, volatile unsigned int *, unsigned int)
Definition:
kernel_master.c:631
initialize_slaves
void initialize_slaves()
Definition:
kernel_master.c:551
Generated by
1.8.11