Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    【D1-H】关于CLINT的地址映射问题

    MR Series
    3
    3
    1345
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mxlol233 LV 3 last edited by

      在D1-H_User Manual_V1.1手册上的memory mapping章节中,没有描述CLINT寄存器的地址映射,请问这个应该在哪里找呢?

      YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 @mxlol233 last edited by

        @mxlol233

        #define C910_PLIC_CLINT_OFFSET            0x04000000  /* 64M */
        plic_base_addr = csr_read(CSR_PLIC_BASE);
        clint_base_addr = plic_base_addr + C910_PLIC_CLINT_OFFSET;
        
        1 Reply Last reply Reply Quote Share 0
        • N
          ncerzzk LV 3 last edited by

          这个得去看c906的手册

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

          Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

          行为准则 | 用户协议 | 隐私权政策