Caoruihong
|
4aba2c06b5
|
chore: fix dailycheck issues
master --> HEAD
remove useless @since
Signed-off-by: Caoruihong <crh.cao@huawei.com>
Change-Id: Id3452cccdcc823c374f873cf4905015351580d15
|
2021-09-26 17:13:13 +08:00 |
Haryslee
|
5d53c84812
|
fix: 修复文档链接失效问题
close #I4529I
Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: Ia3c885789f11bcbfeafaabf1c835bee93bcc54c0
|
2021-08-12 14:59:13 +08:00 |
Haryslee
|
d75383400e
|
feat: 支持native动态加载组件
1.【需求描述】
动态库开发部分:
gcc的sample code。
提供生成暴露接口生成机制,并允许产品新增需要暴露的接口。
提供可以判断库允许资源大小的能力,并提供相关工具辅助开发者确定开发的库要求的资源是否可以满足。
动态库运行部分:
提供elf load的api,可以加载指定路径下的库,并完成符号重映射等运行准备。
提供elf 暴露符号调用的api,用于调用库的api。
elf加载&链接异常时,有明确错误记录,返回明确错误类型。
提供elf 卸载的api。
2.【方案描述】
(1) 通过灌段的形式记录需要导出符号的地址信息,用于暴露内核对外的接口,在加载链接器中通过查询
对应的符号信息获取符号地址。
(2) 加载链接时,解析共享库并将共享库中可加载段通过文件系统读入内存中,并对共享库中未定义的、
需要重定位的符号进行重定位。需要调用符号时,根据符号名通过哈希表即可查询共享库提供的对应符号
的地址。
BREAKING CHANGE:
新增4个对外接口,声明在los_dynlink.h文件中,分别为:
(1) LOS_DynlinkInit: 动态加载模块初始化。
(2) LOS_SoLoad: 加载指定路径的共享库。
(3) LOS_FindSym: 根据共享库句柄查找指定符号。
(4) LOS_SoUnload: 卸载共享库。
close #I418HJ
Signed-off-by: Haryslee <lihao189@huawei.com>
Change-Id: I7669b7ef20096294f9d1094c85ac6602fefad354
|
2021-08-10 20:26:40 +08:00 |
mucor
|
37ef8ca7ae
|
fix: remove changelog in README
close: #I3ZECY
Signed-off-by: mucor <mucorwang@gmail.com>
|
2021-07-06 20:37:15 +08:00 |
openharmony_ci
|
caba05985b
|
!147 fix: fix readme link issue
Merge pull request !147 from kenneth/readme_update
|
2021-06-02 17:10:22 +08:00 |
kenneth
|
9e332c69a5
|
fix: fix readme link issue
update links to docs
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3TX4Q
Signed-off-by: kenneth <459864689@qq.com>
|
2021-06-02 15:37:34 +08:00 |
rtos_shang
|
0752400a10
|
change according to review comments
|
2021-05-25 10:08:42 +08:00 |
rtos_shang
|
cf43988523
|
fix: update arch_spec.md
update arch_spec.md, add Chinese edition of arch_spec_zh.md and add link to readme files
close https://gitee.com/openharmony/kernel_liteos_m/issues/I3QQ93 https://gitee.com/openharmony/kernel_liteos_m/issues/I3J7RS
|
2021-05-21 11:33:24 +08:00 |
kenneth
|
259fb54b3c
|
fix: change to OpenHarmony LiteOS-M
|
2021-05-08 09:29:40 +08:00 |
kenneth
|
be57ece9ce
|
fix: update macro to config item
|
2021-05-07 20:44:58 +08:00 |
kenneth
|
656fd1e422
|
fix:update according to review comments
the latest OpenHarmony code is needed.
|
2021-05-07 20:43:54 +08:00 |
kenneth
|
a38365ed09
|
fix: change description according to review
|
2021-05-06 19:04:59 +08:00 |
kenneth
|
4dc0d313d1
|
fix: update according to review comments
|
2021-05-06 17:05:22 +08:00 |
kenneth
|
5c19fd4bec
|
fix: update doc usage
|
2021-05-06 10:23:53 +08:00 |
kenneth
|
954c2fcfb5
|
fix: update document description
|
2021-05-06 10:20:47 +08:00 |
kenneth
|
85b18bdfce
|
add: add introduction on project example
|
2021-05-06 10:11:04 +08:00 |
kenneth
|
d4c77b729b
|
add: add ninja、gn compilation
|
2021-05-06 09:55:59 +08:00 |
lihao
|
9b803b0cd9
|
update readme
Change-Id: Ia6f88a48a49891df882f1876fd178518362461c8
|
2021-03-22 16:29:18 +08:00 |
lihao
|
e4d8db9c22
|
Description:update ReadME.md
Team:OTHERS
Feature or Bugfix:Bugfix
Binary Source:NA
PrivateCode(Yes/No):Yes
Change-Id: Ida5ba9464d03d47068fb67cb5851b6dc0465ebca
ChangeID:13291529
|
2021-03-16 16:53:42 +08:00 |
mamingshuai
|
778c8b9930
|
update openharmony 1.0.1
|
2021-03-11 20:30:40 +08:00 |