当前位置:网站首页>设备树的树形结构到底是怎样体现的?
设备树的树形结构到底是怎样体现的?
2022-08-01 01:18:00 【正在起飞的蜗牛】
1、dts示例源码
/ {
model = "Hisilicon HI3516DV300 DEMO Board";
compatible = "hisilicon,hi3516dv300";
memory {
device_type = "memory";
reg = <0x82000000 0x20000000>;
};
chosen {
bootargs = "console=ttySAC2,115200n8 root=/dev/nfs nfsroot=192.168.0.101:/home/run/work/rootfs/";
};
cpus {
#address-cells = <1>;
#size-cells = <0>;
enable-method = "hisilicon,hi3516dv300";
[email protected]0 {
device_type = "cpu";
compatible = "arm,cortex-a7";
clock-frequency = <HI3516DV300_FIXED_1000M>;
reg = <0>;
};
[email protected]1 {
device_type = "cpu";
compatible = "arm,cortex-a7";
clock-frequency = <HI3516DV300_FIXED_1000M>;
reg = <1>;
};
};
};
2、转换成树形结构

(1)"/"是根节点,整个数据的组织方式和linux中的文件夹管理方式类型,都是树形结构体;
(2)上面只是从宏观上表示设备树的数据组织形式,更多细节参考博客:《linux内核启动阶段对设备树的解析》;
边栏推荐
- 两院院士直言:不要迷信院士
- Key Points Estimation and Point Instance
- Super like the keyboard made from zero, IT people love it
- 软考高级系统架构设计师系列之:信息系统基础知识
- leetcode: 1648. Color ball with decreasing sales value [Boundary find by two points]
- 七月集训(第31天) —— 状态压缩
- 500 miles
- RTL8762DK UART (two)
- You need to know the TCP wave four times
- The principle of virtual inheritance
猜你喜欢

STK8321 I2C(昇佳-加速度传感器)示例

MYSQL-Batch insert data

RTL8762DK RTC(五)

RTL8762DK 使用DebugAnalyzer(四)

In 2022, the latest eight Chongqing construction members (electrical construction workers) simulation question bank and answers

Likou Binary Tree

cmake入门学习笔记

Modern Enterprise Architecture Framework 1

现代企业架构框架1

WeChat applet page syntax
随机推荐
Luogu P3373: 线段树
Js replication
WAASAP WebClient UI页面标签的决定逻辑介绍
Introduction to machine learning how to?
MYSQL master-slave replication
Rainbow share | how to use moving targets defense technology to guard against the unknown
Google "Cloud Developer Quick Checklist"; Tsinghua 3D Human Body Dataset; SenseTime "Universal Vision Framework" open class; Web3 Minimalist Getting Started Guide; Free Books for Efficient Deep Learni
500 miles
Exam preparation plan
pycaret source code analysis: download dataset\Lib\site-packages\pycaret\datasets.py
蓝图:杨辉三角排列
Matlab/ArcGIS processing GPM global monthly precipitation data
Summary of MVCC
Four ways the Metaverse is changing the way humans work
MYSQL two-phase commit
VPGNet
Likou Binary Tree
LeetCode--The problem of robbery
RTL8762DK RTC (5)
MYSQL Keyword Explain Analysis