summaryrefslogtreecommitdiff
path: root/bsp/phytium/libraries/system_example/openamp/openamp_configs.h
blob: 9f972b64abaeb9c25c68fbfa092cc129a87f628e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef OPENAMP_CONFIGS_H
#define OPENAMP_CONFIGS_H

#include "fmmu.h"
#include "memory_layout.h"
#include "board.h"

#if defined __cplusplus
extern "C" {
#endif

/* 从核发送消息时,需要指定发送的cpu的核号,用来确定软件中断的发送到哪个核上 */

#define MASTER_CORE_MASK              255 /* 采用协商好的方式,给所有核心都发送中断,注意:裸机接口层PhytiumProcNotify()做了区分 */

#if defined __cplusplus
}
#endif

#endif /* OPENAMP_CONFIGS_H */