当前位置:网站首页>Hal - General
Hal - General
2022-07-03 11:09:00 【MrPeng1991】
what
android Hardware abstraction layer , Simply put, yes Linux Encapsulation of kernel driver , Interface up , Shield the details of the bottom layer . Hardware divides the support for hardware into two layers , On the first floor userspace, On the first floor kernel space, The hardware abstraction layer is in the user space , The kernel driver runs in kernel space .
why
The hardware abstraction layer and the kernel driver are integrated into the kernel space , From the perspective of technology implementation , Tolerable , From a business perspective ,Linux The kernel source code follows GNU License,Android Source code follows Apache License, When the former releases products , The source code must be published , The latter does not require the release of source code , If you put all the code supported by the hardware in Linux Driver layer , It means exposing the driver source code , It means that the relevant parameters and implementation of the hardware are disclosed , Harm the interests of businesses .
how
The learning process , Learn how to write hardware drivers in kernel space , How to add interfaces in the hardware driver layer to support access to hardware , How to provide hardware access services when the system starts , How to write jni Make it possible to pass through java Interface to access hardware and so on .
边栏推荐
- 线性表的双链表
- 那些一門心思研究自動化測試的人,後來怎樣了?
- 软件测试(测试用例)编写之俗手、本手、妙手
- Test what the leader should do
- redis那些事儿
- Crawl with requests
- snownlp情感分析
- 封装一个koa分布式锁中间件来解决幂等或重复请求的问题
- Stack, monotone stack, queue, monotone queue
- The five-year itch of software testing engineers tells the experience of breaking through bottlenecks for two years
猜你喜欢
How did I grow up in the past eight years as a test engineer of meituan? I hope technicians can gain something after reading it
What kind of living condition is a tester with a monthly salary of more than 10000?
Google Earth Engine(GEE)——GHSL 全球人口网格数据集250米分辨率
Stack, monotone stack, queue, monotone queue
. Net core - a queuing system for wechat official account
QT: QSS custom qtreeview instance
现在零基础转行软件测试还OK吗?
那些一门心思研究自动化测试的人,后来怎样了?
12. Nacos server service registration of source code analysis of Nacos service registration
可以写进简历的软件测试电商项目,不进来get一下?
随机推荐
What kind of living condition is a tester with a monthly salary of more than 10000?
Solution: jupyter notebook does not pop up the default browser
我,大厂测试员,降薪50%去国企,后悔了...
I, a tester from a large factory, went to a state-owned enterprise with a 50% pay cut. I regret it
使用ML.NET+ONNX预训练模型整活B站经典《华强买瓜》
Is it OK to test the zero basis software?
15 software testing Trends Worthy of attention
Software testing e-commerce projects that can be written into your resume, don't you come in and get it?
我对测试工作的一些认识(资深测试人员总结)
In the middle of the year, I have prepared a small number of automated interview questions. Welcome to the self-test
历经一个月,终于拿到金蝶Offer!分享一下四面面经+复习资料
ORACLE 11G 单机冷备数据库
Multiple IO transfer - preamble
Matlab memory variable management command
Is pinduogai's sales safe in 2022?
【Proteus仿真】74HC154 四线转12线译码器组成的16路流水灯
Logstash backup tracks the data records reported
Qt:qss custom qmenubar instance
The element form shows the relationship between elementary transformation and elementary matrix
封装一个koa分布式锁中间件来解决幂等或重复请求的问题