Code Monkey home page Code Monkey logo

Comments (4)

later-3 avatar later-3 commented on May 25, 2024

比如说 [QUARD_STAR_UART0] = { 0x10000000, 0x1000 }, 这里uart0 为啥是0x10000000的地址

from quard_star_tutorial.

QQxiaoming avatar QQxiaoming commented on May 25, 2024

非常抱歉,目前还没有比较完整归纳的文档,但这已经在我的计划中了。

就目前而言,也许可以通过阅读源码了解你想要的,整个系统的map可以在qemu-7.0.0/hw/riscv/quard_star.c:quard_star_memmap查看
具体的寄存器由于目前quard_star复用了大量qemu原本已有的ip模拟实现,因此你可以搜索对应的文档或直接阅读源码。quard_star.c目前已整理的比较容易阅读。

from quard_star_tutorial.

QQxiaoming avatar QQxiaoming commented on May 25, 2024

比如说 [QUARD_STAR_UART0] = { 0x10000000, 0x1000 }, 这里uart0 为啥是0x10000000的地址

对于这个地址的选择并没有什么特殊含义,在RISCV架构中似乎没有任何限制(但实际真实芯片架构系统总线实现可能会有限制),我只是把他放在这个地址了,你当然也可以改到其他地址。

from quard_star_tutorial.

later-3 avatar later-3 commented on May 25, 2024

好滴。感谢解答!

from quard_star_tutorial.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.