https://mp.weixin.qq.com/s/4LfZZDKCTQhiKIUjvbDKEg

 

简单介绍CLINT的实现。

 

Rocket - devices - CLINT

 

1. 概述

 

CLINT即是Core Local Interrupter的缩写,意指CPU本地中断。这里主要是software interrupt和timer interrupt:

Rocket - devices - CLINT

 

其中:

a. software interrupt为核间中断(interprocessor interrupt):

Rocket - devices - CLINT

b. timer interrupt需要mtime/mtimecmp寄存器支持:

Rocket - devices - CLINT

 

需要注意的是,这两个寄存器并不是CSR寄存器,而是memory-mapped registers:

Rocket - devices - CLINT

原因如下:

Rocket - devices - CLINT

-----------------------------------------------------------------------------
这是一篇付费文章,请移步付费阅读全文,谢谢!
文章链接:https://mp.weixin.qq.com/s/4LfZZDKCTQhiKIUjvbDKEg

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-07-11
  • 2022-01-18
  • 2021-10-06
  • 2021-08-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案