首页> 外文会议>2018 Ivannikov Memorial Workshop >Peripheral Device Register Support for Source Code Boilerplate Generator of QEMU Development Toolkit
【24h】

Peripheral Device Register Support for Source Code Boilerplate Generator of QEMU Development Toolkit

机译:QEMU开发工具包的源代码样板生成器的外围设备寄存器支持

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

QEMU emulator is used together with different security tools to solve problems where maximum control over virtual machine is required. Absence of a proper VM with specific devices is a widespread issue. Also, development of a new virtual device (device model) is a error prone and time consuming process. The QEMU Development Toolkit (QDT) can be used to simplify the first stage of this process by generating boilerplate code for models. Currently QDT can generate the bulk of device model code. The paper discusses some extensions of QDT capabilities. A device register model was added. The register model allows to generate extra code for frequently met device register behavior patterns. The model is implemented as an extension to QDT device description API in Python. Evaluation showed that size of device register description is half of C-code boilerplate generated from it. The register description is gathered in one place, that's more convenient for developer whereas generated code is spread across the boilerplate.
机译:QEMU仿真器与不同的安全工具一起使用,以解决需要最大程度地控制虚拟机的问题。缺少具有特定设备的适当VM是一个普遍的问题。另外,开发新的虚拟设备(设备模型)是容易出错且耗时的过程。通过为模型生成样板代码,可以使用QEMU开发工具包(QDT)简化此过程的第一阶段。当前,QDT可以生成大量的设备模型代码。本文讨论了QDT功能的一些扩展。设备寄存器模型已添加。寄存器模型允许为经常遇到的设备寄存器行为模式生成额外的代码。该模型被实现为Python中QDT设备描述API的扩展。评估表明,设备寄存器描述的大小是由此产生的C代码样板的一半。寄存器描述集中在一个地方,对于开发人员来说更方便,而生成的代码分布在整个样板中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号