设备树中的address-cell和size-cells是什么?难道reg是与address-cell和size-cell?如果是,那么如何?
例如:
memory: memory@20000000 {
#address-cells = <1>;
#size-cells = <1>;
device_type = "memory";
reg = <0x20000000 0x80000000>;
};
Run Code Online (Sandbox Code Playgroud)
什么是 0x20000000 ?我们从哪里可以得到这个?
memory-management linux-device-driver linux-kernel dma iommu
什么是中断上下文?什么是进程上下文?中断上下文的优点是什么?
为什么需要下半部分?为什么不全部处理上半部分?
大多数设备需要连续的内存。例如 GPU、VPU。
CMA 和静态内存分配是连续内存的例子。
为什么需要连续内存?
linux memory-management linux-device-driver linux-kernel embedded-linux