• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Comsecuris/luaqemu: QEMU-based framework exposing several of QEMU-internal APIs ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Comsecuris/luaqemu

开源软件地址(OpenSource Url):

https://github.com/Comsecuris/luaqemu

开源编程语言(OpenSource Language):

C 91.1%

开源软件介绍(OpenSource Introduction):

LuaQEMU

LuaQEMU is a QEMU-based framework exposing several of QEMU-internal APIs to a LuaJIT core injected into QEMU itself. Among other things, this allows fast prototyping of target systems without any native code and minimal effort in Lua.

When initially evaluating the idea of LuaQEMU, we had the following specific functional requirements:

  • Mature multi-architecture support
  • Full-system emulation support, including drivers and peripherals, MMU, interrupts, and timers
  • Ease of long-term maintainability (i.e. little to no QEMU core modifications)
  • Easy target prototyping (e.g. definition of specific boards) without native code

The first two properties are almost provided by QEMU out of the box. We gain flexibility for target prototyping, by being able to completely write board definitions in Lua without native code. We have implemented this such that each hardware architecture comes with a newly introduced Lua-board, which can be used to interact and source from other native board definitions, while not requiring to modify QEMU core code. For the time being we focused on ARM support here, but this approach can be easily transferred to other architectures supported by QEMU.

At the moment there is no API documentation. Please have a look at the files in hw/arm/luaqemu.

Important Notice: At the moment this project is WIP and has to be considered unstable. If you run into issues feel free to let us know (patches welcome!), but don't be surprised about unexpected behaviour.

For more information have a look at our first blog post introducing LuaQEMU.

Building

Install regular QEMU dependencies + luajit, then:

git submodule update --init dtc
./configure  --enable-luajit --target-list=arm-softmmu
make



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
microsoft/VSLua: Visual Studio Tools for Lua发布时间:2022-08-16
下一篇:
Eroica-cpp/dota2scripts: Lua scripts for DotA2.发布时间:2022-08-16
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap