官方的文档我觉得是最终的产品形态,一个新品在开发移植过程中不太可能一步到位,尤其是非官方支持版本,所以多少还是要拆分下。准备整体构建环境1 准备代码理论上path不是问题,只要找到就好。这里就把要用的三方内核,比如我的是Linux-5.4就放到Linux目录下。tj@ubuntu:~/code/oh-3.2.2/kernel/linux$ ls
build config...阅读全文
先看技术架构:既然 OH 是多内核设计,那必然会有个抽象层(KAL)统一接口供上层使用,还多了个 HDF 驱动框架,官方的引入考虑:How to smoothly adapt device drivers to different kernels on the same hardware and minimize the workloads on driver code ...阅读全文
After reading the Android documentation on General Kernel Image (GKI), i have gained an understanding of what it means for OEMs.We know every OEM could modify the Linux kernel in earlier ...阅读全文
原文链接:https://mp.weixin.qq.com/s/PQb_PwgxzyeeFZyz3FsO6wEROFS pluster 模式的用处:It's used to judge whether inplace I/O can be used due to the current status of pclusters in the chain.有四种:INFLIG...阅读全文
问题如题,Linux workqueue 文档在描述 WQ_CPU_INSTENSIVE 时提到:This flag is meaningless for unbound wq.为什么这样说?本文尝试去解读这个标记。unbound wq 就是 WQ_UNBOUND:WQ_UNBOUND Work items queued to an unbound wq are ser...阅读全文