需要的环境
(1)Source Insight 4.0
(2) S5P6818 的嵌入式平台
(3)Ubuntu16.04 操作环境
(4)GEC6818的内核源码
阅读内核源码
- 打开Source Insight 4.0
- 工具栏Options-> File Type Options
3.在对应选项的File Filter下修改以下内容:
(1) x86 Asm source file ---->.asm;.inc;.s;.S
(2) c source file —>.c;.h;.s;.S
-
新建工程,选择文件保存路径,最后到“Add and Remove Project Files”
4
- 选中图中3个文件,Add Tree,关闭“Add and Remove Project Files”
- 这时就可以阅读kernel了
-
最后同步
(1)Project—>Synchronize Files
(2)
- 点击start
- 最后可以快速找到函数了。