WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
patch_section.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2023-2023. All rights reserved.
3 * Description: patch section header.
4 *
5 * Create: 2023-04-13
6 */
7#ifndef __PATCH_SECTION_H__
8#define __PATCH_SECTION_H__
9
10#define PATCH_T_I __attribute__((section(".patch.text.on.itcm")))
11#define PATCH_R_I __attribute__((section(".patch.rodata.on.itcm")))
12#define PATCH_D_I __attribute__((section(".patch.data.on.itcm")))
13#define PATCH_B_I __attribute__((section(".patch.bss.on.itcm")))
14
15#define PATCH_T_S __attribute__((section(".patch.text.on.sram")))
16#define PATCH_R_S __attribute__((section(".patch.rodata.on.sram")))
17#define PATCH_D_S __attribute__((section(".patch.data.on.sram")))
18#define PATCH_B_S __attribute__((section(".patch.bss.on.sram")))
19
20#define PATCH_T_F __attribute__((section(".patch.text.on.flash")))
21#define PATCH_R_F __attribute__((section(".patch.rodata.on.flash")))
22#define PATCH_D_F __attribute__((section(".patch.data.on.flash")))
23#define PATCH_B_F __attribute__((section(".patch.bss.on.flash")))
24
25#endif