CLINT

From FriendOS Wiki
Jump to navigation Jump to search

The CLINT(Core-Local Interruptor) is a device made for handling interrupts occurring within a core, such as software interrupts. The CLINT operates on individual cores, meaning there is 1 for each core.

SiFive U74 CLINT

Memory layout:

base + 0x0000: MSIP, used for generating machine level interrupts

base + 0x0004: Reserved

...

base + 0x3FFF: Reserved

base + 0x4000: MTIMECMP, not sure

base + 0x4008: Reserved

...

base + 0xBFF7: Reserved

base + 0xBFF8: mtime, Timer register

base + 0xC000: Reserved