已固定的内存令牌
姓名
固定_memory_token - 表示设备 DMA 授权
摘要
固定的内存令牌 (PMT) 表示向设备授予的待处理访问权限授予,用于执行 DMA。
说明
如需获得 PMT,您可以使用 BTI 对象固定内存。只要 PMT 对象存在,与 BTI 关联的设备就可以访问由 PMT 表示的内存。当 PMT 对象被销毁时(无论是通过 zx_handle_close()
、zx_pmt_unpin()
还是进程终止),对所表示的内存的访问就会变为非法(这由硬件在能够做到这一点的系统(例如 IOMMU)上强制执行。
如果 PMT 对象通过 zx_pmt_unpin()
以外的方式销毁,底层内存会被隔离。如需了解详情,请参阅 bus_transaction_initiator。
另请参阅
系统调用
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-03-15。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]