riscv |
您所在的位置:网站首页 › cliont › riscv |
This RISC-V ACLINT specification defines a set of memory mapped devices which provide inter-processor interrupts (IPI) and timer functionalities for each HART on a multi-HART RISC-V platform. These HART-level IPI and timer functionalities are required by operating systems, bootloaders and firmwares running on a multi-HART RISC-V platform. The SiFive Core-Local Interruptor (CLINT) device has been widely adopted in the RISC-V world to provide machine-level IPI and timer functionalities. Unfortunately, the SiFive CLINT has a unified register map for both IPI and timer functionalities and it does not provide supervisor-level IPI functionality. The RISC-V ACLINT specification takes a more modular approach by defining separate memory mapped devices for IPI and timer functionalities. This modularity allows RISC-V platforms to omit some of the RISC-V ACLINT devices for when the platform has an alternate mechanism. In addition to modularity, the RISC-V ACLINT specification also defines a dedicated memory mapped device for supervisor-level IPIs. The Table 1 below shows the list of devices defined by the RISC-V ACLINT specification. Table 1. ACLINT Devices Name Privilege Level FunctionalityMTIMER Machine Fixed-frequency counter and timer events MSWI Machine Inter-processor (or software) interrupts SSWI Supervisor Inter-processor (or software) interrupts 1.1. Backward Compatibility With SiFive CLINTThe RISC-V ACLINT specification is defined to be backward compatible with the SiFive CLINT specification. The register definitions and register offsets of the MTIMER and MSWI devices are compatible with the timer and IPI registers defined by the SiFive CLINT specification. A SiFive CLINT device on a RISC-V platform can be logically seen as one MSWI device and one MTIMER devices placed next to each other in the memory address space as shown in Table 2 below. Table 2. One SiFive CLINT device is equivalent to two ACLINT devices SiFive CLINT Offset Range ACLINT Device Functionality0x0000_0000 - 0x0000_3fff MSWI Machine-level inter-processor (or software) interrupts 0x0000_4000 - 0x0000_bfff MTIMER Machine-level fixed-frequency counter and timer events |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |